[ ] Tried the other applicable steps from the Troubleshooting Guide
[x] Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
In some files, it seems like the jump to line feature does not work. See animation, where for the file plugin.py it does not work, while for the api.py (and all other open files) it does work.
I have, before recording the behaviour (and a few times before that), regenerated the pylint output. It has happened on another file as well, but I do not remember which one. Right now, spyder\plugins\history\plugin.py seems to be the file that doesn't work. It does not matter if I have any other files open or not. I have also removed the pylintresults file (not that it should matter since the emit call seems correct) but still the same result.
What steps reproduce the problem?
Open spyder\plugins\history\plugin.py
Enable "Code analysis" pane
Start code analysis for file
Try to jump to a line by clicking on one of the issues
What is the expected output? What do you see instead?
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
In some files, it seems like the jump to line feature does not work. See animation, where for the file plugin.py it does not work, while for the api.py (and all other open files) it does work.
I came across this while working on #9646 and thought it was caused by my changes, but the clip is for the current master. Anyway, it means that I made some tests to look into it and I can at least say that this code https://github.com/spyder-ide/spyder/blob/be4666163a4a8b088f91bb41fc704a7a81fbf735/spyder/plugins/pylint/widgets/pylintgui.py#L72 executes with the correct
fname
andlineno
.I have, before recording the behaviour (and a few times before that), regenerated the pylint output. It has happened on another file as well, but I do not remember which one. Right now,
spyder\plugins\history\plugin.py
seems to be the file that doesn't work. It does not matter if I have any other files open or not. I have also removed the pylintresults file (not that it should matter since theemit
call seems correct) but still the same result.What steps reproduce the problem?
spyder\plugins\history\plugin.py
What is the expected output? What do you see instead?
The requested line should be jumped to.
Versions
Dependencies