You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python version (and distribution if applicable, e.g. Anaconda): 3.11.4 with poetry
python.analysis.indexing: true
python.analysis.typeCheckingMode: standard
Code Snippet
I couldn't reproduce this issue with minimum code snipet.
This happens only in my company source codebase.
Repro Steps
Remote-SSH to WSL2 on a remote PC
Open a workspace
Browse python files
Some python files does not have semanticTokens information that I can check with Developer: Inspect Editor Tokens and Scopes,
while other python files have it.
However, I couldn't reproduce this issue with sample workspace.
It works fine when I use VSCode-insiders on a remote PC directly.
As I mentioned, this issue can be reproduced only in my company codebase so I replaced some sensitive information in the log.
I found that the response for textDocument/semanticTokens/full is empty.
Thanks for the issue. I don't think there's anything we can do to solve it without a repro though. Does the file with the problem have any other errors inside of it?
The log indicates we're receiving the tokens request, we're just not able to process it for some reason. My guess is that there's an error in parsing that causes us to give up.
Environment data
Code Snippet
I couldn't reproduce this issue with minimum code snipet.
This happens only in my company source codebase.
Repro Steps
semanticTokens
information that I can check withDeveloper: Inspect Editor Tokens and Scopes
,while other python files have it.
However, I couldn't reproduce this issue with sample workspace.
It works fine when I use VSCode-insiders on a remote PC directly.
Expected behavior
semanticTokens
is available.Actual behavior
semanticTokens
is not available.Logs
I added following settings to enable log.
I captured the log by
Python Language Server
As I mentioned, this issue can be reproduced only in my company codebase so I replaced some sensitive information in the log.
I found that the response for
textDocument/semanticTokens/full
is empty.Related Issues:
#2897
The text was updated successfully, but these errors were encountered: