-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intellisense does not work with multiple directories in the workspace. #4214
Comments
What does your omnisharp log show? (Output tab, select Omnisharp Log from the drop-down). I've seen similar behavior when one of the projects has trouble loading, and omnisharp appears to get 'stuck'. |
Judging by the log, he sees only one folder with the project for some reason. Below I post the omnisharp log: OmniSharp server started. Starting OmniSharp on Windows 6.2.9200.0 (x64) Adding project 'f:\Repository\Raspberry\TestProject\Service.Device.Control\Service.Device.Control.csproj' |
Likely related to OmniSharp/omnisharp-roslyn#909 |
I looked at your other similar questions. This seems to be an old problem. The only thing I found in searching for a solution to the problem on various question branches is that there is a project switcher in the status bar. It works, of course. But this is a partial measure of the solution. If I jump between different projects, I will have to switch the active project for omnisharp every time and wait for the analysis to complete. I lose more time this way. Therefore, I have to work without using the configuration file.code-workspace. |
Closing as support for this is being tracked by OmniSharp/omnisharp-roslyn#909 |
There is a shared directory with three directories and one work.code-workspace file. Dotnet projects are created in each folder. Two of them are libraries. And one main one that connects to two library projects. And I noticed that Intellisense only works in one of them. And only the last one in the list works. If you don't use work.code-workspace, Intellisense works in all three directories. And this is inconvenient. Because work.code-workspace is used to perform some parameters.
"folders": [ { "path": "Service.TCP" // intellisense not working (main) }, { "path": "Service.IO.UART" // intellisense not working }, { "path": "Service.Device.Control" // intellisense working } ],
The text was updated successfully, but these errors were encountered: