VSCode

1. 在VSCode中编辑MarkDown

1.1. 使用命令

1
ctrl+shit+p

1.2. 标题自动编号

  • 安装markdown_index.

  • 运行 > markdown add index,即可自动添加序号

visual studio code 中搭建 javascript 开发环境

安装插件

  • Code Runner
  • Debugger for Chrome

添加配置文件

在 launch.json 中添加配置如下

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome and new instance of Chrome",
"type": "chrome",
"request": "launch",
"url": "file:///C:/Users/xz/Desktop/test",
"sourceMaps": true,
"webRoot": "E:/apache-tomcat-8.0.21/webapps/Test",
},
{
"name": "Attach to Chrome",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"webRoot": "${workspaceRoot}"
}
]
}