This package provides syntax highlighting support for the BoschRexroth MTX Computerized Numerical Control to the SublimeText 3 Editor.
-
NC cycles
- syntax highlighting
- ISO G-Code
- CPL high level commands
- known NC functions and commands
- symbols for
- LPS - local sub programs
- LBL - labels (goto targets)
- auto completion for the most common DIN/CPL functions
- syntax highlighting
-
Sercos Settings Files (*.scs)
- syntax highlighting
Using Package Control
For all Sublime Text 2/3 users install via Package Control is recommended.
- Install Package Control if you haven't yet.
- Use ctrl+shift+P then
Package Control: Install Package - Look for
CNC BoschRexroth MTXand install it.
- Click the
Preferences > Browse Packages…menu - Browse up a folder and then into the
Installed Packages/folder - Download zip package rename it to
CNC BoschRexroth MTX.sublime-packageand copy it into theInstalled Packages/directory - Restart Sublime Text
If mtx_npg.sublime-settings or mtx_scs.sublime-settings don't exist in the user folder they will be automatically created to ensure the following essential syntax specific settings:
{
"ensure_newline_at_eof_on_save": true
"translate_tabs_to_spaces": true
"use_tab_stops": false
}They are all required to ensure NC will read the resulting file correctly.
You can override these settings by creating your own syntax specific setting Preferences->Settings - Syntax Specific
The code is available at GitHub under MIT licence.
