You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,10 @@ VSCode renders it like this:
115
115
As of today, the extension supports variable substitution for:
116
116
117
117
* a subset of predefined variables like `file`, `fileDirName`, `fileBasenameNoExtension`, `fileBasename`, `lineNumber`, `extension`, `workspaceFolder` and `workspaceFolderBasename`, pattern: `${variable}`
118
+
* an arbitrary value via `prompt` (combine options using `&` like URL query strings):
119
+
*`${prompt}` to show an input box for an arbitrary value
120
+
*`${prompt:rememberPrevious=false}` to disable the default action of initializing the input box with the previous value
121
+
*`${prompt:prompt=Custom prompt text}` to configure the label of the input box to show `Custom prompt text`
118
122
* the remembered value (the default value when `rememberPrevious` is true), available as `${rememberedValue}`
119
123
* all config variables, pattern: `${config:variable}`
120
124
* all environment variables (`tasks.json``options.env` with fallback to parent process), pattern: `${env:variable}`
0 commit comments