Skip to content

[MS Language Server] Go to definition cannot traverse workspaces #5944

Closed
@amittleider

Description

@amittleider

Currently the MS Language Server won't allow jumping to a class (using Go to Definition) if it's found in a different VSCode workspace.

Environment data

  • VS Code version: 1.35.0
  • Extension version (available under the Extensions sidebar): 2019.5.18875
  • OS and version: Ubuntu 18.04
  • Python version (& distribution if applicable, e.g. Anaconda): 3.6.7 64 bit
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
  • Language Server (more info How to update the language server to the latest stable version #3977): LS

Expected behaviour

Go to definition jumps to the Level1Class object

Actual behaviour

Definition not found. Below is a gif.

go_to_definition_across_workspaces

Steps to reproduce:

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions