|
| 1 | +metadata: |
| 2 | + name: didact-quickstarts |
| 3 | +spec: |
| 4 | + displayName: Using didact with quick starts |
| 5 | + durationMinutes: 10 |
| 6 | + icon: '' |
| 7 | + description: Let's use didact with quick starts |
| 8 | + prerequisites: [You learned how to use didact commands] |
| 9 | + introduction: |- |
| 10 | + ### This quick start shows you how to use didact commands in quick starts |
| 11 | + Learn more about didact here: [Didact](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-didact) |
| 12 | + tasks: |
| 13 | + - title: Clipboard Commands |
| 14 | + description: |- |
| 15 | + [Copy text to clipboard](didact://?commandId=vscode.didact.copyToClipboardCommand&text=The%20fox%20jumped%20over%20the%20lazy%20dog.) |
| 16 | +
|
| 17 | + [Copy text from file to clipboard](didact://?commandId=vscode.didact.copyFileTextToClipboardCommand&extFilePath=redhat.vscode-didact/examples/clipboardTextToTerminal.txt) |
| 18 | + review: |
| 19 | + instructions: |- |
| 20 | + #### To verify that didact is working with quick starts: |
| 21 | + Were you able to execute the commands? |
| 22 | + failedTaskHelp: This task isn’t verified yet. Try the task again. |
| 23 | + summary: |
| 24 | + success: You have executed didact commands! |
| 25 | + failed: Try the steps again. |
| 26 | + - title: Output Channel Commands |
| 27 | + description: |- |
| 28 | + [Open Named Output Channel](didact://?commandId=vscode.didact.openNamedOutputChannel&text=newOutputChannel) |
| 29 | +
|
| 30 | + [Send Text to Named Output Channel](didact://?commandId=vscode.didact.sendTextToNamedOutputChannel&text=Hello%20Didact!$$newOutputChannel) |
| 31 | + review: |
| 32 | + instructions: |- |
| 33 | + #### To verify that didact is working with quick starts: |
| 34 | + Were you able to execute the commands? |
| 35 | + failedTaskHelp: This task isn’t verified yet. Try the task again. |
| 36 | + summary: |
| 37 | + success: You have executed didact commands! |
| 38 | + failed: Try the steps again. |
| 39 | + - title: Project Scaffolding Commands |
| 40 | + description: |- |
| 41 | + [Create the tutorial project](didact://?commandId=vscode.didact.scaffoldProject&extFilePath=redhat.vscode-didact/create_extension/md-tutorial.project.didact.json) |
| 42 | + review: |
| 43 | + instructions: |- |
| 44 | + #### To verify that didact is working with quick starts: |
| 45 | + Were you able to execute the commands? |
| 46 | + failedTaskHelp: This task isn’t verified yet. Try the task again. |
| 47 | + summary: |
| 48 | + success: You have executed didact commands! |
| 49 | + failed: Try the steps again. |
| 50 | + - title: Requirements Commands |
| 51 | + description: |- |
| 52 | + [Validate all Requirements](didact://?commandId=vscode.didact.validateAllRequirements) |
| 53 | +
|
| 54 | + | Requirement | Status | |
| 55 | + |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------| |
| 56 | + | [Red Hat Camel Extension Pack is Installed](didact://?commandId=vscode.didact.extensionRequirementCheck&text=extension-requirement-status$$redhat.apache-camel-extension-pack) | *Status: unknown*{#extension-requirement-status} | |
| 57 | + | [Workspace has at least one root folder](didact://?commandId=vscode.didact.workspaceFolderExistsCheck&text=workspace-folder-status) | *Status: unknown*{#workspace-folder-status} | |
| 58 | + | [CLI command is successful](didact://?commandId=vscode.didact.cliCommandSuccessful&text=cli-requirement-status$$echo%20blah) | *Status: unknown*{#cli-requirement-status} | |
| 59 | + review: |
| 60 | + instructions: |- |
| 61 | + #### To verify that didact is working with quick starts: |
| 62 | + Were you able to execute the commands? |
| 63 | + failedTaskHelp: This task isn’t verified yet. Try the task again. |
| 64 | + summary: |
| 65 | + success: You have executed didact commands! |
| 66 | + failed: Try the steps again. |
| 67 | + - title: Terminal Commands |
| 68 | + description: |- |
| 69 | + [Open the Named Terminal](didact://?commandId=vscode.didact.startTerminalWithName&text=NamedTerminal) |
| 70 | +
|
| 71 | + [Send Named Terminal a String](didact://?commandId=vscode.didact.sendNamedTerminalAString&text=NamedTerminal$$echo%20And%20The%20Bunnymen) |
| 72 | +
|
| 73 | + [Send Named Terminal a Ctrl+C](didact://?commandId=vscode.didact.sendNamedTerminalCtrlC&text=NamedTerminal) |
| 74 | +
|
| 75 | + [Close the Named Terminal](didact://?commandId=vscode.didact.closeNamedTerminal&text=NamedTerminal) |
| 76 | + review: |
| 77 | + instructions: |- |
| 78 | + #### To verify that didact is working with quick starts: |
| 79 | + Were you able to execute the commands? |
| 80 | + failedTaskHelp: This task isn’t verified yet. Try the task again. |
| 81 | + summary: |
| 82 | + success: You have executed didact commands! |
| 83 | + failed: Try the steps again. |
| 84 | + - title: Tutorial Commands |
| 85 | + description: |- |
| 86 | + [Open default Didact URL](didact://?commandId=vscode.didact.openTutorial) |
| 87 | + review: |
| 88 | + instructions: |- |
| 89 | + #### To verify that didact is working with quick starts: |
| 90 | + Were you able to execute the commands? |
| 91 | + failedTaskHelp: This task isn’t verified yet. Try the task again. |
| 92 | + summary: |
| 93 | + success: You have executed didact commands! |
| 94 | + failed: Try the steps again. |
| 95 | + - title: Utility Commands |
| 96 | + description: |- |
| 97 | + [Create a workspace folder -- useful when in a workspace with no folder](didact://?commandId=vscode.didact.createWorkspaceFolder) |
| 98 | +
|
| 99 | + [Verify all Commands](didact://?commandId=vscode.didact.verifyCommands) |
| 100 | + review: |
| 101 | + instructions: |- |
| 102 | + #### To verify that didact is working with quick starts: |
| 103 | + Were you able to execute the commands? |
| 104 | + failedTaskHelp: This task isn’t verified yet. Try the task again. |
| 105 | + summary: |
| 106 | + success: You have executed didact commands! |
| 107 | + failed: Try the steps again. |
| 108 | + - title: View Commands |
| 109 | + description: |- |
| 110 | + [Reload the Tutorials view](didact://?commandId=vscode.didact.reload) |
| 111 | +
|
| 112 | + [Set focus to Tutorials view](didact://?commandId=didact.tutorials.focus) |
| 113 | + review: |
| 114 | + instructions: |- |
| 115 | + #### To verify that didact is working with quick starts: |
| 116 | + Were you able to execute the commands? |
| 117 | + failedTaskHelp: This task isn’t verified yet. Try the task again. |
| 118 | + summary: |
| 119 | + success: You have executed didact commands! |
| 120 | + failed: Try the steps again. |
| 121 | + - title: Useful VS Code Commands |
| 122 | + description: |- |
| 123 | + [Open file in folder](didact://?commandId=vscode.open&projectFilePath=first-tutorial.didact.md) |
| 124 | +
|
| 125 | + [Start the task named 'start.task'](didact://?commandId=workbench.action.tasks.runTask&text=start.task) |
| 126 | + review: |
| 127 | + instructions: |- |
| 128 | + #### To verify that didact is working with quick starts: |
| 129 | + Were you able to execute the commands? |
| 130 | + failedTaskHelp: This task isn’t verified yet. Try the task again. |
| 131 | + summary: |
| 132 | + success: You have executed didact commands! |
| 133 | + failed: Try the steps again. |
| 134 | + conclusion: You have gone through a didact-powered quick start! |
| 135 | + nextQuickStart: [] |
0 commit comments