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 622
  • Win 312
  • Mac 250
  • Linux 60
Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8
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 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
Mac 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 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 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