File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 22
22
"Enable Sticky Scroll#!settings.label.terminal.shell.stickyScroll" : " 启用黏性滚动" ,
23
23
"Display the current command at the top of the terminal#!settings.comments.0.terminal.shell.stickyScroll" : " 在终端顶部显示当前命令" ,
24
24
"Requires Shell Integration to be enabled#!settings.comments.1.terminal.shell.stickyScroll" : " 需要启用 Shell 集成" ,
25
+ "Enable Zsh Capture Completion#!settings.label.terminal.shell.experimentalZshCaptureCompletion" : " 启用 Zsh 捕获补全" ,
26
+ "Get completions from zsh pty session#!settings.comments.0.terminal.shell.experimentalZshCaptureCompletion" : " 从 zsh pty 会话获取补全" ,
27
+ "Requires Shell Integration to be enabled#!settings.comments.1.terminal.shell.experimentalZshCaptureCompletion" : " 需要启用 Shell 集成" ,
25
28
"External#!settings.group.terminal.external" : " 外部" ,
26
29
"Open External Path In#!settings.label.terminal.external.openPathIn" : " 打开外部路径于" ,
27
30
"Specify how to open external paths#!settings.comments.0.terminal.external.openPathIn" : " 指定如何打开外部路径" ,
116
119
"List of enabled addon name#!settings.comments.0.terminal.addon.includes" : " 启用的附加功能名称列表" ,
117
120
"Settings#!settings.1" : " 设置" ,
118
121
"Configure Settings#!settings.2" : " 配置设置" ,
119
- "Select local font#!settings.3" : " 选择本地字体"
122
+ "Select local font#!settings.3" : " 选择本地字体" ,
123
+ "Experimental#!settings.4" : " 实验性"
120
124
}
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ function pickFont(event: InputEvent) {
172
172
<VisualIcon name =" lucide-chevron-down" />
173
173
</a >
174
174
<span class =" line-description" >
175
+ <span v-if =" spec.experimental" v-i18n class =" item-tag" @click.prevent >Experimental#!settings.4</span >
175
176
<span v-i18n class =" item-label" @click.prevent >{{ spec.label }}#!settings.label.{{ spec.key }}</span >
176
177
<span class =" item-key" @click.prevent >{{ spec.key }}</span >
177
178
<a v-if =" isRecoverable" data-commas class =" recover" @click.prevent =" recover" >
@@ -289,6 +290,17 @@ function pickFont(event: InputEvent) {
289
290
font-style : italic ;
290
291
}
291
292
}
293
+ .item-tag {
294
+ flex : none ;
295
+ align-self : center ;
296
+ padding : 4px 0.5em ;
297
+ color : white ;
298
+ font-size : 12px ;
299
+ line-height : 1em ;
300
+ text-transform : uppercase ;
301
+ background : rgb (var (--theme-red ));
302
+ border-radius : 1em ;
303
+ }
292
304
.item-key {
293
305
flex : none ;
294
306
margin-left : 8px ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export interface Settings {
17
17
'terminal.shell.highlightErrors' : boolean ,
18
18
'terminal.shell.autoCompletion' : boolean ,
19
19
'terminal.shell.stickyScroll' : boolean ,
20
+ 'terminal.shell.captureCompletion' : boolean ,
20
21
'terminal.external.openPathIn' : 'new-tab' | 'new-window' ,
21
22
'terminal.external.explorer' : string ,
22
23
'terminal.external.remoteExplorer' : string ,
@@ -55,4 +56,5 @@ export interface SettingsSpec {
55
56
reload ?: boolean ,
56
57
overrides ?: boolean ,
57
58
default ?: any ,
59
+ experimental ?: boolean ,
58
60
}
You can’t perform that action at this time.
0 commit comments