Closed memeplex closed 3 years ago
Hello @memeplex, thank you for reaching out π Does this problem happen if you use Jedi instead of the Language Server?
Yes, it's the same with Jedi and with MLS (I've updated the description to inform about this).
I'm not sure how that is related to the issue, though. Is unit test output being processed by the language server?
Sorry about that, read too fast and thought it had something to do with intellisense π¬
Ok, no problem, do you need more info from me? (because of the info needed
label)
Not at the moment, I will investigate the issue and get back to you (and re-add the label) if necessary.
Thanks!
Can reproduce it π Since this is more of an enhancement, this will be marked as "needs decision" to make sure we have a conversation about it. We plan to leave this feature request open for at least a month to see how many π votes your idea gets to help us make our decision.
We are moving over to a new test provider which should make needing to look at the Python test log unnecessary (at least most of the time). As well, VS Code controls the linking in the Output panel, so this would be an ask over there.
Environment data
Expected behaviour
After running a failing test, a Python Test Log output like:
should send me to line 44 in test_cache.py after clicking on the link.
Actual behaviour
It only opens test_cache.py at current line, not even scrolling to make line 44 visible.
Parsing line number in error output is a basic functionality I've seen implemented in any major editor I've used before (vim, emacs).
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
βOutput
, change the drop-down the upper-right of theOutput
panel toPython
)