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

Commit b705727

Browse files
committed
FUSETOOLS2-1163 - quick start poc
Signed-off-by: Brian Fitzpatrick <[email protected]>
1 parent 11fe587 commit b705727

File tree

16 files changed

+6066
-197
lines changed

16 files changed

+6066
-197
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
command: npm run vscode:prepublish
2727
- run:
2828
name: vsce-package
29-
command: vsce package
29+
command: vsce package --yarn
3030
- run:
3131
name: test
3232
command: npm test

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
out
2+
quickstartsPreview/
23
node_modules
34
.vscode-test/
45
*.vsix
56
/example/**/.project
67
test Fixture with speci@l chars/*
78
test Fixture with speci@l chars/readme.md
8-
!test Fixture with speci@l chars/.gitkeep
9+
!test Fixture with speci@l chars/.gitkeep
10+
.DS_Store

.vscodeignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
docs/**
66
out/**/*.map
77
out/test/**
8-
src/**
8+
src/
99
test Fixture with speci@l chars/**
1010
test-archive/**
1111
**/.gitignore
@@ -14,3 +14,6 @@ test-archive/**
1414
**/tsconfig.json
1515
**/*.ts
1616
**/*.vsix
17+
**/*.vsix
18+
webpack.*.config.js
19+
node_modules

examples/test.didact.yaml

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
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+
[Copy text from file to clipboard](didact://?commandId=vscode.didact.copyFileTextToClipboardCommand&extFilePath=redhat.vscode-didact/examples/clipboardTextToTerminal.txt)
17+
review:
18+
instructions: |-
19+
#### To verify that didact is working with quick starts:
20+
Were you able to execute the commands?
21+
failedTaskHelp: This task isn’t verified yet. Try the task again.
22+
summary:
23+
success: You have executed didact commands!
24+
failed: Try the steps again.
25+
- title: Output Channel Commands
26+
description: |-
27+
[Open Named Output Channel](didact://?commandId=vscode.didact.openNamedOutputChannel&text=newOutputChannel)
28+
[Send Text to Named Output Channel](didact://?commandId=vscode.didact.sendTextToNamedOutputChannel&text=Hello%20Didact!$$newOutputChannel)
29+
review:
30+
instructions: |-
31+
#### To verify that didact is working with quick starts:
32+
Were you able to execute the commands?
33+
failedTaskHelp: This task isn’t verified yet. Try the task again.
34+
summary:
35+
success: You have executed didact commands!
36+
failed: Try the steps again.
37+
- title: Project Scaffolding Commands
38+
description: |-
39+
[Create the tutorial project](didact://?commandId=vscode.didact.scaffoldProject&extFilePath=redhat.vscode-didact/create_extension/md-tutorial.project.didact.json)
40+
review:
41+
instructions: |-
42+
#### To verify that didact is working with quick starts:
43+
Were you able to execute the commands?
44+
failedTaskHelp: This task isn’t verified yet. Try the task again.
45+
summary:
46+
success: You have executed didact commands!
47+
failed: Try the steps again.
48+
- title: Requirements Commands
49+
description: |-
50+
[Validate all Requirements](didact://?commandId=vscode.didact.validateAllRequirements)
51+
| Requirement | Status |
52+
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
53+
| [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} |
54+
| [Workspace has at least one root folder](didact://?commandId=vscode.didact.workspaceFolderExistsCheck&text=workspace-folder-status) | *Status: unknown*{#workspace-folder-status} |
55+
| [CLI command is successful](didact://?commandId=vscode.didact.cliCommandSuccessful&text=cli-requirement-status$$echo%20blah) | *Status: unknown*{#cli-requirement-status} |
56+
review:
57+
instructions: |-
58+
#### To verify that didact is working with quick starts:
59+
Were you able to execute the commands?
60+
failedTaskHelp: This task isn’t verified yet. Try the task again.
61+
summary:
62+
success: You have executed didact commands!
63+
failed: Try the steps again.
64+
- title: Terminal Commands
65+
description: |-
66+
[Open the Named Terminal](didact://?commandId=vscode.didact.startTerminalWithName&text=NamedTerminal)
67+
[Send Named Terminal a String](didact://?commandId=vscode.didact.sendNamedTerminalAString&text=NamedTerminal$$echo%20And%20The%20Bunnymen)
68+
[Send Named Terminal a Ctrl+C](didact://?commandId=vscode.didact.sendNamedTerminalCtrlC&text=NamedTerminal)
69+
[Close the Named Terminal](didact://?commandId=vscode.didact.closeNamedTerminal&text=NamedTerminal)
70+
review:
71+
instructions: |-
72+
#### To verify that didact is working with quick starts:
73+
Were you able to execute the commands?
74+
failedTaskHelp: This task isn’t verified yet. Try the task again.
75+
summary:
76+
success: You have executed didact commands!
77+
failed: Try the steps again.
78+
- title: Tutorial Commands
79+
description: |-
80+
[Open default Didact URL](didact://?commandId=vscode.didact.openTutorial)
81+
review:
82+
instructions: |-
83+
#### To verify that didact is working with quick starts:
84+
Were you able to execute the commands?
85+
failedTaskHelp: This task isn’t verified yet. Try the task again.
86+
summary:
87+
success: You have executed didact commands!
88+
failed: Try the steps again.
89+
- title: Utility Commands
90+
description: |-
91+
[Create a workspace folder -- useful when in a workspace with no folder](didact://?commandId=vscode.didact.createWorkspaceFolder)
92+
[Verify all Commands](didact://?commandId=vscode.didact.verifyCommands)
93+
review:
94+
instructions: |-
95+
#### To verify that didact is working with quick starts:
96+
Were you able to execute the commands?
97+
failedTaskHelp: This task isn’t verified yet. Try the task again.
98+
summary:
99+
success: You have executed didact commands!
100+
failed: Try the steps again.
101+
- title: View Commands
102+
description: |-
103+
[Reload the Tutorials view](didact://?commandId=vscode.didact.reload)
104+
[Set focus to Tutorials view](didact://?commandId=didact.tutorials.focus)
105+
review:
106+
instructions: |-
107+
#### To verify that didact is working with quick starts:
108+
Were you able to execute the commands?
109+
failedTaskHelp: This task isn’t verified yet. Try the task again.
110+
summary:
111+
success: You have executed didact commands!
112+
failed: Try the steps again.
113+
- title: Useful VS Code Commands
114+
description: |-
115+
[Open file in folder](didact://?commandId=vscode.open&projectFilePath=first-tutorial.didact.md)
116+
[Start the task named 'start.task'](didact://?commandId=workbench.action.tasks.runTask&text=start.task)
117+
review:
118+
instructions: |-
119+
#### To verify that didact is working with quick starts:
120+
Were you able to execute the commands?
121+
failedTaskHelp: This task isn’t verified yet. Try the task again.
122+
summary:
123+
success: You have executed didact commands!
124+
failed: Try the steps again.
125+
conclusion: You have gone through a didact-powered quick start!
126+
nextQuickStart: []
127+

0 commit comments

Comments
 (0)