-
Notifications
You must be signed in to change notification settings - Fork 53
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
Not compatible with Remote Development? #178
Comments
Hmm, strange. It's the same version of VS Code, right? So maybe that error message ("not compatible with the current version") is a red herring, and something else is going wrong. |
EDIT: Solved it, the issue was totally unrelated to the content of this comment. Leaving it here for reference/findability. Sorry for taking so long. I'm not familiar with VS Code internals or its Extension API, but here's what I found: Since I'm connecting from Windows to Linux, could it be an issue with platform-specific components in the extension? The following issues suggest this could cause trouble (these specific issues got fixed, though):
--- Logs ---Here are the log entries occuring when trying to install the ruff extension on the remote host (log level: trace). Shared
Window
Extension Host (Remote)
Network Requests
Network Requests (Remote)
Server
Telemetry
|
As suggested here, I solved it by adding this to my {
"remote.downloadExtensionsLocally": true,
} This is equivalent to the setting Thank you again, looking forward to finally use this extension everywhere! |
wow. This does fix thing for me. Working on a remote linux mechine from a window's host. |
I have VS Code 1.77.3 installed on a Windows PC and use the Remote Development extension to connect to a Linux VM via SSH, where I do most of my development work.
The Ruff extension is installed and works without issues in local projects:
When I switch to a remote project, I can click the button "Install in SSH: [vm hostname]", which worked fine for all other extensions (e.g. Python, Black Formatter):
But for the Ruff extension I get the error message "Can't install 'charliermarch.ruff' extension because it is not compatible with the current version of Visual Studio Code (version 1.77.3)."
I don't know much about VS Code internals (neither about extensions, nor about remote development) and have no clue what's the issue. I'm happy to try things, though :)
Also thank you for this great linter and IDE integration!
The text was updated successfully, but these errors were encountered: