CodeLens "Debug" appears on wrong document
See original GitHub issueEnvironment
node -v
: v8.9.1npm -v
: 5.5.1npm ls react-scripts
(if you haven’t ejected): N/A- Operating system: Windows 7 x64
- VS Code: 1.18.1
- Jest extension: 4.5.0
Steps to Reproduce
- Clone the repo:
git clone https://github.com/seanpoulter/vscode-jest-178
- Open the repo in Visual Studio Code
- Open
index.js
andindex.test.js
- Wait for the CodeLens “Debug” to appear in
index.test.js
- Switch to another window
Expected Behavior
The “Debug” should only appear on the appropriate document.
Actual Behavior
“Debug” appears on the wrong document. Here’s a GIF of it appearing correctly on index.test.js
then incorrectly on index.js
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Debugging Unit Test loses codelens Run Test ... - GitHub
Omnisharp debug session stops, codelens run/debug appears and a subsequent debug can be performed. The text was updated successfully, but these ...
Read more >CodeLens not showing references - visual studio
Go to Tools -> Options -> Text Editor -> All Languages -> CodeLens then click the "Enable CodeLens" option if it is not...
Read more >Find code changes and other history with CodeLens
Make sure CodeLens is turned on. Go to Tools > Options > Text Editor > All Languages > CodeLens.
Read more >TypeScript Programming with Visual Studio Code
VS Code provides IntelliSense for individual TypeScript files as well as TypeScript tsconfig.json projects. Hover information. Hover over a TypeScript symbol to ...
Read more >Configuration | PHP Tools for Visual Studio Documentation
codeLens.enabled, true / false, Enables/disables code lenses in PHP files above functions, types, properties, and constants. php.debug.port, number or array ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
#186 really only adds the ability to remove all of them - @goncharov’s answer would probably fix it 👍
We need to confirm if this was fixed by #186 and ideally test it.