-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CodeLens "Debug" appears on wrong document #178
Comments
I would say this is related to #175 ? The feature requested is caused by exactly this bug - the debug button shows up in the inappropiate document and flips around scrolling in VSCode |
After some investigation I noticed that the "Debug" thing shows up correctly if you toggle side-by-side view of the |
Yep, @bogdan-calapod - the behavior is described in #175. Since #175 is about adding a setting to disable the "Debug" CodeLens I thought it'd be easier to track this as a separate issue. |
Hello. I also made few investigations. The current implementation of codelens uses the common list of decorations which updates implicitly by change active text editor only if a new document is jest test. If the document in new editor is not Jest test it will not reset previous decorations and will display old ones. This is why lenses display in wrong files. It also reproduces for side-by-side view |
We need to confirm if this was fixed by #186 and ideally test it. |
#186 really only adds the ability to remove all of them - @goncharov's answer would probably fix it 👍 |
Environment
node -v
: v8.9.1npm -v
: 5.5.1npm ls react-scripts
(if you haven’t ejected): N/ASteps to Reproduce
index.js
andindex.test.js
index.test.js
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 onindex.js
.The text was updated successfully, but these errors were encountered: