Skip to content

Go to definition sometimes finds the correct definition twice on case-insensitive filesystems #5508

@Trolldemorted

Description

@Trolldemorted

Environment data

  • VS Code version: 1.33.1
  • Extension version (available under the Extensions sidebar): 2019.4.11987
  • OS and version: W10 N Professional 1809 (Build 17763.437)
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.3 64-bit
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): happens with and without virtualenv
  • Relevant/affected Python packages and their versions: All with relative imports

Expected behaviour

Go to definition finds the one and only correct definition

Actual behaviour

Go to definition sometimes finds the correct definition twice on NFTS (and doesn't actually go to it since it found more than one)

Steps to reproduce:

  1. Start VS code
  2. try to go to a definition quickly (it appears to be racy, it fails only sometimes)

grafik

Logs

This bug does not trigger reliably enough for me to get some decent logs when it happens, but since #5507 did not yield any useful logs either I suspect there aren't any too.

Metadata

Metadata

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions