OmniSharp / omnisharp-roslyn

OmniSharp server (HTTP, STDIO) based on Roslyn workspaces
MIT License
1.78k stars 419 forks source link

VSCode Intellisense for CSX not showing doc for types other than CSX references #685

Open ZurielCorrea opened 7 years ago

ZurielCorrea commented 7 years ago

Create a CSX file in VSCode.

Scenario 1: (fixed for .NET Core, not fixed for Desktop .NET)

Scenario 2: (fixed)

Scenario 3: (not an issue)

filipw commented 7 years ago

@Zuriel-C thanks, I created https://github.com/OmniSharp/omnisharp-roslyn/pull/686 to (mostly) fix it

Add a #r ".dll" to the CSX file, (may require restarting omnisharp or even restarting vscode to make intellisense recognize the new reference)

Correct, these references are not processed in real time yet. ctrl+shift+p/cmd+shift+p and then restart omnisharp will be enough to get it picked up. The plan is to have it react in real time in the future though.

filipw commented 7 years ago

Scenario 2 has been fixed. Scenario 1 has been fixed for .NET Core but not for desktop CLR where references to mscorlib and System.Core are implicit.

filipw commented 7 years ago

Correct, these references are not processed in real time yet. ctrl+shift+p/cmd+shift+p and then restart omnisharp will be enough to get it picked up. The plan is to have it react in real time in the future though.

This is now part of OmniSharp.