Open Joristdh opened 8 months ago
I just tried adding the extensionKind
change in my settings.json
as suggested and can confirm that the expected folding behavior works when VSCode is using a remote connection. Thanks @Joristdh - that's been bugging me for a while!
I added the recommended change, but unfortunately the closing bracket still appears despite "betterFolding.foldClosingBrackets": true
in the remote host's settings.json
.
Here's how it looks on localhost:
and here's how it looks on remotehost:
Describe the bug When working in a remote workspace, the default folding behavior remains. This is caused by the extension running on the remote machine instead of locally (see the workaround).
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the extension to also work in a remote environment.
Additional context Possibly the same cause as #7.
Workaround You can add the following to your settings.json to force the extension to run locally:
"remote.extensionKind": { "MohammadBaqer.better-folding": [ "ui" ] }