-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VSC_Python_colouring
69 lines (67 loc) · 3.02 KB
/
VSC_Python_colouring
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
I was really tired with the syntax colouring in VSC so here is my choice of colours. Paste this code in your settings.json file in VSC.
------------------------------------------------------------------------------------------------------------------------------------------------------------
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "variable.parameter.function.python, variable.language.python",
"settings": {
"foreground": "#fa902d" // Function Arguments
}
},
{
"scope": "keyword.operator",
"settings": {
"foreground": "#f4148b" // Operators
}
},
{
"scope": "string.quoted.double.single-line.python, string.quoted.single.single-line.python, string.quoted.single.block.python, string.quoted.double.block.python, constant.character.escape.linefeed.python",
"settings": {
"foreground": "#ffe600" // Strings
}
},
{
"scope": "entity.name.function.python, punctuation.definition.decorator.python, meta.function-call.python",
"settings": {
"foreground": "#66ee31" // Normal Function Names
}
},
{
"scope": "storage.type.function.python, storage.type.class.python, storage.modifier.global.python",
"settings": {
"foreground": "#c660f6" // def keyword & class keyword
}
},
{
"scope": "support.function.magic.python, support.function.builtin.python, entity.name.function.decorator.python",
"settings": {
"foreground": "#5ff8b0ed" // Magic Methods
}
},
{
"scope": "constant.language.python",
"settings": {
"foreground": "#ae73ce" // True, False & None
}
},
{
"scope": "meta.item-access.arguments.python, meta.function-call.arguments.python, meta.function.parameters.python",
"settings": {
"foreground": "#DCDCAA" // stuff in a bracket
}
},
{
"scope": "comment.line.number-sign.python",
"settings": {
"foreground": "#fbd5a2" // comments
}
},
{
"scope": "keyword.control.import.from.python, keyword.control.import.python, keyword.control.flow.python, keyword.operator.logical.python, keyword.other.python",
"settings": {
"foreground": "#02b7f3" // control statments
}
}
]
}
---------------------------------------------------------------------------------------------------------------------------------------------------------------