由于 VSCode 版本不断更新因此更新下插件;


更新:代码统计插件:VS Code Counter


个人插件配置

Settings Sync

直接通过账号同步

在github中新建个gists服务对象存储配置文件;GistID

1
2
上传:shift+alt+u
下载:shift+alt+d

Material Theme

主题设置

Path Intellisense

路径自动补充

Remote-SSH

远程开发

vscode-icons

文件图标

修改terminal

setting.json 中修改:

1
"terminal.integrated.shell.windows": "D:\\DevTools\\Git\\bin\\bash.exe"

vscode python 头文件

路径:File-Preferences-User Snippets-python

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
// Place your snippets for python here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"HEADER": {
"prefix": "py",
"body": [
"# -*- coding: utf-8 -*-",
" ",
"'''",
"@date: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE",
" ",
"@author: dreamhomes",
" ",
//"# $TM_FILENAME",
"@description:",
"'''",
],
// "description": "Log output to console"
}
}

autoDocstring

函数注释

pylint报错 no member

setting.json中添加:

1
"python.linting.pylintArgs":["--disable=no-member"]

github repo size

浏览器输入:
https://api.github.com/repos/organization/repository
其中organization替换为项目的所有者(组织),repository替换为项目的名称。返回的页面是描述这个项目的JSON数据,其中的size指的就是项目的大小,单位为kB(千字节)。

联系作者