vscode快速設置console.log快捷鍵

打開後搜索:javascript->javascript.json,裏面添加: "Print to console": {       "prefix": "cnl",       "body": [           "console.log($1)"       ],       "description": "Log output to console" } 代碼中輸入cnl,回車即可
相關文章
相關標籤/搜索