Skip to content

Commit fad4e14

Browse files
committed
Add default snippet for automationProfile
Fixes microsoft#138249
1 parent 28820da commit fad4e14

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/vs/platform/terminal/common/terminalPlatformConfiguration.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ const terminalPlatformConfiguration: IConfigurationNode = {
121121
'anyOf': [
122122
{ type: 'null' },
123123
terminalProfileSchema
124+
],
125+
defaultSnippets: [
126+
{
127+
body: {
128+
path: '${1}',
129+
icon: '${2}'
130+
}
131+
}
124132
]
125133
},
126134
[TerminalSettingId.AutomationProfileMacOs]: {
@@ -131,6 +139,14 @@ const terminalPlatformConfiguration: IConfigurationNode = {
131139
'anyOf': [
132140
{ type: 'null' },
133141
terminalProfileSchema
142+
],
143+
defaultSnippets: [
144+
{
145+
body: {
146+
path: '${1}',
147+
icon: '${2}'
148+
}
149+
}
134150
]
135151
},
136152
[TerminalSettingId.AutomationProfileWindows]: {
@@ -141,6 +157,14 @@ const terminalPlatformConfiguration: IConfigurationNode = {
141157
'anyOf': [
142158
{ type: 'null' },
143159
terminalProfileSchema
160+
],
161+
defaultSnippets: [
162+
{
163+
body: {
164+
path: '${1}',
165+
icon: '${2}'
166+
}
167+
}
144168
]
145169
},
146170
[TerminalSettingId.ShellLinux]: {

0 commit comments

Comments
 (0)