Skip to content
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

Windows VSCode #299

Open
junxnone opened this issue Dec 11, 2023 · 0 comments
Open

Windows VSCode #299

junxnone opened this issue Dec 11, 2023 · 0 comments

Comments

@junxnone
Copy link
Owner

junxnone commented Dec 11, 2023

Visual Studio Code

配置免密登录 Linux

  • Windows 下命令行生成 ssh key
ssh-keygen.exe -t rsa
  • 重命名生成的 id_ras.pubauthorized_keys 并复制到 Linux 下目录 ~/.ssh
  • 下面开始无密连接吧

一直卡在 download vscode server

  • File -> Preferences -> Setting
  • 搜索 remote.SSH.LocalServerDownload
  • 设置为 always
  • 重新连接

手动下载

获取 Commit ID

  • 在 VSCode 的 About 获取
Version: 1.90.2 (user setup)
Commit: 5437499feb04f7a586f677b155b039bc2b3669eb
Date: 2024-06-18T22:34:26.404Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631

手动下载 vscode server

wget https://update.code.visualstudio.com/commit:COMMIT_ID/server-linux-x64/stable

Note

替换 COMMIT_ID

解压到相应文件夹

tree Stable-5437499feb04f7a586f677b155b039bc2b3669eb/ -d -L 2
Stable-5437499feb04f7a586f677b155b039bc2b3669eb/
└── server
    ├── bin
    ├── extensions
    ├── node_modules
    └── out
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