This repository was archived by the owner on May 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Didact Auto complete
Brian Fitzpatrick edited this page Nov 5, 2020
·
1 revision
To help you set up Didact tutorials, we've added a number of auto-completions (accessible by pressing Ctrl+Space while editing a Markdown file) to provide most of the basic things you'll need.

Included completions:
- Insert Validate All button
- Insert Requirements label
- Insert link to install required VS Code extension
- Insert link to create temporary folder as WS root
- Insert link to start didact from File in Extension folder
- Start a new didact link (inserts
didact://?and then offers additional completions
From a didact://? start, you also get:
- Start terminal with name
- Send named terminal some text
- Send named terminal a Ctrl+C
- Close terminal with name
- Non-didact command
- Check CLI for some returned text
- Check CLI for some success (no text)
- Check for required extension
- Check for root folder in the WS
- Scaffold project
- Start Didact from Currently Selected File
This functionality requires an AsciiDoc extension to be installed in your Workspace. We have seem intermittent issues with these extensions, including this popular AsciiDoc extension.. We have noticed that the Didact extension does not always start when this extension is installed.
When it works, we should have access to the following completions.
Outside a didact link, you get:
- Start a new didact link (inserts
didact://?and then offers additional completions - Insert Link to Start Didact from File in Extension folder
- Insert Link to Install Required VS Code extension
From a didact://? start, you get:
- Start terminal with name
- Send named terminal some text
- Send named terminal a Ctrl+C
- Close terminal with name
- Non-didact command
- Check CLI for some returned text
- Check CLI for some success (no text)
- Check for required extension
- Check for root folder in the WS
- Scaffold project
- Start Didact from Currently Selected File
- Validate All Didact Requirements
- Add Temporary Folder as WS Root