This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
[MS Language Server] Go to definition cannot traverse workspaces #1196
Open
Description
@amittleider commented on Fri Jun 07 2019
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 #3977): LS
Expected behaviour
Go to definition jumps to the Level1Class
object
Actual behaviour
Definition not found. Below is a gif.
Steps to reproduce:
- Use this repo: https://github.com/amittleider/vscode_multi_workspace_bug_repro
- Go to the file
upper_level_class.py
- Try to jump to the definition of the
Level1Class
object. - It will probably say "Cannot find definition"