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 603
  • Win 303
  • Mac 242
  • Linux 58
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 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
Windows 0 1 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 1 0 0 0 0 0 0 0 1 0 0
Mac 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 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 1 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.1.

  • This includes highlighting and command completion:

a relative link

a relative link

a relative link

  • 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:

a relative link

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

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

This bundle was updated on December 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