✨ feat(vscode): 代码阅读契约加命令规则(按命令名注册、读一条命令)、按位置的参数 / 输出 / 返回、解释器和选项块、分情况 / 命令 / 管道种类、常量色;模板引擎加节点读法;没有定义、高亮提供者的语言用语言插件认的同一文件里的名字跳转、高亮
This commit is contained in:
1 parent
cf09c24730
commit
ff2a44f080
17 files changed
+555
-60
No files matched your search
@@ -21,9 +21,13 @@ import {
|
||||
Shield,
|
||||
ShieldAlert,
|
||||
ShieldCheck,
|
||||
Signpost,
|
||||
SlidersHorizontal,
|
||||
Split,
|
||||
SquareFunction,
|
||||
SquareTerminal,
|
||||
Tag,
|
||||
Terminal,
|
||||
TriangleAlert,
|
||||
Variable,
|
||||
} from 'lucide-react'
|
||||
@@ -48,6 +52,10 @@ export const KIND_ICON_COMPONENTS: Record<KindIconName, LucideIcon> = {
|
||||
'corner-down-left': CornerDownLeft,
|
||||
'code': Code,
|
||||
'message-square-text': MessageSquareText,
|
||||
'terminal': Terminal,
|
||||
'sliders-horizontal': SlidersHorizontal,
|
||||
'signpost': Signpost,
|
||||
'square-terminal': SquareTerminal,
|
||||
'database': Database,
|
||||
'package': Package,
|
||||
'server-cog': ServerCog,
|
||||
@@ -79,6 +87,11 @@ export const KIND_ICONS: Record<BlockKind, KindIconName> = {
|
||||
return: 'corner-down-left',
|
||||
statement: 'code',
|
||||
comment: 'message-square-text',
|
||||
interpreter: 'terminal',
|
||||
options: 'sliders-horizontal',
|
||||
case: 'signpost',
|
||||
command: 'square-terminal',
|
||||
pipeline: 'square-terminal',
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user