-
Notifications
You must be signed in to change notification settings - Fork 298
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
Test: Semantic colorization regressions #8026
Comments
No that seems incorrect. Does hover work for test2? It should show something like so: You may also need to close and reopen the file. It seems that token requests are not resent once the language server is running (so if the file was already open when the workspace opened, it won't colorize) Also make sure these settings are turned on: |
It is. Here's the language server logs when python.analysis.logLevel is
|
That should be fine. It looks like it didn't even make a token request though. Do you have any other extensions installed that might be providing a token provider? |
I don't think so. These are my "running extensions" with the Python file open:
|
Hmm. I have the exact same extensions. Not sure why it's not sending the request then. What version of VS code? (@alexdima made some changes for me for this, but they shouldn't affect a raw python file). Mine is this one: |
Yep, same build.
Let me know if there's more info I can get. I'm also happy to jump on a call or install a custom extension build with additional logging. |
I also hit https://github.com/microsoft/vscode/issues/135892, but with Window Reload. |
Refs: #6799
Complexity: 2
Create Issue
Semantic tokenization of notebooks has been improved (but not final). This test plan is to verify these changes don't break other scenarios (like python files)
Setup steps:
Test steps:
test2()
andtest()
is appropriateimport sys
should also show a different color for thesys
as it's not used.The colors may take a while to appear (the language server has to be up and running first). If they don't appear, try reloading the file. Tokenization doesn't rerun for already open files when the language server starts, so you might have to close and reopen the python file.
The text was updated successfully, but these errors were encountered: