- 一、再打開settings.json檔案
- 二、進行markdown.json檔案的配置
- 三、個人的配置
一、再打開settings.json檔案
- 按下ctrl+shift+p,輸入settings.json,找到這個檔案
- 配置下面代碼
"[markdown]": {
"editor.formatOnSave": true,
"editor.renderWhitespace": "all",
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.acceptSuggestionOnEnter": "on"
}
二、進行markdown.json檔案的配置
-
打開編輯器>檔案>首選項>用戶代碼片段>下拉框中選中markdown語言,進入markdown.json
-
如何配置,有英文說明,下面是中文說明和例子
"con": { //輸入con就會進行提示
"prefix": "console", //面板修正
"body": [
"console.log($1);",// ""這個里面是回車后的主體,$1是游標第一次停留位置,$2是游標第二次停留位置,使用tab進行切換,當然你也可以設定$3,$4,,,,,,,
"$2"
],
"description": "console.log" //描述提示
},
三、個人的配置
-
配置了紅黃藍綠四種字體顏色標簽生成
如ftb組合:藍色
-
配置字體大小標簽生成
fts組合:字體
-
配置字體樣式標簽生成
ftf組合:字體樣式
-
配置矩陣生成
jleft組合:
A= { a b c d e f } \left\{ \begin{matrix}a & b & c \\ d & e & f \end{matrix} \right\} {ad?be?cf?}
-
配置行列式生成
hleft組合:
∣ a b c d e f ∣ \left| \begin{array}{lcr}a & b & c \\ d & e & f \end{array} \right| ∣∣∣∣?ad?be?cf?∣∣∣∣?
-
配置帶省略的矩陣生成
sleft組合:
A= { a b ? e f g ? j ? ? ? ? p q ? t } \left\{ \begin{matrix}a & b & \cdots & e \\ f & g & \cdots & j \\ \vdots & \vdots & \ddots & \vdots \\ p & q & \cdots & t \end{matrix} \right\} ??????????af?p?bg?q??????ej?t???????????
-
配置語言高亮生成
如`c組合://c語言
-
配置上角標、下角標生成
上:sup
hhhhtm下:sub
H2O
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/189030.html
標籤:java
上一篇:上班防摸魚插件(知乎頁面)
下一篇:Promise封裝異步操作
