You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
well, I'm having problems using the formatter or Intelephense of some language in my code using RemoteFS, I just can't, and below it shows an error of one of the extensions that I use outside of RemoteFS.
The text was updated successfully, but these errors were encountered:
Extensions that don't work with remote filesystems are generally written incorrectly (like mine, which I am currently fixing in this respect).
They import fs and use the node filesystem methods. What they should do is use the filesystem object provided by the vcode API, and instead of using filepath strings they should use the vscode.Uri objects returned by most of the UI interaction events. These URIs are annotated as to the filesystem in which they should be resolved. If you use the methods on the file system object available from vscode.workspace.fs you have access to both local and remote filesystems.
If you have a particular extension in mind raise an issue on the pertinent repo and tell the author to read this comment (you should be able to copy a direct link) and then they should refer to this documentation link https://code.visualstudio.com/api/references/vscode-api#FileSystem
well, I'm having problems using the formatter or Intelephense of some language in my code using RemoteFS, I just can't, and below it shows an error of one of the extensions that I use outside of RemoteFS.
The text was updated successfully, but these errors were encountered: