Skip to content

No linting in docker container when attached to vscode in wsl2 #23419

Closed Answered by HeChengHui
HeChengHui asked this question in Q&A
Discussion options

You must be logged in to vote

Suddenly had issues with opening vscode in wsl
To use Visual Studio Code with the Windows Subsystem for Linux, please install Visual Studio Code in Windows and uninstall the Linux version in WSL. You can then use the `code` command in a WSL terminal just as you would in a normal command prompt. Do you want to continue anyway? [y/N]

So now I open vscode in windows then connect to wsl. This way, my code in container has linting for some reason.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@debonte
Comment options

@HeChengHui
Comment options

@debonte
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by HeChengHui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
3 participants