The SIL™ Editor
Excerpt |
---|
The SIL™ editor is the central point where you develop your scripts. It offers basic text editing: syntax highlighting, autocomplete, and a source file management across all defined trees. For all scripts that reside in the virtual directories, this tool offers the power of Simple Issue Language™ or SIL™ at your crafty fingertips. |
You can edit various files here, not only scripts, although this is the main view, and selected by default. Just click the View dropdown and select what you want to edit. cPrime Cprime Home points to our aliases files and templates, so you can switch between those views.
...
To discover usages of the current file loaded into the editor, click Show Usages. Now you can view the usages of the current script in includes, listeners, workflows, and so on. As you install other cPrime Cprime apps that can use scripts for their features, those usages show up here as well.
Note that a file A included (see Inclusions) into another file B is shown as being used only if B is being used directly for a feature. If B is not used directly, but is included into another file C that is used directly by a feature, file A is not shown as being used.
...
Keyboard shortcuts
We've implemented several keyboard shortcuts to make your life easier when working with SIL™ scripts.
Shift + Enter | Check the SIL code |
Ctrl + S | Save |
Ctrl + / | Toggle line comment |
Ctrl + Shift + / | Toggle selection comment |
Ctrl + Space | Show autocomplete suggestions |
Ctrl + K | Go to next occurrence of selection |
Ctrl + Shift + K | Go to previous occurrence of selection |
Ctrl + L | Jump to line |
Tab | Indent selection |
Shift - Tab | Outdent selection |
Alt - Up/Down | Move line up/down |
Alt - Shift - Up/Down | Copy line up/down |
Ctrl - D | Delete line |
Feedback
We're looking forward to hearing what you think of the SIL™ Manager and are happy to listen to your ideas for the new features too.