Skip to content

vscode远程连接linux后workplace路径仍然使用Windows上路径。 #775

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
joyongzhu opened this issue Feb 15, 2022 · 1 comment
Closed

Comments

@joyongzhu
Copy link

image
Windows上通过ssh-remote 连接linux后,想使用 leetcode 插件在linux上写算法,但是l默认使用的还是Windows路径,导致 leetcode 插件无法生成代码文件。

于是我尝试在工作区中改写设置,发现 leetcode 相关的设置只能在用户设置中才能生效
image

请问有什么方法能让我的 vscode 能远程访问 linux 并且能在 linux 上使用 leetcode 插件?

不胜感激!

@joyongzhu
Copy link
Author

image Windows上通过ssh-remote 连接linux后,想使用 leetcode 插件在linux上写算法,但是l默认使用的还是Windows路径,导致 leetcode 插件无法生成代码文件。

于是我尝试在工作区中改写设置,发现 leetcode 相关的设置只能在用户设置中才能生效 image

请问有什么方法能让我的 vscode 能远程访问 linux 并且能在 linux 上使用 leetcode 插件?

不胜感激!

解决了
image
原来只需要分别为不同的系统写上对应的路径就可以自动使用可用的设置。
虽然 vscode 会报警hhh。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant