ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Setl​X Helper

by LucaVazz ALL

An extension for SublimeText, VisualStudio Code, TextMate and IntelliJ IDEA to make writing SetlX-code comfortable. Compatible with SetlX Version 2.5.0 - 2.6.1

Details

Installs

  • Total 163
  • Win 78
  • Mac 68
  • Linux 17
Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
01234Jan 21Jan 18Jan 15Jan 12Jan 9Jan 6Jan 3Dec 31Dec 28Dec 25Dec 22Dec 19Dec 16Dec 13Dec 10Jan 21 Linux: 0 Mac: 0 Windows: 0Jan 20 Linux: 0 Mac: 0 Windows: 0Jan 19 Linux: 0 Mac: 0 Windows: 0Jan 18 Linux: 0 Mac: 0 Windows: 0Jan 17 Linux: 0 Mac: 0 Windows: 0Jan 16 Linux: 0 Mac: 0 Windows: 0Jan 15 Linux: 0 Mac: 0 Windows: 0Jan 14 Linux: 0 Mac: 0 Windows: 0Jan 13 Linux: 0 Mac: 0 Windows: 0Jan 12 Linux: 0 Mac: 0 Windows: 0Jan 11 Linux: 0 Mac: 0 Windows: 0Jan 10 Linux: 0 Mac: 0 Windows: 0Jan 9 Linux: 0 Mac: 0 Windows: 0Jan 8 Linux: 0 Mac: 0 Windows: 0Jan 7 Linux: 0 Mac: 0 Windows: 0Jan 6 Linux: 0 Mac: 0 Windows: 0Jan 5 Linux: 0 Mac: 0 Windows: 0Jan 4 Linux: 0 Mac: 0 Windows: 0Jan 3 Linux: 0 Mac: 0 Windows: 0Jan 2 Linux: 0 Mac: 0 Windows: 0Jan 1 Linux: 0 Mac: 0 Windows: 0Dec 31 Linux: 0 Mac: 0 Windows: 0Dec 30 Linux: 0 Mac: 0 Windows: 0Dec 29 Linux: 0 Mac: 0 Windows: 0Dec 28 Linux: 0 Mac: 0 Windows: 0Dec 27 Linux: 0 Mac: 0 Windows: 0Dec 26 Linux: 0 Mac: 0 Windows: 0Dec 25 Linux: 0 Mac: 0 Windows: 0Dec 24 Linux: 0 Mac: 1 Windows: 0Dec 23 Linux: 0 Mac: 0 Windows: 0Dec 22 Linux: 0 Mac: 0 Windows: 0Dec 21 Linux: 0 Mac: 0 Windows: 0Dec 20 Linux: 0 Mac: 0 Windows: 0Dec 19 Linux: 0 Mac: 0 Windows: 0Dec 18 Linux: 0 Mac: 0 Windows: 0Dec 17 Linux: 0 Mac: 0 Windows: 0Dec 16 Linux: 0 Mac: 0 Windows: 0Dec 15 Linux: 0 Mac: 0 Windows: 0Dec 14 Linux: 0 Mac: 0 Windows: 0Dec 13 Linux: 0 Mac: 0 Windows: 0Dec 12 Linux: 0 Mac: 0 Windows: 0Dec 11 Linux: 0 Mac: 0 Windows: 0Dec 10 Linux: 0 Mac: 0 Windows: 0Dec 9 Linux: 0 Mac: 0 Windows: 0Dec 8 Linux: 0 Mac: 0 Windows: 0Jan 21 Linux: 0 Mac: 0 Windows: 0Jan 20 Linux: 0 Mac: 0 Windows: 0Jan 19 Linux: 0 Mac: 0 Windows: 0Jan 18 Linux: 0 Mac: 0 Windows: 0Jan 17 Linux: 0 Mac: 0 Windows: 0Jan 16 Linux: 0 Mac: 0 Windows: 0Jan 15 Linux: 0 Mac: 0 Windows: 0Jan 14 Linux: 0 Mac: 0 Windows: 0Jan 13 Linux: 0 Mac: 0 Windows: 0Jan 12 Linux: 0 Mac: 0 Windows: 0Jan 11 Linux: 0 Mac: 0 Windows: 0Jan 10 Linux: 0 Mac: 0 Windows: 0Jan 9 Linux: 0 Mac: 0 Windows: 0Jan 8 Linux: 0 Mac: 0 Windows: 0Jan 7 Linux: 0 Mac: 0 Windows: 0Jan 6 Linux: 0 Mac: 0 Windows: 0Jan 5 Linux: 0 Mac: 0 Windows: 0Jan 4 Linux: 0 Mac: 0 Windows: 0Jan 3 Linux: 0 Mac: 0 Windows: 0Jan 2 Linux: 0 Mac: 0 Windows: 0Jan 1 Linux: 0 Mac: 0 Windows: 0Dec 31 Linux: 0 Mac: 0 Windows: 0Dec 30 Linux: 0 Mac: 0 Windows: 0Dec 29 Linux: 0 Mac: 0 Windows: 0Dec 28 Linux: 0 Mac: 0 Windows: 0Dec 27 Linux: 0 Mac: 0 Windows: 0Dec 26 Linux: 0 Mac: 0 Windows: 0Dec 25 Linux: 0 Mac: 0 Windows: 0Dec 24 Linux: 0 Mac: 1 Windows: 0Dec 23 Linux: 0 Mac: 0 Windows: 0Dec 22 Linux: 0 Mac: 0 Windows: 0Dec 21 Linux: 0 Mac: 0 Windows: 0Dec 20 Linux: 0 Mac: 0 Windows: 0Dec 19 Linux: 0 Mac: 0 Windows: 0Dec 18 Linux: 0 Mac: 0 Windows: 0Dec 17 Linux: 0 Mac: 0 Windows: 0Dec 16 Linux: 0 Mac: 0 Windows: 0Dec 15 Linux: 0 Mac: 0 Windows: 0Dec 14 Linux: 0 Mac: 0 Windows: 0Dec 13 Linux: 0 Mac: 0 Windows: 0Dec 12 Linux: 0 Mac: 0 Windows: 0Dec 11 Linux: 0 Mac: 0 Windows: 0Dec 10 Linux: 0 Mac: 0 Windows: 0Dec 9 Linux: 0 Mac: 0 Windows: 0Dec 8 Linux: 0 Mac: 0 Windows: 0Jan 21 Linux: 0 Mac: 0 Windows: 0Jan 20 Linux: 0 Mac: 0 Windows: 0Jan 19 Linux: 0 Mac: 0 Windows: 0Jan 18 Linux: 0 Mac: 0 Windows: 0Jan 17 Linux: 0 Mac: 0 Windows: 0Jan 16 Linux: 0 Mac: 0 Windows: 0Jan 15 Linux: 0 Mac: 0 Windows: 0Jan 14 Linux: 0 Mac: 0 Windows: 0Jan 13 Linux: 0 Mac: 0 Windows: 0Jan 12 Linux: 0 Mac: 0 Windows: 0Jan 11 Linux: 0 Mac: 0 Windows: 0Jan 10 Linux: 0 Mac: 0 Windows: 0Jan 9 Linux: 0 Mac: 0 Windows: 0Jan 8 Linux: 0 Mac: 0 Windows: 0Jan 7 Linux: 0 Mac: 0 Windows: 0Jan 6 Linux: 0 Mac: 0 Windows: 0Jan 5 Linux: 0 Mac: 0 Windows: 0Jan 4 Linux: 0 Mac: 0 Windows: 0Jan 3 Linux: 0 Mac: 0 Windows: 0Jan 2 Linux: 0 Mac: 0 Windows: 0Jan 1 Linux: 0 Mac: 0 Windows: 0Dec 31 Linux: 0 Mac: 0 Windows: 0Dec 30 Linux: 0 Mac: 0 Windows: 0Dec 29 Linux: 0 Mac: 0 Windows: 0Dec 28 Linux: 0 Mac: 0 Windows: 0Dec 27 Linux: 0 Mac: 0 Windows: 0Dec 26 Linux: 0 Mac: 0 Windows: 0Dec 25 Linux: 0 Mac: 0 Windows: 0Dec 24 Linux: 0 Mac: 1 Windows: 0Dec 23 Linux: 0 Mac: 0 Windows: 0Dec 22 Linux: 0 Mac: 0 Windows: 0Dec 21 Linux: 0 Mac: 0 Windows: 0Dec 20 Linux: 0 Mac: 0 Windows: 0Dec 19 Linux: 0 Mac: 0 Windows: 0Dec 18 Linux: 0 Mac: 0 Windows: 0Dec 17 Linux: 0 Mac: 0 Windows: 0Dec 16 Linux: 0 Mac: 0 Windows: 0Dec 15 Linux: 0 Mac: 0 Windows: 0Dec 14 Linux: 0 Mac: 0 Windows: 0Dec 13 Linux: 0 Mac: 0 Windows: 0Dec 12 Linux: 0 Mac: 0 Windows: 0Dec 11 Linux: 0 Mac: 0 Windows: 0Dec 10 Linux: 0 Mac: 0 Windows: 0Dec 9 Linux: 0 Mac: 0 Windows: 0Dec 8 Linux: 0 Mac: 0 Windows: 0

