好好百科

分享有趣又有用的知识

用户工具

站点工具


侧边栏

导航菜单

archlinux:package:vscode

Visual Studio Code

常用扩展

名称 说明
Auto Rename Tag 自动重命名另一个标签
Auto-Open Markdown Previewer 自动开启MD预览
Beautify 代码格式化工具
C/C++ C/C++语言支持
Clan-Format
Code Runner
GBKtoUTF8
Git History 查看Git记录
HTML CSS Support 在HTML中更好的CSS支持
Insert Date String
Live Sass Compiler
Live Server 前端开发服务器
Lorem ipsum 插入Lorem ipsum文本
Markdown All in One Markdown语言支持
Python Python语言支持
REST Client
Rewrap 将文本格式化到给定长度
Sort Lines 行排序
Sublime Text Keymap and Settings Importer 如题
vscode-icons vscode图标主题

颜色主题

  • Cobalt2 Theme Official
  • Linux Themes for VS Code

配置文件范例

个人全局配置文件~/.config/Code/User/settings.json

settings.json
{
    "breadcrumbs.enabled": true,
    "code-runner.clearPreviousOutput": true,
    "code-runner.fileDirectoryAsCwd": true,
    "code-runner.saveFileBeforeRun": true,
    "code-runner.showExecutionMessage": false,
    "editor.cursorSmoothCaretAnimation": true,
    "editor.fontFamily": "'Ubuntu Mono', monospace",
    "editor.fontSize": 16,
    "editor.formatOnSave": true,
    "editor.mouseWheelZoom": true,
    "editor.renderControlCharacters": false,
    "editor.renderWhitespace": "all",
    "editor.smoothScrolling": true,
    "extensions.ignoreRecommendations": true,
    "files.trimTrailingWhitespace": true,
    "git.autofetch": true,
    "git.confirmSync": false,
    "git.enableSmartCommit": true,
    "liveServer.settings.donotShowInfoMsg": true,
    "liveServer.settings.donotVerifyTags": true,
    "liveServer.settings.host": "0.0.0.0",
    "markdown.preview.fontSize": 16,
    "python.pythonPath": "${wordspaceRoot}/.venv/bin/python",
    "terminal.integrated.fontSize": 16,
    "terminal.integrated.rendererType": "dom",
    "vsicons.dontShowNewVersionMessage": true,
    "window.titleBarStyle": "custom",
    "window.zoomLevel": 1,
    "workbench.colorTheme": "Cobalt2",
    "workbench.iconTheme": "vscode-icons",
    "workbench.startupEditor": "none",
    "files.exclude": {
        "*.egg-info": true,
        "**/__pycache__": true,
        "**/.venv": true,
        "**/.vscode": true,
    },
    "python.formatting.autopep8Args": [
        "--max-line-length=160",
    ],
    "python.linting.pylintArgs": [
        //"--disable=C0103,C0111,R0912,R0914,W0106,W0612",
        "--extension-pkg-whitelist=cv2,numpy,pygame,SQLAlchemy",
        "--ignored-classes=cv2,numpy,pygame,SQLAlchemy,scoped_session,matplotlib.cm",
        "--ignored-modules=cv2,numpy,pygame,SQLAlchemy",
        "--max-line-length=160",
    ],
}
archlinux/package/vscode.txt · 最后更改: 2019/08/16 10:58 由 老赵