-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
hovering over flake8 errors no longer shows error #17882
Comments
This is now affecting the stable VSCode release
|
@wardy3 the same issue for me after the last update. This problem is OS independent and has appeared on two separate machines running Windows 10 and Linux. It affects not only flake8 but also mypy. Pylance on the other hand works well. |
Same issue for me with VSCode 1.62.0 and flake8 3.7.1. Downgrading to VSCode 1.61 fixed it. |
Ditto for me on 1.62, though I noticed the hitbox for the lint popup is 1 or 2 pixels wide at the very front of the word. |
Maybe related: microsoft/vscode#136711 |
@Redoubts, probably. I have noticed that the common feature of this problem is that only the first character is marked with a wavy underline. |
Hi, This workaround may be useful:
|
I am having the same problem with mypy (and flake8). I created an issue at the mypy extension matangover/mypy-vscode#43 but I guess it is related to this vscode update. |
Can anybody confirm that those issues are referred to the same problem? |
The hitbox issue has been fixed in the main branch of |
Yes, it's the same problem. I have tried and can confirm it. |
Ok thanx! Looking forward to bumping to 1.63.0 |
Actually, this problem still exists in 1.63.0. With this fix, they just expanded the hit-box area from one pixel to one character. Now it's easier to hover, but still ugly. |
Yes, but in version 1.61 it worked normally. Also, for some reason Pylance works well, and this problem only occurs with other linters. Lack of consistency. In general, seeing where all this is going lately, I'm switching to Neovim. I'm tired of constant regression bugs, slowing performance and increased memory usage. Jack of all trades, master of none. I think in a few years from a quick handy editor, this will become yet another bloatware. |
Thanks for the bug report, we're going to addressing the bug here #17398 |
Environment data
Version: 1.62.0-insider (Universal)
Commit: ff1e16eebb93af79fd6d7af1356c4003a120c563
Date: 2021-10-29T05:14:09.436Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0
❯ flake8 --version
3.9.2 (aaa: 0.12.0, flake8-bandit: 2.1.2, flake8-broken-line: 0.3.0,
flake8-bugbear: 21.9.2, flake8-comprehensions: 3.7.0, flake8-darglint: 1.8.0,
flake8-debugger: 4.0.0, flake8-docstrings: 1.6.0, pydocstyle: 6.1.1,
flake8-eradicate: 1.1.0, flake8-string-format: 0.3.0, flake8_2020: 1.6.0,
flake8_commas: 2.1.0, flake8_isort: 4.0.0, flake8_quotes: 3.3.0, mccabe:
0.6.1, naming: 0.11.1, pycodestyle: 2.7.0, pyflakes: 2.3.1, rst-docstrings:
0.2.3, wemake_python_styleguide: 0.15.3) CPython 3.7.2 on Darwin
python.languageServer
setting: DefaultExpected behaviour
flake8 messages when hovering. This is VSCode 1.61:
Note the flake8 output on the first line
Actual behaviour
wiggly underlines are only 1 character wide, not the whole word.
pop up only includes base information and not flake8 messages
problems tab shows flake8 messages as expected
Steps to reproduce:
simple program with flake8 errors
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The text was updated successfully, but these errors were encountered: