Squirrel Programming Language support for Sublime Text 2 & 3.
- Total 646
- Win 485
- OS X 96
- Linux 65
|Dec 11||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|
This is Squirrel Programming Language support for Sublime Text 2 & 3. I tried my best to expand the original repo a bit more and add a little structure to it.
- Add highlight for most Squirrel functions (regexp(), lstrip(), format(), time(), .tointeger(), .tostring(), .len() and many, many more)
- Add highlight for specifiers (%s, %i etc.)
- Create folder structure
- Add couple snippets
- Add couple completions
Editing and messing around with these files is not in my area of expertise. I really wanted better support for the Squirrel highlighting in Sublime so I took a stab at it. It's not perfect and many sections can probably be improved upon but it works, so I'm happy with it for now.
Feel free to improve where needed and share!
There are 3 ways to install it.
- Package Control
- Git Clone
- File Download
- Open Sublime
- Install Package Control
- Press Ctrl+Shift+P
- Type in “install” and press enter on “Package Control: Install Package”
- Type in “Squirrel” and press enter
I'm on Windows, so OS X and Ubuntu might not be 100% correct.
Open up your Sublime Text packages directory and clone the repository using the commands below:
on Windows (using Git Bash):
cd ~/AppData/Roaming/Sublime\ Text\ 2/Packages or cd ~/AppData/Roaming/Sublime\ Text\ 3/Packages git clone https://github.com/iAmRoland/Sublime-Squirrel.git Squirrel
on OS X (are the paths correct?):
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages or cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages git clone https://github.com/iAmRoland/Sublime-Squirrel.git Squirrel
on Ubuntu (other linux distors? are the paths correct?):
cd ~/.config/sublime-text-2/Packages or cd ~/.config/sublime-text-3/Packages git clone https://github.com/iAmRoland/Sublime-Squirrel.git Squirrel
Go to the downloads section and download as ZIP.
Open up your Sublime Text packages directory and the downloaded ZIP.
Extract the contents of the ZIP into that directory and rename Sublime-Squirrel to Squirrel.