vscode环境迁移

关注B站可以观看更多实战教学视频:hallo128的个人空间

vscode环境迁移

Setting


即可打开settings.json

python 复制代码
{
    "python.pythonPath": "/Users/apple/opt/anaconda3/bin/python",
    "cmake.cmakePath": "/usr/local/bin/cmake",
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter.notebook.ipynb"
    },
    "terminal.integrated.inheritEnv": false,
    "terminal.integrated.tabs.enabled": true,
    "remote.SSH.showLoginTerminal": true,
    "C_Cpp.updateChannel": "Insiders",
    "python.defaultInterpreterPath": "/Users/apple/opt/anaconda3/bin/python",
    "cmake.configureOnOpen": true,
    "diffEditor.ignoreTrimWhitespace": false,
    "git.autofetch": true,
    "remote.SSH.remotePlatform": {},
    "git.ignoreLegacyWarning": true,
    "git.enableSmartCommit": true,
    "gitee.gist":"4uze0v2356lno9apyqx8m11",
    "gitee.access_token": "accc165680aebaca032be414bd3b755e"
}

gists id

解决方法:登陆GitHub

找到your gists

找到最近更新的一条,点击进去

查看浏览器地址 最后那一串字符串就是你的 gist Id https://gist.github.com/{username}/{gist_id}

global setting

gists id : XXX【自己的】

token: XXX

上传

快捷键Ctrl+Shift+P 打开命令面板,输入upload setting

下载配置

setting.json文件中增加

python 复制代码
{

    "gitee.gist":"XXX",
    "gitee.access_token": "XXX"
}

快捷键Ctrl+Shift+P 打开命令面板,输入download setting(下载配置命令为download setting)

参考:
同步个人vs code 习惯性配置gists 到码云(Gitee) - WongDaWEEE - 博客园 (cnblogs.com)

相关推荐
BD_Marathon1 小时前
【JavaWeb】IDEA运行并部署JavaWeb项目原理
java·ide·intellij-idea
Better Bench2 小时前
Ubuntu aarch64\arm64系统安装vscode
linux·vscode·ubuntu
x10n92 小时前
OceanBase 参数对比工具 附源码
数据库·vscode·oceanbase·腾讯云ai代码助手
我是菜鸟0713号3 小时前
VSCode配置Qt6开发教程
ide·vscode·编辑器
Jovin Giogic5 小时前
简明教程:记录 Ubuntu系统命令行安装TexLive,配置vscode
linux·vscode·ubuntu·latex·texlive
小蜜蜂嗡嗡6 小时前
Android studio配置忽略文件
android·ide·android studio
lanhuazui106 小时前
VScode中函数和变量跳转定义配置文件设置
vscode·编辑器
ZC·Shou7 小时前
Rust 之二 各组件工具的源码、构建、配置、使用(二)
开发语言·ide·rust·工具·命令·clippy·rustfmt
求学中--9 小时前
YOLOv8安装部署全流程指南(PyCharm实战版)
ide·yolo·pycharm
oioihoii10 小时前
VSCode CMake Tools 功能解析、流程与最佳实践介绍
ide·vscode·xhtml