当前位置:网站首页>Plug in for vscode
Plug in for vscode
2022-04-23 02:53:00 【Diga】
Here's the catalog title
1.Turbo Console Log
usage : First select the content to be printed ==>ctrl+alt+L==> Print out what needs to be printed
console.log("throttle -> fn", fn)
2.Auto Rename Tag
<div></div>
Modify the previous label The following automatic changes div==>a
<a></a>
3.Prettier - Code formatter
Automatic code alignment
"editor.formatOnSave": true,
4.document this
two ctrl + alt + D perhaps /** You will be prompted to use document
/** * * * @param {*} fn * @param {*} gapTime * @return {*} */
function throttle(fn, gapTime) {
}
/** * @description * @param {*} aa */
function dd(aa){
}
/** @type {*} */
var evtFuncs = {
buttonClick: function(evt) {
if (evt.data.type == "ok") {
that.hide("ok");
}
},
5.Chinese (Simplified) Language Pack for Visual Studio Code
Transfer to Chinese version -- Chinese language pack
7.vscode-fileheader
ctrl+alt+i The comment file appears at the top of the file
stay .vscode Add settings.json
{
"fileheader.Author": "wangjigen",
"fileheader.LastModifiedBy": "wangjigen"
}
Use ctrl+alt+i
8. jsdoc
/**
* describe
* @author wangjigen
* @date 2022-04-02
* @param {object} e
* @returns {any}
*/
Shortcut key
ctrl+p Search file name \
ctrl+2 New window
ctrl+J Switching terminals
9.Color Highlight
– Highlight colors in code
css The colors are displayed
10.Highlight Matching Tag
– Highlight the matching label
11.indent-rainbow
– Rainbow indent hint
12.Path Autocomplete
– Path auto completion
// Whether to carry the extended name of the file when importing the file
"path-autocomplete.extensionOnImport": true,
// To configure @ Path hint for
"path-autocomplete.pathMappings": {
"@": "${folder}/src"
}
settings.json
Project construction .vscode Folder
build settings.json
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
// Whether to carry the extended name of the file when importing the file
"path-autocomplete.extensionOnImport": true,//Path Autocomplete
// To configure @ Path hint for
"path-autocomplete.pathMappings": {
//Path Autocomplete
"@": "${folder}/src"
},
"vetur.validation.interpolation": false,
"vetur.underline.refValue": false,
"fileheader.Author": "wangjigen",//vscode-fileheader
"fileheader.LastModifiedBy": "wangjigen",//vscode-fileheader
"docthis.includeDescriptionTag": true,//document this
"editor.formatOnSave": true,//Prettier - Code formatter
"editor.fontLigatures": false,
"typescript.tsdk": "node_modules/typescript/lib"
}
View the whole body of the current file
Clear away all console.log()
console\.log\(.*?\)
版权声明
本文为[Diga]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220717433450.html
边栏推荐
- [hcip] detailed explanation of six LSAS commonly used by OSPF
- Flink learning (XI) watermark
- leangoo脑图-共享式多人协作思维导图工具分享
- Chapter VII project communication management of information system project manager summary
- Rhcsa second day operation
- Linux redis - redis ha sentinel cluster construction details & redis master-slave deployment
- Chapter VI project information management system summary
- Huashu "deep learning" and code implementation: 01 Linear Algebra: basic concepts + code implementation basic operations
- Shell learning notes -- shell processing of output stream awk
- Wepy learning record
猜你喜欢
Kubernetes study notes
【unity3D】直播间滚动式弹幕效果
Linux redis - redis ha sentinel cluster construction details & redis master-slave deployment
Efficient music format conversion tool Music Converter Pro
Log cutting - build a remote log collection server
LeetCode 1450 - 1453
The way to conquer C language
Kubernetes - Introduction to actual combat
L2-006 樹的遍曆(中後序確定二叉樹&層序遍曆)
Huashu "deep learning" and code implementation: 01 Linear Algebra: basic concepts + code implementation basic operations
随机推荐
Kubernetes - detailed explanation of pod
MySQL复杂查询使用临时表/with as(类似表变量)
[if you want to do a good job, you must first use its tools] Guide for downloading and using paper editing and document management (endnote, latex, jabref, overflow) resources
AC380V drop 5v12v24v200ma, UHV non isolated chip IC scheme
MySQL / SQL Server判断表或临时表存在则删除
Probabilistic model of machine learning
Devil cold rice 𞓜 078 devil answers the market in Shanghai and Nanjing; Communication and guidance; Winning the country and killing and screening; The purpose of making money; Change other people's op
Shell script learning -- practical case
Innovation and management based on Scrum
leangoo脑图-共享式多人协作思维导图工具分享
Step principle of logical regression in machine learning
重大危险源企业如何保障年底前完成双预防机制数字化建设任务
Specific field information of MySQL export table (detailed operation of Navicat client)
Six very 6 computer driver managers: what software is good for driver upgrade? Recommended by the best computer driver management software abroad
Chapter VII project communication management of information system project manager summary
Learn regular expression options, assertions
Shell script learning notes - regular expressions
Interpretation of the future development of smart agriculture
Microservices (distributed architecture)
Get together to watch (detailed version) eat a few cents a day