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)

相关推荐
罗政6 小时前
冒险岛079 V8 整合版源码搭建教程+IDEA启动
java·ide·intellij-idea
艾斯比的日常8 小时前
VSCode 实用快捷键
ide·vscode·编辑器
Galaxy_12298 小时前
vscode远程报错:Remote host key has changed,...
ide·vscode·编辑器
彬sir哥8 小时前
VScode运行后出现黑窗口
vscode·运行·黑窗口
Hi~晴天大圣13 小时前
Pycharm中断点使用技巧
ide·python·pycharm
且随疾风前行.14 小时前
Android Studio 提示 !Failed to initialize editor
android·ide·android studio
比牛顿更懂PID15 小时前
VSCode本地python包“无法解析导入”
ide·vscode·python
qxyywy17 小时前
CUDA 安装 一直卡在Installing Nsight Visual Studio Edition
ide·visual studio·cuda
前端郭德纲18 小时前
vscode默认终端怎么设置成git bash
git·vscode·bash
瞌睡不来19 小时前
(学习总结25)Linux工具:vim 编辑器 和 gcc/g++ 编译器
linux·学习·编辑器·vim·编译器·gcc/g++