Skip to content
This repository was archived by the owner on May 11, 2022. It is now read-only.

Available Commands in Didact and Elsewhere

Brian Fitzpatrick edited this page Jan 30, 2020 · 12 revisions

Didact Commands

The VS Code environment provides many different commands that can be called, but they may require some additional work to see what needs to be passed to them. Most will take a vscode.Uri indicating the resource they are operating on, but you may have to actually look at some code in the Microsoft VS Code GitHub repo to divine those details.

What follows is a list of commands provided by the Didact extension and any details to be passed, along with one or more examples of use.

vscode.didact.scaffoldProject

  • Inputs: Pass the path to the JSON file specifying the file/folder structure.
  • Example: didact://?commandId=vscode.didact.scaffoldProject&extFilePath=redhat.vscode-didact/create_extension/md-tutorial.project.didact.json&completion=Created%20starting%20Didact%20file.

vscode.didact.openTutorial

vscode.didact.startDidact

vscode.didact.startTerminalWithName

vscode.didact.sendNamedTerminalAString

vscode.didact.requirementCheck

vscode.didact.extensionRequirementCheck

vscode.didact.workspaceFolderExistsCheck

vscode.didact.createWorkspaceFolder

vscode.didact.reload

vscode.didact.validateAllRequirements

vscode.didact.gatherAllRequirements

vscode.didact.gatherAllCommands

vscode.didact.view.tutorial.open

vscode.didact.register

vscode.didact.view.refresh

Clone this wiki locally