Skip to content

References doesn't work for 2nd project within one workspace #2112

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

Closed
PrzemyslawKlys opened this issue Jul 31, 2019 · 4 comments · Fixed by PowerShell/PowerShellEditorServices#1995
Assignees

Comments

@PrzemyslawKlys
Copy link
Contributor

Issue Description

When you have one folder within one workspace it's fine. But if you choose to add another folder to workspace (like in the screenshot below) 2nd folder doesn't seem to get any References tracking.

image

Normally this should show at least 1 reference.

image

It seems that only the first project tracks references. Not sure if any other features are affected.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.18362
VSCode 1.36.1
PowerShell Extension Version 2019.5.0

PowerShell Information

Name Value
PSVersion 5.1.18362.145
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.18362.145
BuildVersion 10.0.18362.145
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
auto-rename-tag formulahendry 0.1.0
beautify HookyQR 1.5.0
bracket-pair-colorizer-2 CoenraadS 0.0.28
code-settings-sync Shan 3.4.1
githistory donjayamanne 0.4.6
gitlens eamodio 9.9.1
html-css-class-completion Zignd 1.19.0
live-html-previewer hdg 0.3.0
markdown-all-in-one yzhang 2.4.2
markdown-preview-enhanced shd101wyy 0.4.3
markdown-shortcuts mdickin 0.11.0
material-icon-theme PKief 3.8.1
powershell ms-vscode 2019.5.0
project-manager alefragnani 10.6.0
theme-monokai-pro-vscode monokai 1.1.13
vscode-html-css ecmel 0.2.0
vscode-markdownlint DavidAnson 0.29.0
vscode-peacock johnpapa 2.5.2
vscode-pull-request-github GitHub 0.9.1
vscode-wakatime WakaTime 2.2.0
vscode-yaml redhat 0.4.1
wordcount ms-vscode 0.1.0
xml DotJoshJohnson 2.5.0
@ghost ghost added the Needs: Triage Maintainer attention needed! label Jul 31, 2019
@rjmholt rjmholt added Area-Symbols & References Area-Workspaces Issue-Enhancement A feature request (enhancement). and removed Needs: Triage Maintainer attention needed! labels Jul 31, 2019
@rjmholt
Copy link
Contributor

rjmholt commented Jul 31, 2019

This wasn't implemented when VSCode added multiple workspace support. No plans to implement it imminently, but we'll get there soon hopefully. Thanks for raising this.

@andyleejordan
Copy link
Member

Ugh I betcha this isn't actually fixed. But @PrzemyslawKlys could you check and verify the latest behavior in preview?

@andyleejordan andyleejordan self-assigned this Feb 7, 2023
@PrzemyslawKlys
Copy link
Contributor Author

PrzemyslawKlys commented Feb 8, 2023

@andschwa It doesn't work :-) Go to definition, references works only for 1st workspace.

@andyleejordan
Copy link
Member

Thought so. The client is aware of multi-root workspaces, but the server still has some notion of a single workspace root. Grr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment