- added
autoSelectWorkspace
setting, which can select the current workspace by active text editor automatically - added
onActiveEditorChanged
event setting for commands
- added
extension.scriptCommands.selectWorkspace
, which can change between workspaces now
- started to refactor to new, upcoming Multi Root Workspace API
$addValue
,$DELETE
,$GET
,$HEAD
,$htmlDecode
,$openInTab
,$OPTIONS
,$PATCH
,$POST
,$PUT
,$readJSONFrom
,$REQUEST
,$sendJSONTo
,$workflow
,$xmlDecode
,$htmlEncode
functions for quick executions$openHtml
can handle async Promise results now- bugfixes
- added
$appendFile()
,$executeForState()
,$ip()
,$push()
,$receiveFrom()
,$saveJSON
,$stopReceiveFrom()
and$sendTo
functions for quick executions - added
$events
,$globalEvents
,$lastResult
,$previousValue
,$nextValue
and$values
variables for quick executions - added
saveResultsToState
quick execution setting - added
globalEvents
property to ScriptCommandExecutorArguments interface
- added
$startApi()
and$stopApi()
functions for quick executions, that can interact with extensions like vs-rest-api - added
$getCronJobs()
,$restartCronJobs()
,$startCronJobs()
and$stopCronJobs()
functions for quick executions, that can interact with extensions like vs-cron
- added
$clearHistory
,$history
,$removeFromHistory
and$saveToHistory
functions - added
$doNotShowResult
symbol - added
saveToGlobalHistory
andsaveToHistory
settings
- added
$password()
and$randomString()
functions for quick executions
- added
$rand()
function for quick executions
- added
$
and$readJSON()
and$readString()
functions for quick executions
- added
$guid()
,$hash()
,$md5()
,$sha1()
,$sha256()
and$uuid()
functions for quick executions
- Buffer results are displayed in "hex view" now, when displaying in tab
- added
$toHexView()
,$disableHexView()
functions and$config
variable for quick executions - added
toHexView()
method for ScriptCommandExecutorArguments interface
- added
$findFiles()
function for quick executions - added
findFiles()
method for ScriptCommandExecutorArguments interface
- added
$fromMarkdown()
,$htmlEncode()
and$log()
functions for quick executions - added
fromMarkdown()
andhtmlEncode()
methods for ScriptCommandExecutorArguments interface
- added
$output
variable for Quick execution command
- added
$globals
variable for Quick execution command
- added
$mkdir
function for Quick execution command
- added
Script commands: Quick execution
command that can execute JavaScript code quickly ... enter$help
as first action to get information about available functions and variables
- added
onWillSave
setting for commands, which indicates to invoke commands if a file is going to be saved
- the behavior of executing scripts has been improved ... if you come from version 1.x, have a look at the wiki first
- if you have problems, you can open an issue and/or download a version 1.x branch from here
- added
startApi()
andstopApi()
methods to ScriptCommandExecutorArguments interface, which make use of commands provided by extensions like vs-rest-api
- added
getCronJobs()
,restartCronJobs()
,startCronJobs()
andstopCronJobs()
methods to ScriptCommandExecutorArguments interface, which make use of commands provided by extensions like vs-cron - added
others
property to ScriptCommandExecutorArguments interface
- added deploy method to ScriptCommandExecutorArguments which make use of
extension.deploy.filesTo
command, provided by vs-deploy extension
- added outputChannel property to ScriptCommandExecutorArguments that gets the OutputChannel instance of that extension
- added log() method to ScriptCommandExecutorArguments that writes log messages to output window / channel
- added openHtml() method to ScriptCommandExecutorArguments which can open HTML documents in a new tab
- added events property, that can handle events for all commands created by that extension
- added cached property
- added previousValue and nextValue properties that can share data between two executions
- added extension property that returns the context of this extension
- added
commandState
to ScriptCommand
- added
arguments
andsuppressArguments
to ScriptCommandExecutorArguments
- extended ScriptCommandExecutorArguments interface
- first official release