void icon indicating copy to clipboard operation
void copied to clipboard

Fix file URIs in toolsService to work with both local and remote workspaces

Open curiouscomputer opened this issue 6 months ago • 0 comments

Void had an issue where when opening a remote workspace, tools for reading/writing files would refer to local files instead of remote ones.

I modified toolService.ts to check for the remoteAuthority in validateURI, so that if the current workspace is remote, the file path is converted to a remote URI. This fixes the issue described in https://github.com/voideditor/void/issues/640.

curiouscomputer avatar Jun 19 '25 19:06 curiouscomputer