# vscode 常用插件
# 1. JetBrains Icon Theme
说明:
- Icon theme extension for Visual Studio Code that uses JetBrains IntelliJ product icons.
- 插件地址 (opens new window)
# 2. markdown-index
说明:
- markdown_index is an extension that can add serial numbers to your markdown title.
- 插件地址 (opens new window)
# 3. Code Spell Checker
说明:
- A basic spell checker that works well with code and documents.
- 插件地址 (opens new window)
# 4. Live Server
说明:
- Launch a local development server with live reload feature for static & dynamic pages.
- 插件地址 (opens new window)
# 5. Vue Language Features (Volar)
说明:
- Fast Vue Language Support Extension
- 插件地址 (opens new window)
# 6. Auto Close Tag
说明:
- Automatically add HTML/XML close tag, same as Visual Studio IDE or Sublime Text does.
- 插件地址 (opens new window)
# 7. Auto Rename Tag
说明:
- Automatically rename paired HTML/XML tag, same as Visual Studio IDE does.
- 插件地址 (opens new window)
# 8. REST Client
说明:
- 发送 http 请求
- 插件地址 (opens new window)
使用方式 1:
- 创建
.http
后缀的文件,右键菜单 “send Request”
使用方式 2:
- 在 md 文件创建
http
类型的代码块,vscode 会显示一个 “Send Request” 的链接
示例:
POST http://127.0.0.1:7001/test/post
Content-Type: application/json
{
"name": "王五",
"age": 21
}
# 9. vscode-author-generator
说明:
- 自动生成
@author
@email
@create date
@modify date
@desc
- 可编辑模板
- 插件地址 (opens new window)
模板:
位置:
C:\Users\wuqinfei\.vscode\extensions\edwardhjp.vscode-author-generator-0.2.2\templates
文件:
md.tpl
,针对.md
后缀的文件内容:
<!--#region @author [author] @email [email] @create date [date] @modify date [date] @desc [description] #endregion-->
# 10. Java Server Pages (JSP)
说明:
- JSP 语法高亮
- 插件地址 (opens new window)
# 11. 手动安装插件
切换到
Microsoft VS Code\bin
目录将所有
.vsix
文件拷贝到当前目录执行 cmd 命令:
.\code --install-extension .\***.vsix
# 12. 参考
上一篇: 下一篇:
本章目录