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

Blitz​Max

by Muttley ALL

BlitzMax language definition and snippets for Sublime Text 2/3

Details

Installs

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

About

SublimeText.BlitzMax is a Sublime Text language definition that provides syntax highlighting, build systems and code snippets for the BlitzMax programming language.

Installation

This package has been submitted to the Package Control index and you can install it via the Command Palette (CTRL + Shift + P), typing install and selecting Package Control: Install Package. In the subsequent popup text box type blitzmax and pick the BlitzMax package.

If you do not use Package Control, download a zip or tar.gz archive of the latest release, extract the archive, rename the directory to BlitzMax and simply drop this directory into your Sublime Text Packages directory.

NOTES

Syntax Highlighting Limitations

In an effort to ensure that custom BlitzMax types can be highlighted correctly an assumption has been made that type names match the following regex [T][A-Z]\\w*. For example: TMyType, TAABB not Tmytype, MyType or mytype, etc.

This format is already widely used by BlitzMax developers, and is pretty much the standard in the existing BlitzMax code base.

Systems

In order for the build systems to work the BlitzMax/bin directory needs to be in your system path.

There are 4 build systems included with this plugin:

BlitzMax - Build and Run Console
BlitzMax - Build and Run GUI
BlitzMax - Build Console
BlitzMax - Build GUI

Again, certain assumptions have been made with the build systems to support building with both Sublime Projects and individual BlitzMax source files:

  1. If you don't have a project open, then the build system will attempt to build the file currently being edited.

  2. If you have a project open, the build system will attempt to build a BlitzMax source file with the same name as the project in the root directory. This means you don't have to keep reselecting the main entry point source file before building. For example if you're editing file PROJECT_ROOT/Include/MySourceFile.bmx and your project file is called MyNewGame.sublime-project then the build system will attempt to build PROJECT_ROOT/MyNewGame.bmx rather than the currently edited file.

Bug Reports and Feature Requests

If you find any problems with this plugin, please raise an issue at the repository's issue tracker, including a detailed description of the issue and if possible a section of example code which highlights the issue.

Requests for new features can also be raised at the same location.

License

SublimeText.BlitzMax is released under the MIT license.

Copyright © 2013-2016 Paul Maskelyne (Muttley) muttley@muttleyville.org

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.