Created
September 27, 2017 08:34
-
-
Save AndrienkoAleksandr/6d366ee10d9bbbe822a4c70330f83efd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Guide title", | |
"sections": [ | |
{ | |
"title": "Section #1 :: Simple", | |
"paragraphs": [ | |
{ | |
"text": "This paragraph contains no action but some text" | |
}, | |
{ | |
"text": "This paragraph contains no action but some text too" | |
} | |
] | |
}, | |
{ | |
"title": "Section #2 :: Describes how to expand a path in the project explorer", | |
"paragraphs": [ | |
{ | |
"text": "To open a path the `expand-path` action is used. It requires the mandator `path` parameter containing relative to the project the path to open", | |
"action": { | |
"label": "Expand path", | |
"actionId": "expand-path", | |
"parameters": { | |
"path": "src/main/java/org/jboss/as/quickstarts/kitchensink/service/MemberRegistration.java" | |
} | |
} | |
} | |
] | |
}, | |
{ | |
"title": "Section #3 :: Describes how to open a file and run command", | |
"paragraphs": [ | |
{ | |
"text": "<h4>Open File</h4>" | |
}, | |
{ | |
"text": "To open a file the `open-file` action is used. It requires the mandatory `file` parameter containing relative to the project the file path to open . Also the auxiliary `line` parameter contains the line number to scroll when file is opened.", | |
"action": { | |
"label": "Open file", | |
"actionId": "open-file", | |
"parameters": { | |
"file": "src/main/java/org/jboss/as/quickstarts/kitchensink/service/MemberRegistration.java", | |
"line": 40 | |
} | |
} | |
}, | |
{ | |
"text": "<h4>Run command</h4>" | |
}, | |
{ | |
"text": "To run a command the `run-command` action is used. It requires the mandatory `name` parameter containing the name of the existed command to run.", | |
"action": { | |
"label": "Run command", | |
"actionId": "run-command", | |
"parameters": { | |
"name": "KitchenSink2: Build" | |
} | |
} | |
}, | |
{ | |
"action": { | |
"label": "Run command", | |
"actionId": "run-command", | |
"parameters": { | |
"name": "KitchenSink2: Build" | |
} | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment