vscode快捷键

vscode快捷键

快捷键

快捷键 功能
ctrl + \ 向右拆分

设置自定义快捷键

它是用tab进入下一个输入点的

如何让vscode配置idea的快捷键_vscode设置idea快捷键-CSDN博客

VSCode设置快捷键_vscode快捷键设置-CSDN博客

// https://snippet-generator.app/
{
	"cli快捷键": {
		"prefix": "cli",
		"body": [
			"console.info($1)",
		],
		"description": "cli快捷键"
	},

    "const": {
        "prefix": "cons",
        "body": [
            "const $1 = $0"
        ]
    },

	"Print out fori": {
        "prefix": "fori",
        "body": [
            "for (let i = 0; i < $1; i++) {",
            "   $2$0",
            "}"
        ],
        "description": "Output Loop 'fori'"
    },

	"Print out forj": {
        "prefix": "forj",
        "body": [
            "for (let j = 0; j < $1; j++) {",
            "   $2$0",
            "}"
        ],
        "description": "Output Loop 'forj'"
    },

    "Print out fun": {
        "prefix": "fun",
        "body": [
            "function(){",
            "   $1",
            "}"
        ],
        "description": "Output Loop 'fun'"
    },
    "Print out forEach": {
        "prefix": "forEach",
        "body": [
            "forEach(function(element,i){",
            "   $1",
            "})"
        ],
        "description": "Output Loop 'forEach'"
    },
    "react-template": {
        "prefix": "edf",
        "body": [
          "export default function $1() {",
          "    return (",
          "        <div>",
          "            $2",
          "        </div>",
          "    )",
          "}"
        ],
        "description": "react-template"
      },
      "async": {
        "prefix": "as",
        "body": [
          "async $1"
        ],
        "description": "async"
      },
      "data": {
        "prefix": "da",
        "body": [
          "data"
        ],
        "description": "data"
      },
      "debugger": {
        "prefix": "de",
        "body": [
          "debugger"
        ],
        "description": "debugger"
      },
      "import": {
        "prefix": "im",
        "body": [
          "import $1  from '$2'"
        ],
        "description": "import"
      },
      "item": {
        "prefix": "it",
        "body": [
          "item"
        ],
        "description": "item"
      },
      "label": {
        "prefix": "la",
        "body": [
          "label"
        ],
        "description": "label"
      },
      "return": {
        "prefix": "re",
        "body": [
          "return $1"
        ],
        "description": "return"
      },
      "value": {
        "prefix": "va",
        "body": [
          "value"
        ],
        "description": "value"
      },
      "border": {
        "prefix": "b1",
        "body": [
          "border: 1px solid red;"
        ],
        "description": "border"
      },
      "color": {
        "prefix": "c",
        "body": [
          "color: cornflowerblue;"
        ],
        "description": "color"
      },
      "补全": {
        "prefix": "/",
        "body": [
          "/>"
        ],
        "description": "补全"
      }
}

好用的插件

  • git graph

相关链接

posted @ 2024-03-16 12:57  朱在春  阅读(8)  评论(0编辑  收藏  举报