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,27 @@
some_number: int # variable without initial value
some_list: List[int] = [] # variable with initial value
some_number : source.python
: : punctuation.separator.colon.python, source.python
: source.python
int : source.python, support.type.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
variable without initial value : comment.line.number-sign.python, source.python
some_list : source.python
: : punctuation.separator.colon.python, source.python
: source.python
List : meta.item-access.python, source.python
[ : meta.item-access.python, punctuation.definition.arguments.begin.python, source.python
int : meta.item-access.arguments.python, meta.item-access.python, source.python, support.type.python
] : meta.item-access.python, punctuation.definition.arguments.end.python, source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
[ : punctuation.definition.list.begin.python, source.python
] : punctuation.definition.list.end.python, source.python
: source.python
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
variable with initial value : comment.line.number-sign.python, source.python

View File

@@ -0,0 +1,29 @@
for a, b, c in b:
pass
else:
1/0
for : keyword.control.flow.python, source.python
: source.python
a : source.python
, : punctuation.separator.element.python, source.python
: source.python
b : source.python
, : punctuation.separator.element.python, source.python
: source.python
c : source.python
: source.python
in : keyword.operator.logical.python, source.python
: source.python
b : source.python
: : punctuation.separator.colon.python, source.python
: source.python
pass : keyword.control.flow.python, source.python
else : keyword.control.flow.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
/ : keyword.operator.arithmetic.python, source.python
0 : constant.numeric.dec.python, source.python

View File

@@ -0,0 +1,13 @@
global a, b, c
global : source.python, storage.modifier.declaration.python
: source.python
a : source.python
, : punctuation.separator.element.python, source.python
: source.python
b : source.python
, : punctuation.separator.element.python, source.python
: source.python
c : source.python

View File

@@ -0,0 +1,43 @@
if (a if b else c):
1
elif b or c and d:
2
else:
3
if : keyword.control.flow.python, source.python
: source.python
( : punctuation.parenthesis.begin.python, source.python
a : source.python
: source.python
if : keyword.control.flow.python, source.python
: source.python
b : source.python
: source.python
else : keyword.control.flow.python, source.python
: source.python
c : source.python
) : punctuation.parenthesis.end.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
elif : keyword.control.flow.python, source.python
: source.python
b : source.python
: source.python
or : keyword.operator.logical.python, source.python
: source.python
c : source.python
: source.python
and : keyword.operator.logical.python, source.python
: source.python
d : source.python
: : punctuation.separator.colon.python, source.python
: source.python
2 : constant.numeric.dec.python, source.python
else : keyword.control.flow.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
3 : constant.numeric.dec.python, source.python

View File

@@ -0,0 +1,30 @@
from ...foo import bar as spam, baz
import time as ham, datetime
from : keyword.control.import.python, source.python
: source.python
... : punctuation.separator.period.python, source.python
foo : source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
bar : source.python
: source.python
as : keyword.control.flow.python, source.python
: source.python
spam : source.python
, : punctuation.separator.element.python, source.python
: source.python
baz : source.python
import : keyword.control.import.python, source.python
: source.python
time : source.python
: source.python
as : keyword.control.flow.python, source.python
: source.python
ham : source.python
, : punctuation.separator.element.python, source.python
: source.python
datetime : source.python

View File

@@ -0,0 +1,27 @@
from .... import a
from ... import b
from .. import c
from : keyword.control.import.python, source.python
: source.python
.... : punctuation.separator.period.python, source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
a : source.python
from : keyword.control.import.python, source.python
: source.python
... : punctuation.separator.period.python, source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
b : source.python
from : keyword.control.import.python, source.python
: source.python
.. : punctuation.separator.period.python, source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
c : source.python

View File

@@ -0,0 +1,27 @@
from....import a
from...import b
from..import c
from.import d
from : keyword.control.import.python, source.python
.... : punctuation.separator.period.python, source.python
import : keyword.control.import.python, source.python
: source.python
a : source.python
from : keyword.control.import.python, source.python
... : punctuation.separator.period.python, source.python
import : keyword.control.import.python, source.python
: source.python
b : source.python
from : keyword.control.import.python, source.python
.. : punctuation.separator.period.python, source.python
import : keyword.control.import.python, source.python
: source.python
c : source.python
from : keyword.control.import.python, source.python
. : punctuation.separator.period.python, source.python
import : keyword.control.import.python, source.python
: source.python
d : source.python

View File