Readme

Source
raw.​githubusercontent.​com

The SetlX-Helper for Sublime Text 3

“Wait, why should I use this?” Good question! Lets ask the official SetlX-Tutorialas I recall it:

  1. Programming [with the] SetlX[-Helper] is the only way to guarantee redemption from the eternal hell fire that awaits those […] programming in SetlX.
  2. Programming in SetlX [will then be] fun!

I'm fairly sure you are convinced now ;)

Additionally, this extension is available for SublimeText 2/3 (see here) and VisualStudio Code (see here).

Current Version: v1.2.0, compatible with SetlX v2.5.0-v2.6.1

Installing The Extension

Sublime Text 3 / 2 [ST]

  1. Install PackageControl in Sublime Text as described here and restart Sublime Text
  2. Open the Command Palette (by pressing Ctrl/Super+Shift+P), select Package Control: Install Package, wait for the list to load and select SetlX Helper from the list (by typing in setlx and pressing Enter)
  3. After the installation is done (the progress is shown in the lower left corner) you are all set. Just open a SetlX-program file and enjoy the new help!
  4. optional: I recommend using the Monokai Extended Color Scheme (available via PackageControl) for a nice and colorful syntax-highlighting.

Updates are applied automatically.

VisualStudio Code [VSC]

  1. Open the Command Palette (by pressing Ctrl+P), type in ext install setlx and press Enter
  2. After the installation is done, restart VS Code when the prompt asking you to do so appears. Then you are all set. Just open a SetlX-program file and enjoy the new help!
  3. optional: I recommend using the Monokai Color Theme for a nice and colorful syntax-highlighting.

Updates are applied automatically.

TextMate [TM]

  1. Close TextMate if it is currently running.
  2. Open a console and go to TextMate's Bundles Directory: cd /Library/Application\ Support/TextMate/Bundles
    • If it does not exist, create it: mkdir -p /Library/Application\ Support/TextMate/Bundles
  3. Clone the textmate branch as a Bundle: git clone -b textmate -- https://github.com/LucaVazz/SetlXHelper.git SetlXHelper.tmbundle
  4. After the command is finished, you are all set. Just start TextMate again and open a SetlX-program file and enjoy the new help!

Updates need to be done manually. To update: 1. Go inside the Bundle: cd /Library/Application\ Support/TextMate/Bundles/SetlXHelper.tmbundle 2. Update it with the new changes: git pull

IntelliJ IDEA [IntelliJ]

  1. Verify that the TextMate bundles support Plugin is installed and enabled:
    1. Open the settings (FileSettings for Windows and Linux or IntelliJ IDEAPreferences for macOS) and then go to Plugins.
    2. Search for textmate
    3. If the plugin apears, make sure its checkbox has a tick in it.
    4. If not, click on the Search in repositories link, select the TextMate bundles support entry and click on the Install button on the left, followed by a click on the Restart IntelliJ IDEA button.
  2. Add the TextMate Bundle:
    1. Open a console, change into a direcotry of your choice and clone the textmate branch as a Bundle: git clone -b textmate -- https://github.com/LucaVazz/SetlXHelper.git SetlXHelper.tmbundle
    2. Open IntelliJ's settings (see above) and navigate to EditorTextMate Bundles on the right.
    3. Click on the + in the upper left corner and select the SetlXHelper.tmbundle directory you just cloned.
    4. In the lower left corner, select the Color Scheme you want to use for SetlX files.
    5. Close the dialog by clicking Apply and then OK.
  3. Now you are all set. Just open a SetlX-program file and enjoy the new help!

Updates need to be done manually. To update: 1. Go inside the directory you chosed and change into the SetlXHelper.tmbundle directory. 2. Update it with the new changes: git pull

Using the Features

The icons in brackets indicate for which editor the feature is implemented.

Syntax Highligting ([ST] [VSC] [TM] [IntelliJ])

[Illustration of the Syntax Definitions]

Just type code ;)

Keep in mind: The colors don't come from the Helper-Plugin. You can choose them as you like by selecting a Theme which suits you: * [ST] : PreferencesColor Scxheme… * [VSC] : FileSettingsColor Theme * [TM] : PreferencesFonts & Colors * [IntelliJ] : See installations instructions above, step 2.4

Type Common Structures Faster With Snippets ([ST] [VSC])

[Demonstration of Developing with Snippets]

To insert a snippet, just enter its keyword (which is its name, if not noted otherwise below) and press Enter to insert it. You can then jump through the placeholders by pressing Tab ([ST] : and insert a “real” tab by pressing Shift+Tab).

Available snippets: + set - / list - / closure - / procedure - / cached procedure - definition + if - / else if - / else- / match - / swtich- / case - / default - statements + for - / while - loops + try-catch - (keyword: catch) / trace - blocks

Build System ([ST])

You need to install SetlX completely as described in its manual. This means that you should be able to type setlx into a console-window and get the live interpreter fired up.

After that, you can just press Ctrl/Cmd+B to start your SetlX-program and view its results inside Sublime Text's own console (at the bottom of your window).

You can switch between running your program inside Sublime Text's own Build-Console (at the bottom of the window) (which doesn't support input) or in an external Command-Line - window by pressing Ctrl/Cmd+Shift+B and selecting either SetlX - in internal Build-Console or SetlX - in external Command-Line.

If you just press Ctrl/Cmd+B or just select SetlX in the selection-menu mentioned above, the previously selected option will be used.

Contributing

Feel free to suggest additional features or to report bugs by using the GitHub-Issues.

I'm also always pleased to see pull-request, for example if you have ported the extension to other editors or added new functionality.

A Note on the Chosen License

This project is licensed under the terms of the GNU General Public License v3.0. For further information, please look here or here(DE).

A Note on Used Material