Skip to content

CloudSlang/atom-cloudslang-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

language-cloudslang

Atom language support for CloudSlang.

Download, Install and Configure Atom

  1. Download and install Atom.
  2. Download and install the CloudSlang language package.
  • From the Atom UI: File > Settings > Install and search for language-cloudslang
  • From the command line: apm install language-cloudslang

Note: If you are behind a proxy server you may need to configure Atom as described in their package manager documentation.

  1. Restart Atom.
  2. Files saved with the .sl extension will be recognized within Atom as CloudSlang files.

Syntax Highlighting

Files saved with .sl extension will reflect CloudSlang syntax highlighting.

logo

Snippets

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
cs_append function to append
cs_extract_number function to extract the first number.
cs_substring function to return substring
cs_to_lower function to convert to lower case
cs_to_upper function to convert to upper case
cs_prepend function to prepend
cs_regex function to apply a regular expression on the selected text
cs_replace function to replace
cs_round function to round off
cs_xpath_query function to apply the XPath expression on the selected XML
cs_json_query function to apply a JSON Path expression on the selected text

Troubleshooting

For troubleshooting Atom issues, see the Atom documentation and discussion board.