Adding Server Namespace to Workplace creates a "read-only" namespace - VS Code
Hi all,
I noticed today that when adding a namespace (localhost) to the Workplace in VS Code, it is being created as read-only.
I haven’t encountered this issue before - previously, I was able to add the namespace with full access and could edit files without any problems. The settings appear to be the same as before.
.png)
Comments
Hey Lukasz.
Do you not get this option after selecting the namespace?.png)
Hi Julian, no I don't get this option
This is deliberate. Mixing client-side editing and server-side editing can lead to lost or overwritten work, so we made it a little harder to do so. You can still add an editable folder by editing the .code-workspace file directly if you are OK with the risks.
Hi Brett, I edited .code-workspace by replacing "isfs-readonly" with "isfs" and it worked. Thank you!
I also found clarification here: Edit Code Directly on an InterSystems Server | Use Visual Studio Code as a Development Environment for InterSystems Applications | InterSystems Components and Tools