Skip to content

VSCode extension and IntelliSense #3929

Answered by nils-a
lonix1 asked this question in Q&A
Aug 7, 2022 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

Due to some constraints, OmniSharp (the basis for the VSCode C# extension, which also includes support for Cake) currently does not ship the support for Cake in the net6 versions.

So you have two options here:

  • set "omnisharp.useModernNet": false in the vscode settings. This will not use the net6 version of OmniSharp and fall back the mono/.NET Framework versions.

  • set "omnisharp.path": "latest" in the vscode settings. This will always use the latest beta version of OmniSharp (at the time of writing, this is 1.39.2-beta.4). OmniSharp does (will?) ship support for Cake in the net6 versions starting with 1.39.1 (which is currently available for download, but not used in the c# extension f…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@bjorkstromm
Comment options

@lonix1
Comment options

Answer selected by lonix1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants