vscode-remote-workspace icon indicating copy to clipboard operation
vscode-remote-workspace copied to clipboard

I can't make it work!

Open yigith opened this issue 6 years ago • 6 comments

Could you help me with my problem:

My Problem

I am trying to edit my php files remotely on the ftp server via the visual studio code extension "Remote Workspace". I've installed the plugin and I've created a workspace file including the following json as it is stated on the link: vscode-remote-workspace

And after the creation of this file, I tried to open the workspace on vs code. On the EXPLORER view, it shows a continuous sliding bar. Nothing changes and no error/notification is shown.

Could you tell me what the problem here is or how I can fix this problem? Thanks.

yigith avatar Nov 07 '18 10:11 yigith

You might have not written correctly on your uri field. Remove path and port number to narrow down the problem. Also, use any ftp client to check your ftp is working.

btstw avatar Nov 14 '18 03:11 btstw

Same issue

solonik1 avatar Nov 16 '18 10:11 solonik1

2 random issues come to mind that might help 1 of you.

First, I was an idiot and followed the example EXACTLY and this is my first intro to workspaces, so I named the workspace literally .code-workspace and nothing happened when I tried to open it. I gave it an actual name, test.code-workspace, and then it opened.

Second, the link you provided ends with /pluginname which leads me to believe you tried to point to a file with the uri. If that is the case, just remove that from your path, as the workspace uri needs to point to a folder.

I ran into both of those issues today, but now it's working great! Hopefully either of those can help new eyes that come across this issue from googling "it's not working!"

student020341 avatar Nov 16 '18 17:11 student020341

I have the same exact problem. I try to configure a workspace with a remote ftp directory. I have no message, nothing happen, only the continuous sliding bar...

At least a debug message could be a good start...

PaulPichaureau avatar Nov 19 '18 09:11 PaulPichaureau

I also met this issue.

Finally I solved it.

First, as @student020341 said, workspace file name can not be exactly '.code-workspace', it must has name before dot, for me 'default.code-workspace'.

Second, I'm using sftp, but vs code can not list contents in it. I found that in uri there can not have 'params' or 'values' parameter, after remove it works ok. This should be not correctly due to the manual.

iccfish avatar Dec 12 '18 08:12 iccfish

@PaulPichaureau , I also met the same problem that after installed and configure the workspace file, no message, noting happened. And as @student020341 and @iccfish mentioned, .code-workspace is not a right file name for workspace, maybe you could change the file name, e.g. default.code-workspace or remote.code-workspace. If the file name is right, there will be a DEFAULT(WORKSPACE) or REMOTE(WORKSPACE) workspace in the left bar EXPLORER .

axiqia avatar Dec 19 '18 09:12 axiqia