vscode: VSCode cannot jump to the result file row if got results too fast from vscode-msr + VsCode cannot de-duplicate results correctly
- VSCode Version: 1.44.2
- OS Version: Window 10 Enterprise 1909 build 18363.778
Issue summary
vscode
cannot correctly de-duplicate results ofGo To Definition
from 2 definition providers.vscode
cannot correctly de-duplicate results ofFind All References
from 2 providers.vscode
cannot correctly jump to the definition location + progress bar keeps moving, if has 2+ definition providers, when vscode-msr found the definition while other official/professional extensions not found it:- Like vscode-msr + ms-python.python for
Python
. - Like vscode-msr + ms-vscode.PowerShell for
Powershell
.
- Like vscode-msr + ms-python.python for
Steps to Reproduce:
- Install a tiny vscode extension: vscode-msr (less than 1 minute, about 1.6MB)
- To fast verify it: Open a small project (or a sub-folder) to let vscode-msr can find results in 3~50 milliseconds. ( I just cloned vscode-python and reproduced this issue as screenshot below)
- Test “Go To Definition” (Press
F12
or menuGo To Definition
) for a function or method in a code/script file likeC#
/Python
/C++
/Java
/Powershell
etc. - Test “Find All Reference” for a function or method etc.
See my test screenshot below with just cloned vscode-python source code to test:
- File path:
pythonFiles/install_debugpy.py
- Test finding:
_download_and_extract
+DEBUGGER_DEST
Additionally:
- You can uncheck
msr.quiet
inUser settings
to auto show searching info each time inMSR-Def-Ref
channel inOUTPUT
tab. - You can press
Alt+F2
(or pressF1
->msr toggle enable finding
) to temporarily enable or disablevscode-msr
finding definition.
Does this issue occur when all extensions are disabled?: No -> after I disabled only the corresponding language extension (like vscode-python
in my test case)
1. Cannot jump to the location of only one result, progress bar keeps moving:
2.Cannot de-duplicate correctly for results of Go To Definition
:
3. Also got duplicate results of Find Alll References
:
This time the bug location is much obvious to start tracing at here: CommandsConverter#CREATE
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (5 by maintainers)
Commits related to this issue
- [2.0.0] - Support adding new languages with it's mapped-extension + extension list. - Search current file at first to fast get results of definition. - Add highest score for current file to keep 1 res... — committed to qualiu/vscode-msr by lqm678 4 years ago
- [2.0.0] - Support adding new languages with it's mapped-extension + extension list. - Search current file at first to fast get results of definition. - Add highest score for current file to keep 1 res... — committed to qualiu/vscode-msr by lqm678 4 years ago
- [2.0.0] - Support adding new languages with it's mapped-extension + extension list. - Search current file at first to fast get results of definition. - Add highest score for current file to keep 1 res... — committed to qualiu/vscode-msr by lqm678 4 years ago
- [2.0.0] - Support adding new languages with it's mapped-extension + extension list. - Search current file at first to fast get results of definition. - Add highest score for current file to keep 1 res... — committed to qualiu/vscode-msr by lqm678 4 years ago
- [2.0.0] - Support adding new languages with it's mapped-extension + extension list. - Search current file at first to fast get results of definition. - Add highest score for current file to keep 1 res... — committed to qualiu/vscode-msr by lqm678 4 years ago
- [2.0.0] - Support adding new languages with it's mapped-extension + extension list. - Search current file at first to fast get results of definition. - Add highest score for current file to keep 1 res... — committed to qualiu/vscode-msr by lqm678 4 years ago
- [2.0.0] - Supported adding new languages with it's mapped-extension + extension list. - Search current file at first to fast get results of definition. - Added highest score for current file to keep 1... — committed to qualiu/vscode-msr by lqm678 4 years ago
- [2.0.0] - Supported adding new languages with it's mapped-extension + extension list. - Search current file at first to fast get results of definition. - Added highest score for current file to keep 1... — committed to qualiu/vscode-msr by lqm678 4 years ago
1 issue, 1 topic please