@@ -0,0 +1,35 @@
from....foo import a
from...foo import b
from..foo import c
from.foo import d
from : keyword.control.import.python, source.python
.... : punctuation.separator.period.python, source.python
foo : source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
a : source.python
from : keyword.control.import.python, source.python
... : punctuation.separator.period.python, source.python
foo : source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
b : source.python
from : keyword.control.import.python, source.python
.. : punctuation.separator.period.python, source.python
foo : source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
c : source.python
from : keyword.control.import.python, source.python
. : punctuation.separator.period.python, source.python
foo : source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
d : source.python

View File

@@ -0,0 +1,47 @@
from.foo import d
from.import a
foo.import
raise Exception from Foo
def bar():
yield from baz
from : keyword.control.import.python, source.python
. : punctuation.separator.period.python, source.python
foo : source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
d : source.python
from : keyword.control.import.python, source.python
. : punctuation.separator.period.python, source.python
import : keyword.control.import.python, source.python
: source.python
a : source.python
: source.python
foo : source.python
. : punctuation.separator.period.python, source.python
import : keyword.control.import.python, source.python
: source.python
raise : keyword.control.flow.python, source.python
: source.python
Exception : source.python, support.type.exception.python
: source.python
from : keyword.control.flow.python, source.python
: source.python
Foo : source.python
: source.python
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
bar : entity.name.function.python, meta.function.python, source.python
( : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.begin.python, source.python
) : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.end.python, source.python
: : meta.function.python, punctuation.section.function.begin.python, source.python
: source.python
yield from : keyword.control.flow.python, source.python
: source.python
baz : source.python

View File

@@ -0,0 +1,11 @@
from __future__ import generator_stop
from : keyword.control.flow.python, source.python
: source.python
__future__ : source.python, support.variable.magic.python
: source.python
import : keyword.control.import.python, source.python
: source.python
generator_stop : source.python

View File

@@ -0,0 +1,20 @@
from .importing import *
from importing import *
from : keyword.control.import.python, source.python
: source.python
. : punctuation.separator.period.python, source.python
importing : source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
* : keyword.operator.arithmetic.python, source.python
from : keyword.control.flow.python, source.python
: source.python
importing : source.python
: source.python
import : keyword.control.import.python, source.python
: source.python
* : keyword.operator.arithmetic.python, source.python

View File

@@ -0,0 +1,13 @@
nonlocal a, b, c
nonlocal : source.python, storage.modifier.declaration.python
: source.python
a : source.python
, : punctuation.separator.element.python, source.python
: source.python
b : source.python
, : punctuation.separator.element.python, source.python
: source.python
c : source.python

View File

@@ -0,0 +1,55 @@
try:
1/0
except AbcError as ex:
pass
except (ZeroDivisionError, GhiError) as ex:
print(ex)
else:
1
finally:
2
try : keyword.control.flow.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
/ : keyword.operator.arithmetic.python, source.python
0 : constant.numeric.dec.python, source.python
except : keyword.control.flow.python, source.python
: source.python
AbcError : source.python
: source.python
as : keyword.control.flow.python, source.python
: source.python
ex : source.python
: : punctuation.separator.colon.python, source.python
: source.python
pass : keyword.control.flow.python, source.python
except : keyword.control.flow.python, source.python
: source.python
( : punctuation.parenthesis.begin.python, source.python
ZeroDivisionError : source.python, support.type.exception.python
, : punctuation.separator.element.python, source.python
: source.python
GhiError : source.python
) : punctuation.parenthesis.end.python, source.python
: source.python
as : keyword.control.flow.python, source.python
: source.python
ex : source.python
: : punctuation.separator.colon.python, source.python
: source.python
print : meta.function-call.python, source.python, support.function.builtin.python
( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python
ex : meta.function-call.arguments.python, meta.function-call.python, source.python
) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python
else : keyword.control.flow.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
finally : keyword.control.flow.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
2 : constant.numeric.dec.python, source.python

View File

@@ -0,0 +1,11 @@
while 1:
pass
while : keyword.control.flow.python, source.python
: source.python
1 : constant.numeric.dec.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
pass : keyword.control.flow.python, source.python

View File

@@ -0,0 +1,22 @@
with a as b, c as d:
pass
with : keyword.control.flow.python, source.python
: source.python
a : source.python
: source.python
as : keyword.control.flow.python, source.python
: source.python
b : source.python
, : punctuation.separator.element.python, source.python
: source.python
c : source.python
: source.python
as : keyword.control.flow.python, source.python
: source.python
d : source.python
: : punctuation.separator.colon.python, source.python
: source.python
pass : keyword.control.flow.python, source.python