Skip to content
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

In a virtual workspace find all references ends up with duplicates #5809

Open
rchiodo opened this issue Apr 26, 2024 · 0 comments
Open

In a virtual workspace find all references ends up with duplicates #5809

rchiodo opened this issue Apr 26, 2024 · 0 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Apr 26, 2024

Make sure you have a fork of pylance-release in github (not cloned locally)

  1. Create a virtual environment
  2. Start VS code from a command prompt where this virtual environment is active
  3. Make sure enableSyncServer is set
  4. Run Open Remote Repository
  5. Pick Open repository from Github
  6. Type in your alias/pylance-release
  7. Open the repository
    • This will just open the root of pylance
  8. To get it to behave like a workspace, then do an Open Folder from the file menu and pick your alias/pylance-release/testing/single
  9. Open the findAllReferences.py file and do a find all references on Path

Expected result:

Same as without virtual workspaces

Actual result:

findallreferences.py seems to be in the output twice:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

2 participants