Closed ZmorzynskiK closed 1 year ago
Sorry, it took so long to get me to look at this. I was busy clearing the backlog for my other projects and extensions.
Yes, it is a problem as cs-script does manage nuget packages but simply "asks" dotnet to do that. Thus syntaxer, which relies on cs-script is not aware of any packages being omported.
I will have a look at Notepad++ extension where this problem is solved
Interesting enough VSCode itself picks autocompletion well for the packages it can find:
My mistake. It looks like the latest extension update has patched the syntaxer so it picks nuget packages exactly as in Notepad++.
Meaning that the screenshot of VSCode above is in fact the extension autocompletion working (not the default VSCode syntax provider).
Now I understand why this issue is closed :)
It looks like intellisense in VS Code does not work for packages imported using
//css_nuget
directive. For example with//css_nuget Newtonsoft.Json;
, the intellisense does not work for types from this nuget. I see it's referenced in the "CS-Script - Active" pane and the general C# intellisense from Omnisharp works OK.Or maybe I have some configuration issues?
VS Code version:
CS-Script version: