4

使用 VS Code 进行远程开发

 2 years ago
source link: https://wiki-power.com/%E4%BD%BF%E7%94%A8VSCode%E8%BF%9B%E8%A1%8C%E8%BF%9C%E7%A8%8B%E5%BC%80%E5%8F%91
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

使用 VS Code 进行远程开发

—— 将 VS Code 作为 SSH 工具,连接远程服务器进行开发。

背景#

尝试了各类 SSH 工具,最终还是回到界面好看又强大的 VS Code.
本篇文章仅记录以供日后参考用,部分内容未详细展开说明。更多教程请参考文末链接。

VS Code 基础配置篇:VS Code 生产力指南 - 环境配置

配置扩展#

点击安装扩展:Remote - SSH

点击左下角 Remote 按钮即可使用。

其他配置#

VS Code 无法监视大型工作区的文件变化#

运行此命令查看当前限制:

编辑 /etc/sysctl.conf 文件:

增加如下代码,将此限制增加到最大值:

保存,启用设置:

参考与致谢#

文章作者:Power Lin
原文地址:https://wiki-power.com
版权声明:文章采用 CC BY-NC-SA 4.0 协议,转载请注明出处。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK