|
1 | 1 | { |
| 2 | + /** 编辑器相关 **/ |
| 3 | + "editor.formatOnSave": true, |
| 4 | + "editor.formatOnType": false, |
| 5 | + "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 6 | + "editor.codeActionsOnSave": { |
| 7 | + "source.fixAll.markdownlint": "always", |
| 8 | + "source.fixAll": "always" |
| 9 | + }, |
2 | 10 | "[markdown]": { |
3 | 11 | "editor.fontFamily": "Sarasa Mono SC, Noto Sans Mono CJK SC, monospace", |
4 | | - "editor.formatOnType": false, |
5 | | - "editor.formatOnSave": true, |
6 | | - "editor.defaultFormatter": "DavidAnson.vscode-markdownlint" |
| 12 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
7 | 13 | }, |
| 14 | + |
| 15 | + /** Markdown 相关 **/ |
8 | 16 | "markdown.validate.enabled": true, |
9 | 17 | "markdown.validate.fileLinks.enabled": "error", |
| 18 | + "markdown.validate.referenceLinks.enabled": "ignore", |
10 | 19 | "markdown.copyFiles.destination": { |
11 | 20 | "**/*": "${documentWorkspaceFolder}/src/assets/" |
12 | 21 | }, |
13 | 22 | "markdown.updateLinksOnFileMove.enabled": "always", |
14 | | - "editor.codeActionsOnSave": { |
15 | | - "source.fixAll.markdownlint": true |
16 | | - }, |
| 23 | + "markdown.editor.pasteUrlAsFormattedLink.enabled": "smart", |
| 24 | + |
| 25 | + /** 文件管理器相关 **/ |
17 | 26 | // "explorer.sortOrder": "mixed", |
18 | 27 | "explorer.excludeGitIgnore": false, |
19 | 28 | "files.exclude": { |
|
23 | 32 | "**/CVS": true, |
24 | 33 | "**/.DS_Store": true, |
25 | 34 | "**/Thumbs.db": true |
26 | | - // custom begin |
| 35 | + |
| 36 | + /** custom begin **/ |
27 | 37 | // "node_modules": true, |
| 38 | + // "package.json": true, |
| 39 | + // "package-lock.json": true, |
| 40 | + // "pnpm-lock.yaml": true |
28 | 41 | // "**/.*": true, |
29 | 42 | // ".github": true, |
30 | 43 | // ".gitignore": true, |
31 | | - // "**/.vuepress": true, |
32 | 44 | // ".vscode": true, |
33 | 45 | // ".markdownlint.json": true, |
34 | | - // // "package.json": true, |
35 | | - // "package-lock.json": true, |
36 | | - // "CODE_OF_CONDUCT.md": true, |
| 46 | + // "**/.vuepress": true, |
37 | 47 | // "LICENSE": true |
38 | | - }, |
39 | | - "markdown.editor.pasteUrlAsFormattedLink.enabled": "smart", |
40 | | - "markdown.validate.referenceLinks.enabled": "ignore" |
| 48 | + } |
41 | 49 | } |
0 commit comments