pickStringRemember
: multi pick: if a picked value is an object its key-value pairs are put in the remember storage.config.expression
: if value is a string do notJSON.stringify()
pickStringRemember
: if a picked value is an object you can override the key used to pick a value from the remember storage: use__key
in the objectpickStringRemember
: propertyjoinByKey
: the picked value objects are joined by key using the separator into a single object.
remember
:default
property in case key is not foundpickStringRemember
:picked
item property of option, initial picked item
pickStringRemember
: options from file: whenpattern
: also setdescription
whenoption
not defined, like v1.64
pickStringRemember
: options from file: fix bug with handlingjson
inpattern
object
pickStringRemember
: options from file: define a 'split' regex/flags
pickStringRemember
: options from file: use multi line regex, capture possibledescription
anddetail
pickStringRemember
:addLabelToTop
reorder the list and put a particular label on top (previous pick?)
transform
:saveToFile
- file path property - save result to a file and return the file pathtransform
:empty
- store in remember store or file but return empty sting
pickFile
: select multiple filesopenDialog
: select multiple filesjs.expression
: alias forconfig.expression
${jsExpression:name}
${index}
,${index:name}
: set when transforming multiple selected file URIs.
file.content
: result of the expression/value anddefault
property can be the empty string
config.expression
:configVariable
is optional, evaluate JS expression without a config valueREADME
: example variables in JS expression
${workspaceFolder:name:nomsg}
: option to suppress error message
openDialog
: get file path from the OS File/Directory open dialogsaveDialog
: get file path from the OS File save dialog${openDialog}
variable${saveDialog}
variable
- README:
|
is interpreted by Marketplace as a table character inpickFile
valueTransform
variableSubstitution
: pass variable result to 1 or more filters (regexEscape
,upperCase
,lowerCase
), use|
variableSubstitution
:|
is not allowed in a property separator in a variable
remember
: when storing you can manipulate (append, prepend) an existing remembered value
variableSubstitution
: ApplyvariableSubstitution
to the text until it no longer changes
pickFile
:"display": "transform"
, usetransform
command to manipilatevalue
,label
anddescription
of QuickPick list items
${result}
variable
${command:name}
: propertycommand
can contain variables
extension.commandvariable.getClipboard
: get the content of the clipboard
file.content
,config.expression
:"debug": true
, show debug log messages in Developer Tools Console
inTerminal
:"when": "file.exists path"
pickFile
:"display": "relativePath"
, and it is now the default
- README update for
${configExpression:name}
:configVariable
must contain asection
part (at least 1.
) :sectionX.configY
file.content
: fix error message if you escape a UI element due to variables, pass the escape forward
commandvariable.remember.persistent.file
: (setting) persistent storage forremember
in local file system
promptStringRemember
: on next call, with given key, use remembered/previous value as default
pickStringRemember
: read options from a JSON file
pickStringRemember
: multi pick -dependsOn
: perform group validation based on picked items, filter picked items in output based on other picked items
pickStringRemember
: remember previous multi pick items persistent (global or workspace)
pickStringRemember
: multi pick items and remember previous multi pickpickStringRemember
: create (named) item groups with optionalminCount
andmaxCount
constraint
transform
only perform variable substitution onreplace
whenfind
is found intext
pickStringRemember
: options can be an object, variables can be shown resolved in pick list${command:name}
: variable substitution inargs
of command
pickFile
andremember
: transform the result, use part of the picked file pathpickFile
: propertyempty
to return empty string, silent pick, use pick result inremember
command/variabletransform
: apply a sequence of find-replace operations
transform
: use of variables allowed in all properties
transform
: use of variables allowed in all properties
pickFile
: use of variables allowed infromFolder
filepaths
pickFile
:acceptIfOneFile
to automatically accept the file if pickList has 1 entry
pickFile
: transform label forfromFolder
pickList if path is too long
- variables :
${env:name}
,${pathSeparator}
,${userHome}
file.content
: extract an expression value from a YAML file
promptStringRemember
: allow to escape when a default is set, show default in inputbox
extension.commandvariable.number
: from range of numbers - sequence of numbers with step or random numberremember
command and variable can retrieve last value of namednumber
:key
format isnumber-name
- README: mark
pickStringRemember
,promptStringRemember
andremember
as Web commands
${workspaceFolderBasename}
key
ofremember
command can have variables
transform
stores the result for a given key{transform:name}
transform command as variablecheckEscapedUI
for compound task/launch
extension.commandvariable.workspace.folderBasename
: basename of workspace root of current fileextension.commandvariable.workspace.folder
: workspace root of current file
pickStringRemember
remember transformed value or not${remember}
remember variable can have a named argument, so you can also store values- deprecation messages for
rememberPick
(variable and command) (once per session)
README
: prevent KaTex Markdown to recognize a math expression
pickStringRemember
error "text.replace
is not a function" when using multiple values to store.
pickFile
propertyfromFolder
has afixed
option (no picklist)
pickStringRemember
in theremember
storage thevalue
string after variable substitution is stored.- if you escape a UI element in a variable the result of the variable substitution will be
undefined
pickFile
can now pick directorypickStringRemember
values may contain variables
${workspaceFolder}
also works if current editor is not part of a workspace
commandvariable.pickStringRemember
read options from a file
extension.commandvariable.setClipboard
set the content of the clipboard
- if VSC
${command}
variable is used in launch config string the launch config is passed as argument, add workaround/check
- variable
${command}
in argument strings
workspace.folderPosix
workspace.folderNUp
workspace.folderNUpPosix
- add
CHANGELOG.md
workspace.workspaceFolderPosix
config.expression
- variable
${configExpression:name}
file.relativeFileDots
file.relativeFileDotsNoExtension
- web extension supports more commands
- web extension supports
date
commands (issue #25)
file.content
propertieskey
andjson
can contain variablesremember
can store key-value pair(s)remember
store has a default content for keyempty
, an empty string
- variable
${fileContent:name}
(also for key-value and json property) - command
remember
rememberPick
pickFile
can remember the picked file by key ("keyRemember"
)
pickFile
can be used in a variable:${pickFile:name}
pickFile
has propertydescription
pickStringRemember
can store multiple values with 1 pick
promptStringRemember
command and variable
pickStringRemember
can be used in a variable:${pickStringRemember:name}
rememberPick
can be used in a variable:${rememberPick:key}
inTerminal
: type result of command in the terminal
fileAsKey
: debug log (@debug
)string.replaceAll()
is not supported on VSC remote
pickStringRemember
can now also work with[label,value]
tuples
fileAsKey
: get file path from command (@useCommand
)fileAsKey
: set default value if no key matches (@default
)
- update uuid.js to v4.2.8 and allow different output formats
- VSCode Server (Remote SSH) does not support
??
and?.
pickFile
: can be limited to a Workspace folder or any other folderpickFile
: change how the file paths are displayedpickFile
: can ask for a path via additional entry
pickFile
: can return an emty string via additional entry
- In Multi Root Workspace you need to name the workspace in certain cases. In the variable or arguments.
${workspaceFolder}
and${workspaceFolder:name}
now also work if no file currently open.- everywhere a variable is allowed now all variables are allowed. (not all are usefull everywhere)
- process
${selectedText}
first so selected text could contain variable descriptions (maybe useful to somebody).