当前位置:网站首页>vscode的插件
vscode的插件
2022-04-22 07:17:00 【滴噶】
这里写目录标题
1.Turbo Console Log
用法:先选择需要打印的内容==>ctrl+alt+L==>打印出了需要打印的内容
console.log("throttle -> fn", fn)
2.Auto Rename Tag
<div></div>
修改前面的标签 后面的自动变化div==>a
<a></a>
3.Prettier - Code formatter
代码自动对齐
"editor.formatOnSave": true,
4.document this
两次ctrl + alt + D 或者/** 会有提示使用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
转中文版--中文语言包
7.vscode-fileheader
ctrl+alt+i 出现注释文件在文件最上面
在 .vscode 加 settings.json
{
"fileheader.Author": "wangjigen",
"fileheader.LastModifiedBy": "wangjigen"
}
使用 ctrl+alt+i
8. jsdoc
/**
* 描述
* @author wangjigen
* @date 2022-04-02
* @param {object} e
* @returns {any}
*/
快捷键
ctrl+p 搜索文件名\
ctrl+2 新建窗口
ctrl+J 切换终端
9.Color Highlight
–在代码中高亮颜色
css的颜色显示出来
10.Highlight Matching Tag
– 高亮显示匹配的标签
11.indent-rainbow
–彩虹缩进提示
12.Path Autocomplete
–路径自动补全
// 导入文件时是否携带文件的拓展名
"path-autocomplete.extensionOnImport": true,
// 配置@的路径提示
"path-autocomplete.pathMappings": {
"@": "${folder}/src"
}
settings.json
项目建.vscode 文件夹
建settings.json
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
// 导入文件时是否携带文件的拓展名
"path-autocomplete.extensionOnImport": true,//Path Autocomplete
// 配置@的路径提示
"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"
}
查看当前文件的一身

清除所有的console.log()
console\.log\(.*?\)
版权声明
本文为[滴噶]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_50402587/article/details/118018057
边栏推荐
- 实验四、数据预处理
- Redis非关系型数据库—Redis高可用、持久化及性能管理
- Sun Yuchen, founder of wave field Tron, announced that it will officially launch the decentralized stable currency usdd
- 国内云安全市场突破百亿元,未来发展趋势如何?
- Magnesium oxide MgO crystal substrate | strontium titanate SrTiO3 crystal substrate | lithium niobate LiNbO3 crystal substrate; 10mm diameter
- JMETER的JDBC配置方法
- Variant quick platoon: find the largest number of top k
- 重新定义中国“芯”
- EFCore优化之AsNoTracking
- 使⽤airtestIDE⽣成脚本,使⽤脚本运⾏
猜你喜欢
随机推荐
Dual channel optical network with 16 channels of E1 + 2m multi-channel optical transmission equipment
MySQL深入学习(三一):PowerDesigner的使用
软件测试面试题汇总
Tensorflow usage notes
提供4路E1业务口4路百兆隔离网络2M E1专网多业务PDH光端机
牛客白月赛6【题解】
Amino (- NH2) phthalocyanine copper CAS: 28632-30-6 (tetraaminophthalocyanine) copper (II) tetraaminophthalocyanine copper (cutapc) - shared by Qiyue biological editor
Sun Yuchen, founder of wave field Tron, announced that it will officially launch the decentralized stable currency usdd
国内知名公共 DNS 服务器居然有你知道哪些
牛客白月赛5 【题解 数学场】
Should everyone use OKR?
oh-my-notepro
[quick link] a necessary calculation tool for Electronic Engineers - square wave circuit aided design form
【欧拉计划第 13 题】 大数之和 Large sum
16路E1光端机+4路百兆以太网络光端机PDH光端机2M综合业务光端机
4E1 + 2-way Gigabit isolation network + 4-way 100m physical isolation network PDH optical transceiver
Cr doped strontium titanate Cr: SrTiO3 crystal substrate | NaCl < 111 > 10x10x2 0mm1sp crystal substrate | Al2O3 sapphire crystal substrate | Qiyue biology
Hanyuan hi tech 8e1 private network 4-way 100m isolated network PDH optical transceiver E1 private network service 16m service optical transceiver
Lanthanum aluminate LaAlO3 crystal substrate | silicon Si crystal substrate | iron doped strontium titanate Fe: SrTiO3 crystal substrate | strontium niobate NB: SrTiO3 crystal substrate | Qiyue suppli
力扣(LeetCode)111. 平衡二叉树(2022.04.21)






![[quick link] a necessary calculation tool for Electronic Engineers - square wave circuit aided design form](/img/64/7c857ed94047f2a7b1d7be6d35e3b7.png)


