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 618
  • Win 310
  • Mac 248
  • Linux 60
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 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 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 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 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