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 610
  • Win 306
  • Mac 244
  • Linux 60
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 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Mac 0 0 1 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 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 1 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