自己在文件类型中加一个,名称叫【python+C】 ,文件名模式这一栏要加*.pyx的后缀,之后双击【python+C】编辑这个文件类型
这里1、2、3、4配置如下
python
# 1
"
#
&
'
*
+
,
-
/
:
;
<
=
>
@
[
]
{
}
# 2
False
None
True
and
as
assert
break
cdef
cimport
class
continue
cpdef
ctypedef
def
del
elif
else
enum
except
extern
final
finally
for
from
gil
global
if
import
in
include
is
lambda
language_level
nogil
nonlocal
not
or
pass
raise
return
struct
try
union
while
with
yield
# 3
(
)
# 4
char
double
enum
float
int
long
short
unsigned
void
也可以按照自己喜欢的样式配置,关键字大概就这些