vscodestepsscripts READMEThis extension executes scripts with several steps, that performs these three kind of actions:
You must give the script of step in a json format. You can compose it following intructions bellow. Create json Step fileIn a new and empty json file type snippet "TJAMInitStepFile" and it will bring the format of the scrip file. The begining is a Description for the script and the start to create steps. { "Description": "Script to guide new version steps", "vsCodeSteps": [ Create a new stepIn the file you can create a new step typing snippet TJAMScriptStep. This create the struture of an step, this way:
Argument in stepscriptArgument have diferent definitions depending "scriptExecType" options:
Snippet to help arguments selectionIf you are in a new step, in Argument setup you can use completion item "Get argument depending on action" to set the argument of the step. The behavior of this snippet is conditioned by the "scriptExecType" of the step:
In adition, to select ExecType can be used completion item "Get ExecType". This will show distint exec type options to select one. FeaturesYou can create JSON file with steps configuration and when complete the file, execute command "JAM: Execute current VsCode Script". Then you will see a tab with the action step excuted, and a button to execute next step until the end all the steps of the .json file: Snippets TJAMInitStepFile and TJAMScriptStep will help you to build the json scripting file. Files precedenceIt is very important to clear what is the execution precedence when we raise the "JAM: Execute current VsCode Script" command. Depending the editor situation and extension configuration, the executed script file taken for the command will be:
JSON in tree viewwith command "JAM: show current JSON in treeview" you can see the current json file in editor in a tree view. The tree view panel is shown in extension panel, at the bottom. With the title "EXPLORE JSON OBJECT". Not visible by default. The final (future) goal is to show installed extensions information, this way you can see the commands and their api. Show all commands from all installed extensionsWith the command "JAM: Get installed extensions command info and save to JSON file" you can save in a json file all the commands from all installed extensions, trough a file dialog. Command "JAM: Open a file dialog and write selection in document"This command will open a file dialog and write the selected file in document position. Command "JAM: Open a folder dialog and write selection in document"This command will open a folder dialog and write the selected folder in document position. Snippet "tpowwerShellExcution"This snippet helps us to write a powershell statement from command shell terminal execution. In other words, a powershell file execution from ms-dos command shell. The steps are:
RequirementsVsCode. Extension SettingsThis extension contributes the following settings:
Known IssuesRelease Notes |