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

RAScript

by joshraphael ALL

Sublime Text plugin to define RAScript grammar

Details

Installs

  • Total 1
  • Win 0
  • Mac 0
  • Linux 1
Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28
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 0 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

sublime-rascript

Sublime Text plugin to define RAScript grammar. Available on Package Control

Setup

This plugin uses the rascript-syntax repo to define the RAScript grammar. Generate the sublime package using the Makefile by running make package, and place the RAScript.sublime-package into your sublime text Installed Packages folder (ex: ~/.config/sublime-text/Installed Packages) and syntax highlighting should start appearing on your rascript files. There is an automated make command to do this for you by running make install

LSP

This language uses rascript-language-server to handle language hints and code tools, download the latest release and place the file somewhere you can remember on your computer (ex: ~/Desktop/rascript-language-server_v0.0.1_linux-x64)

install the LSP plugin for Sublime and edit the LSP settings to add a new client by going to Preferences > Package Settings > LSP > Settings and adding the client for rascript

{
  "log_debug": true,
  "clients": {
    "rascript": {
      "enabled": true,
      "command": ["/home/joshraphael/rascript-language-server_v0.0.1_linux-x64"],
      "selector": "source.rascript",
      "initializationOptions": {}
    }
  }
}

Save and restart your editor and your RAScripts should start getting code tools.

Make Commands

Title Command Parameters Description
Syntax make syntax None Download the syntax file
Package Exetension make package None Package the extension
Test make test None Test the extension
Install make install None Install the extension locally