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

i​Rules

by billchurch ST3

iRules Syntax Highlighting for Sublime Text Editor http://www.sublimetext.com

Details

Installs

  • Total 376
  • Win 178
  • OS X 159
  • Linux 39
Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10
Windows 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 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 1 0 1 0 0 0 0 4 8 1 0 0 0 0 1
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-iRules

About

iRules Syntax Highlighting for F5 Networks BIG-IP iRules syntax (http://devcentral.f5.com) for the Sublime Text Editor http://www.sublimetext.com

  • The command completion and syntax highlighting should be complete as of TMOS v15.0.

  • This includes highlighting and command completion:

  • And highligting of deprecated, removed, and illegal functions/events/commands (requires a scheme that supports the “invalid.illegal” and “invalid.deprecated” scopes and not all do. “Monokai” that ships with Sublime Text 3 does, so you can use that to test things out:

  • And highlighting of some possible double-substitution issues inside iRules.

  • And formatting of code (⌘+⇧+P -> iRule: Format Code)

This bundle was updated on July 16, 2019 and is currently maintained by James Deucker (https://github.com/bitwisecook).

Any suggestions or improvements, please make an issue on the github repo.

This bundle is created from both the built-in Tcl syntax by Sublime and the Visual Studio Code extension also by me (https://github.com/bitwisecook/vscode-iRule).

Installation (Package Management)

New Way

iRules is now in the the main repository. (preferred)

  • go to the command pallete (⌘+⇧+P)
  • select “Package Control: Install Package”
  • type “iRules” and select the iRules package

Old Way

Using Package Control at https://packagecontrol.io/installation:

Notes

  • I don't yet understand how to properly control the completions so events only happen at when
  • I haven't yet figured out how to make it so when and proc can't nest
  • Many completions are missing
  • the basic formatter is in and working