Visual Studio Code问题汇总

1. 如何切断项目和github的联系:

    在项目setting.json


    中编辑页右侧的User settings中加入以下几行代码即可。

// Is git enabled
"git.enabled": false,

// Path to the git executable
"git.path": null,

// Whether auto fetching is enabled.
"git.autofetch": false,

2. 如何更改VS code代码编辑界面的颜色主题:

    Ctrl + K  + Ctrl +T


3. 关于python 的intellisense工作不正常的问题

    非正常工作表现为 autocompletion 自动停止工作,在attr上hover鼠标显示loading的pop up

    解决办法:

    https://donjayamanne.github.io/pythonVSCodeDocs/docs/troubleshooting_intellisense/

    https://github.com/Microsoft/vscode-python/issues/423

    在file reference setting 中的user setting 中添加python.pythonpath的绝对地址例如下图,完美解决

"python.pythonPath": "C: \\ Python27 \\ python.exe"


    

    


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值