Visual Studio插件和设置-注意不是vscode
# 插件
- Highlight all occurrences of selected word,选中高亮,这个2010-2017都要装
- Highlighterr for Visual C++ 2010,语法高亮,只有vs2010需要
- Ctrl+Click Go To Definition,这个2015版之后就自带了,不需要了。
- VSWindowTitleChanger, 将标题改变成原来的标题+文件路径.。orig_title + " " + doc_dir
- ForceUTF8 使所有文件保存的时候自动保存为utf8格式,不带bom。还有另一个插件是with BOM,最好不要带BOM。
# 快捷键
https://www.zhihu.com/question/381463549
将vs快捷键设置为何vscdoe一样:
1、打开vs编辑器 2、找到工具-->选项 3、在左边搜索键盘,或者直接 找 环境 -->键盘 4、点击键盘,在左边出现映射方案,目前是默认值。点击修改 5、选项中,一直往下,会有vscode选项,点击选中就可以啦,
# settings.json配置
{
"window.zoomLevel": 1,
"sync.gist": "bb59680002b7aeb68c71818db6e7a1cc",
"python.linting.pylintArgs": [
"--extension-pkg-whitelist=PyQt5, pymysql",
"--disable=C0326",
"--disable=multiple-imports",
"--disable=superfluous-parens",
"--disable=missing-function-docstring",
"--disable=wrong-import-order",
"--disable=missing-module-docstring",
"--disable=trailing-whitespace",
"--disable=line-too-long",
"--disable=logging-not-lazy",
"--disable=bare-except",
"--disable=broad-except",
"--disable=logging-format-interpolation",
"--disable=generated-members",
"--disable=missing-class-docstring",
"--disable=too-many-instance-attributes",
"--disable=too-few-public-methods,trailing-newlines",
"--good-names=i,j,wi,GlobalData,e,ex,tw,MainWindow,mysql_host,mysql_user,mysql_passwd"
],
"workbench.colorTheme": "Solarized Dark",
"outline.showModules": false,
"files.autoGuessEncoding": true
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
编辑 (opens new window)
上次更新: 2021/11/28, 23:21:05