VSCode language support for CloudSlang.
- Download and install VSCode.
- Download and install the CloudSlang language package.
- From the VSCode UI: Go to the Install Extension pane and search for 'cloudslang'
- Restart VSCode.
- Files saved with the .sl extension will be recognized within Visual Studio as CloudSlang files.
Files saved with .sl extension will reflect CloudSlang syntax highlighting.
Start typing the snippet name and press tab or enter when it appears on the screen.
The following snippets are provided:
Keyword | Description |
---|---|
flow | template for a flow file |
operation | template for an operation file |
decision | template for a decision file |
properties | template for a system properties file |
java_action | template for a Java action |
python_action | template for a Python action |
input | template for simple input name and value |
input with properties | template for an input with all possible properties |
output | template for an output name and value |
output with properties | template for an output with all possible properties |
result | template for a result name and value |
publish | template for a published variable name and value |
import | template for an import alias name and namespace |
navigate | template for a result mapped to a navigation target |
step | template for a standard step |
on_failure | template for an on_failure step |
for | template for an iterative step |
parallel_loop | template for a step of type parallel loop |
property | template for a system property |
property with properties | template for a system property with all possible properties |
@input | template for input documentation |
@description | template for file description |
@prerequisites | template for prerequisite documentation |
@output | template for output documentation |
@result | template for result documentation |
For troubleshooting VSCode issues, see the VSCode documentation and community.