✨ feat(vscode): 代码阅读中文直译里 Python 的 not x、TypeScript 的 !x 读成「x 不成立」(如果 root_dir.is_dir() 不成立),Python 走节点模板,TypeScript 用节点读法只换 !,去掉「非」的译法和它补空格的特例
This commit is contained in:
1 parent
e3c8c1b118
commit
e1a5f4f012
9 files changed
+99
-35
No files matched your search
@@ -600,7 +600,7 @@ export interface CommentBlock extends TextBlock { kind: 'comment' }
|
||||
export type TokenRole
|
||||
= | 'keyword' // 流程关键字:import from export if else for return try catch await …
|
||||
| 'storage' // 声明关键字与字面量关键字:const function async class interface new true false null …
|
||||
| 'operator' // 被翻成文字的运算符:全等 并且 或者 非
|
||||
| 'operator' // 被翻成文字的运算符:全等 并且 或者
|
||||
| 'hint' // 属性表里的说明词:未标注 无 N 个 默认导出 …
|
||||
| 'constant' // 按习惯全大写、当常量用的名字(shell 的 PY_VERSION、HOME)
|
||||
| 'variable' | 'function' | 'type' | 'string' | 'number' | 'literal' | 'comment' | 'plain'
|
||||
|
||||
Reference in new issue
Block a user