Added vscode settings

This commit is contained in:
Kristofers Solo
2022-04-28 20:54:44 +03:00
parent 245c3ca779
commit 837a479d82
25004 changed files with 2499800 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# XXX foo
# FIXME: bug
# NB: XXXx xXXX but XXX!
# ALSO HACK and NOTE and TODO highlight XXX and FIXME.
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
: comment.line.number-sign.python, source.python
XXX : comment.line.number-sign.python, keyword.codetag.notation.python, source.python
foo : comment.line.number-sign.python, source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
: comment.line.number-sign.python, source.python
FIXME : comment.line.number-sign.python, keyword.codetag.notation.python, source.python
: bug : comment.line.number-sign.python, source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
NB: XXXx xXXX but : comment.line.number-sign.python, source.python
XXX : comment.line.number-sign.python, keyword.codetag.notation.python, source.python
! : comment.line.number-sign.python, source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
ALSO : comment.line.number-sign.python, source.python
HACK : comment.line.number-sign.python, keyword.codetag.notation.python, source.python
and : comment.line.number-sign.python, source.python
NOTE : comment.line.number-sign.python, keyword.codetag.notation.python, source.python
and : comment.line.number-sign.python, source.python
TODO : comment.line.number-sign.python, keyword.codetag.notation.python, source.python
highlight : comment.line.number-sign.python, source.python
XXX : comment.line.number-sign.python, keyword.codetag.notation.python, source.python
and : comment.line.number-sign.python, source.python
FIXME : comment.line.number-sign.python, keyword.codetag.notation.python, source.python
. : comment.line.number-sign.python, source.python

View File

@@ -0,0 +1,45 @@
# type: ignore # test
# type: ignore
# type:ignore
#type:ignore
# type: ignore 1
# type: 1 ignore
# type : ignore
##type: ignore
#.type: ignore
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
ignore : comment.line.number-sign.python, comment.typehint.ignore.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
test : comment.line.number-sign.python, source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
ignore : comment.line.number-sign.python, comment.typehint.ignore.notation.python, meta.typehint.comment.python, source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
ignore : comment.line.number-sign.python, comment.typehint.ignore.notation.python, meta.typehint.comment.python, source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
ignore : comment.line.number-sign.python, comment.typehint.ignore.notation.python, meta.typehint.comment.python, source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
ignore : comment.line.number-sign.python, comment.typehint.variable.notation.python, meta.typehint.comment.python, source.python
1 : comment.line.number-sign.python, meta.typehint.comment.python, source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
1 : comment.line.number-sign.python, meta.typehint.comment.python, source.python
ignore : comment.line.number-sign.python, comment.typehint.variable.notation.python, meta.typehint.comment.python, source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
type : ignore : comment.line.number-sign.python, source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
#type: ignore : comment.line.number-sign.python, source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
.type: ignore : comment.line.number-sign.python, source.python

View File

@@ -0,0 +1,21 @@
a = 1 # type:
a = 1 # type: # 123
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
type: : comment.line.number-sign.python, source.python
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
type: # 123 : comment.line.number-sign.python, source.python

View File

@@ -0,0 +1,6 @@
# abc type: def
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
abc type: def : comment.line.number-sign.python, source.python

View File

@@ -0,0 +1,40 @@
x = None # type: List[str, a]
y = None # type: Dict[int, Any] # int
x : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
None : constant.language.python, source.python
: source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
List : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
[ : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
str : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
, : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
a : comment.line.number-sign.python, comment.typehint.variable.notation.python, meta.typehint.comment.python, source.python
] : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
y : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
None : constant.language.python, source.python
: source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
Dict : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
[ : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
int : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
, : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
Any : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
] : comment.line.number-sign.python, comment.typehint.punctuation.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
int : comment.line.number-sign.python, source.python

View File

@@ -0,0 +1,22 @@
if isinstance(t1, TypeVar): # type: ignore
continue
if : keyword.control.flow.python, source.python
: source.python
isinstance : meta.function-call.python, source.python, support.function.builtin.python
( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python
t1 : meta.function-call.arguments.python, meta.function-call.python, source.python
, : meta.function-call.arguments.python, meta.function-call.python, punctuation.separator.arguments.python, source.python
: meta.function-call.arguments.python, meta.function-call.python, source.python
TypeVar : meta.function-call.arguments.python, meta.function-call.python, source.python
) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
ignore : comment.line.number-sign.python, comment.typehint.ignore.notation.python, meta.typehint.comment.python, source.python
: source.python
continue : keyword.control.flow.python, source.python

View File

@@ -0,0 +1,19 @@
a=1#type:int
a=1#type:int#int
a : source.python
= : keyword.operator.assignment.python, source.python
1 : constant.numeric.dec.python, source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
int : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
a : source.python
= : keyword.operator.assignment.python, source.python
1 : constant.numeric.dec.python, source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
int : comment.line.number-sign.python, comment.typehint.type.notation.python, meta.typehint.comment.python, source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
int : comment.line.number-sign.python, source.python