-
Notifications
You must be signed in to change notification settings - Fork 155
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
PlantUMLServer render mode not working in remote Windows WSL projects #304
Comments
Did some digging on this - this is because 833bdee set the Unfortunately, since the extension is allowed to run locally, you end up in a situation when using remote WSL/SSH/Docker where the user level setting is ignored and the extension doesn't consult the remote config, because it's running locally. I think the fix to this is to set |
Informations about this issue:
But, seems setting overrides are decided by where the workspace located. According to former information, my vision is to make the extension works both on remote and local. Remote mode first, then local mode if remote not installed. As to the current override logic, |
BTW, Workarounds for you, even I don't change the @robert-shade Install extension on remote will solve your problem, you still have to do so, after the I still hope VSCode will update/extend the setting override logic, to make the extension works both on remote and local. |
@qjebbs confirmed that 2.13.12 fixes this. It's a bit awkward that you have to configure the renderer in both your user and remote settings to handle both local and remote use cases, but that's a core VSCode issue. |
Being able to change render mode away from
local
toPlantUMLServer
works OK in local projects but fails when editing remote WSL projects.Whilst I can install the
vscode-plantuml
extension in a remote WSL, it only works inlocal
mode, which is where the extension builds diagrams by running the plantuml command, which needs java and graphviz.The usual render mode setting is missing from the remote plantuml settings UI, so I cannot change mode. The render mode UI options appear OK in local projects in windows, but not in a remote WSL project. Forcing the matter and manually editing settings.json,
did not work either, and those settings appear dimmed and refuse to be applied, with the hover error:
This setting cannot be applied in this window. It will be applied when you open local window.
Is this a known issue or am I missing something? I'd like to get the improved speed of "PlantUMLServer" mode when editing in my WSL based projects.
The text was updated successfully, but these errors were encountered: