-
Hello experts, I'm trying to implement auto-completion with The code used for completion is here: or Thanks very much |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You're not populating the MEF cache at all: https://github.com/WeihanLi/dotnet-exec/blob/c148f7c0bad9b36efd3b49ff04a4cd31652d7949/src/dotnet-exec/Services/Repl.cs#L140. Both the examples you linked right above used a different manner of creating the MEF catalog. |
Beta Was this translation helpful? Give feedback.
It turned out that the dependencies were not correct,
Microsoft.CodeAnalysis.Features
was used in the project while in the sample it usedMicrosoft.CodeAnalysis.CSharp.Features
,it works when update the
Microsoft.CodeAnalysis.Features
reference toMicrosoft.CodeAnalysis.CSharp.Features