vs code settings

Posted dylanchu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vs code settings相关的知识,希望对你有一定的参考价值。

  • settings.json (ctrl+,)
    安装Jetbrains Mono Microsoft Yahei UI字体,Darcula Theme主题,vscode-iconsvim插件
{
    "workbench.iconTheme": "vscode-icons",
    "workbench.colorTheme": "Darcula",

    "editor.fontFamily": "'Jetbrains Mono', 'Microsoft Yahei UI', 'Fira Code'",
    "editor.fontSize": 13,
    "editor.fontLigatures": true,
    "editor.fontWeight": "400",
    "editor.lineHeight": 20,

    "vim.handleKeys": {
        "<C-a>": false,
        "<C-f>": false,
        "<C-k>": false,
        "<C-s>": false,
        "<C-p>": false,
        "<C-n>": false
    },
    "vim.useSystemClipboard": true
}
  • keybindings.json (ctrl+k, ctrl+s)
// Place your key bindings in this file to override the defaultsauto[]
[
    {
        "key": "alt+l",
        "command": "cursorRight",
        "when": "textInputFocus"
    },
    {
        "key": "alt+h",
        "command": "cursorLeft",
        "when": "textInputFocus"
    },
    {
        "key": "alt+j",
        "command": "cursorDown",
        "when": "textInputFocus"
    },
    {
        "key": "alt+k",
        "command": "cursorUp",
        "when": "textInputFocus"
    }
]

插件:

  • Better PageUp / PageDown (russelldavis.better-pageup-pagedown)
  • Bracket Pair Colorizer (coenraads.bracket-pair-colorizer)

以上是关于vs code settings的主要内容,如果未能解决你的问题,请参考以下文章

vs code 用户代码片段 html.json

VS Code配置markdown代码片段

VS Code配置markdown代码片段

VS Code中自定义Emmet代码片段

<code> vs <pre> vs <samp> 用于内联和块代码片段

[搬运] 将 Visual Studio 的代码片段导出到 VS Code