File size: 1,646 Bytes
ca46a75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
  "workbench.iconTheme": "material-icon-theme",
  "material-icon-theme.files.associations": {
    ".env.mock": "Tune",
    "requirements-dev.txt": "python-misc",
    "requirements-media.txt": "python-misc"
  },
  /** 后端代码格式化部分,python格式化 */
  "[python]": {
    "editor.defaultFormatter": "ms-python.black-formatter",
    "editor.formatOnSave": true
  },
  /** TODO tree 配置 */
  "todo-tree.general.tags": [
    "TODO", // 待办
    "FIXME", // 待修复
    "COMPAT", // 兼容性问题
    "WARNING" // 警告
  ],
  "todo-tree.highlights.customHighlight": {
    "TODO": {
      "icon": "check",
      "type": "tag",
      "foreground": "#ffff00",
      "iconColour": "#ffff"
    },
    "WARNING": {
      "icon": "alert",
      "type": "tag",
      "foreground": "#ff0000",
      "iconColour": "#ff0000"
    },
    "FIXME": {
      "icon": "flame",
      "type": "tag",
      "foreground": "#ff0000",
      "iconColour": "#ff0000"
    },
    "COMPAT": {
      "icon": "flame",
      "type": "tag",
      "foreground": "#00ff00",
      "iconColour": "#ffff"
    }
  },

  /** python代码注释 */
  "autoDocstring.docstringFormat": "numpy",

  /** markdown格式检查 */
  "markdownlint.config": {
    // 允许使用html标签
    "MD033": false,
    // 允许首行不是level1标题
    "MD041": false
  },

  /** 不显示文件夹 */
  "files.exclude": {
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/CVS": true,
    "**/.DS_Store": true,
    "**/Thumbs.db": true,
    "**/__pycache__": true,
    ".idea": true
  },
  "python.testing.pytestEnabled": true,
  "ros.distro": "humble"
}