1 | {
|
2 | "typescript.tsdk": "./node_modules/typescript/lib",
|
3 |
|
4 | "editor.fontFamily": "'Fira Code iScript', Consolas, 'Courier New', monospace",
|
5 | "editor.fontLigatures": true,
|
6 |
|
7 | "editor.tokenColorCustomizations": {
|
8 | "textMateRules": [
|
9 | {
|
10 | "scope": [
|
11 | //following will be in italics (=Pacifico)
|
12 | "comment",
|
13 | // "entity.name.type.class", //class names
|
14 | "keyword", //import, export, return…
|
15 | "support.class.builtin.js", //String, Number, Boolean…, this, super
|
16 | "storage.modifier", //static keyword
|
17 | "storage.type.class.js", //class keyword
|
18 | "storage.type.function.js", // function keyword
|
19 | "storage.type.js", // Variable declarations
|
20 | "keyword.control.import.js", // Imports
|
21 | "keyword.control.from.js", // From-Keyword
|
22 | "entity.name.type.js", // new … Expression
|
23 | "keyword.control.flow.js", // await
|
24 | "keyword.control.conditional.js", // if
|
25 | "keyword.control.loop.js", // for
|
26 | "keyword.operator.new.js", // new
|
27 | ],
|
28 | "settings": {
|
29 | "fontStyle": "italic",
|
30 | },
|
31 | },
|
32 | {
|
33 | "scope": [
|
34 | //following will be excluded from italics (My theme (Monokai dark) has some defaults I don't want to be in italics)
|
35 | "invalid",
|
36 | "keyword.operator",
|
37 | "constant.numeric.css",
|
38 | "keyword.other.unit.px.css",
|
39 | "constant.numeric.decimal.js",
|
40 | "constant.numeric.json",
|
41 | "entity.name.type.class.js"
|
42 | ],
|
43 | "settings": {
|
44 | "fontStyle": "",
|
45 | },
|
46 | }
|
47 | ]
|
48 | },
|
49 |
|
50 | "files.exclude": {
|
51 | "dist/": true,
|
52 | "doc/": true,
|
53 | "node_modules/": true,
|
54 | "package/": true,
|
55 | },
|
56 | "protoc": {
|
57 | "options": [
|
58 | "--proto_path=source_relative" // https://github.com/zxh0/vscode-proto3/issues/31#issuecomment-628162495
|
59 | ],
|
60 | },
|
61 | "alignment": {
|
62 | "operatorPadding": "right",
|
63 | "indentBase": "firstline",
|
64 | "surroundSpace": {
|
65 | "colon": [1, 1], // The first number specify how much space to add to the left, can be negative. The second number is how much space to the right, can be negative.
|
66 | "assignment": [1, 1], // The same as above.
|
67 | "arrow": [1, 1], // The same as above.
|
68 | "comment": 2, // Special how much space to add between the trailing comment and the code.
|
69 | // If this value is negative, it means don't align the trailing comment.
|
70 | }
|
71 | },
|
72 | "editor.formatOnSave": false,
|
73 | "python.pythonPath": "python3",
|
74 | "eslint.validate": [
|
75 | "javascript",
|
76 | "typescript",
|
77 | ],
|
78 | "cSpell.words": [
|
79 | "PYPI",
|
80 | "bdist",
|
81 | "proto",
|
82 | "sdist",
|
83 | "setuptools"
|
84 | ],
|
85 | "python.linting.pylintEnabled": true,
|
86 |
|
87 | }
|
88 |
|