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

RAScript

by joshraphael ALL

Sublime Text plugin to define RAScript grammar

Details

Installs

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