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

Cubescript Syntax Highlighting

by srbs ST2/ST3

Sublime Text Syntax Highlighting for Cubescript

Details

Installs

  • Total 163
  • Win 95
  • OS X 33
  • Linux 35
Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4
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 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 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 1 0 0 1 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 Text Cubescript Syntax Definition

Syntax highlighting for Sauerbraten's scripting langauge, Cubescript, in Sublime Text 2 & 3.

Installation

With Package Control:

  1. Run Package Control: Install Package command, find and install Cubescript Syntax Highlighting plugin.
  2. Restart Sublime Text editor (if required)

Using Package Control ensures package will stay up to date automatically.

Manually:

  1. Clone or download git repo into your Packages folder (in Sublime Text, find Browse Packages... menu item to open this folder)
  2. Restart Sublime Text editor (if required)

    Example commands:

    cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
    git clone https://github.com/srbs/cubescript-syntax-sublime.git Cubescript
    

Usage

Menu:

  1. Open up the Syntax Menu (View -> Syntax)
  2. Click Cubescipt

Command:

  1. Run Set Syntax: Cubescript command

All *.cfg files:

  1. Open any *.cfg file
  2. Open up the Syntax Menu (View -> Syntax)
  3. Select Open all with current extension as...
  4. Click Cubescript

Contributing

Development for this project is primarily done in cubescript-syntax-tmbundle project. My converter is used to convert between the two structures using this build.xml in the parent folder of all three projects:

<project basedir=".">
    <include file="textmate-to-sublime-converter/tm2subl.xml" />
    <tm2subl destdir="cubescript-syntax-sublime" srcdir="cubescript-syntax-tmbundle" />
</project>

Please see the respective Contributing section for contributing information.

This project uses the Zlib license. See the License section for details.

License (Zlib)

Copyright (c) 2012-2012 David "srbs" Forrest

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

    1.  The origin of this software must not be misrepresented; you must not
        claim that you wrote the original software. If you use this software
        in a product, an acknowledgment in the product documentation would be
        appreciated but is not required.

    2.  Altered source versions must be plainly marked as such, and must not be
        misrepresented as being the original software.

    3.  This notice may not be removed or altered from any source
        distribution.