Skip to content

Global storage doesn't work on Windows #2093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
code-asher opened this issue Sep 14, 2020 · 2 comments
Closed

Global storage doesn't work on Windows #2093

code-asher opened this issue Sep 14, 2020 · 2 comments
Labels
bug Something isn't working os-windows Windows related
Milestone

Comments

@code-asher
Copy link
Member

If I access it on windows, the value of 'context.globalStoragePath' will be:
\home\admin.local\share\code-server\globalStorage\vscodevim.vim
If I access it on linux, the value of 'context.globalStoragePath' will be:
/home/admin/.local/share/code-server/globalStorage/vscodevim.vim

The code-server always runs on linux, so when I access it with a windows browser, the path separator of 'context.globalStoragePath' is wrong

From #1551 (comment)

@code-asher code-asher added os-windows Windows related bug Something isn't working labels Sep 14, 2020
@code-asher
Copy link
Member Author

The storage path needs to use the format of the remote host, not the client host. Or there needs to be some kind of conversion.

@jsjoeio jsjoeio added this to the Backlog milestone Apr 29, 2021
@stale
Copy link

stale bot commented Oct 27, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

@stale stale bot added the stale label Oct 27, 2021
@stale stale bot closed this as completed Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working os-windows Windows related
Projects
None yet
Development

No branches or pull requests

2 participants