Multi Root Workspace Support
See original GitHub issueEnvironment data
dotnet --info
output:
.NET Command Line Tools (2.0.2)
Product Information:
Version: 2.0.2
Commit SHA-1 hash: a04b4bf512
Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.0.2\
Microsoft .NET Core Shared Framework Host
Version : 2.0.0
Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
VS Code version: 1.18.1 C# Extension version: 1.13.1
Steps to reproduce
In open project, right-click open folder. Click add folder to workspace, then select a different C# project.
Expected behavior
Both folders will show intellisense, reference counters, have working goto definition, etc.
Actual behavior
The extension only seems to work with the first folder/project in the workspace. All other folders/projects have no reference counter, cannot detect code errors, and when clicking goto definition, it prompts that no definition was found.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:28
- Comments:37 (8 by maintainers)
Top Results From Across the Web
Multi-root Workspaces in Visual Studio Code
With multi-root workspaces, there is a SOURCE CONTROL PROVIDERS section that gives you an overview when you have multiple active repositories. These can...
Read more >Adopting Multi Root Workspace APIs · microsoft/vscode Wiki
A multi-root workspace is a new way how to work with Visual Studio Code. At its core, it allows opening multiple folders in...
Read more >VSCode Multi-root Workspaces - Kevin Boosten
A Visual Studio Code “workspace” is the collection of one or more folders that are opened in a VS Code window (instance).
Read more >Visual Studio Code tips for monorepo development with Multi ...
A multi-root workspace is a feature in Visual Studio Code where you can have multiple root folders in one explorer view.
Read more >Work with multiple AL project folders within one workspace
Visual Studio Code offers the multi-root workspace feature, which enables grouping different project folders into one workspace.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @AlexLeung, you can click the project selector at the bottom-right of the status bar in VS Code to pick a different project to launch OmniSharp on.
The project picker already has Multi-Root Workspace support.
We’re using https://github.com/OmniSharp/omnisharp-roslyn/issues/909 to track future improvements to allow OmniSharp itself to discover projects in more than one root folder.
PLEASE prioritize fixing this.