omadawn / njord

Java iRule Editor
2 stars 1 forks source link

Add some default iRules completions #126

Open omadawn opened 12 years ago

omadawn commented 12 years ago

Instead of just hard coding them in though add a section where you can write your own. That will make it easier for me to modify the defaults and more useful to end users.

Maybe WAY later a way for users to submit their own completions and I can compile a list of the most common/useful ones.

Currently I have: provider.addCompletion(new ShorthandCompletion(provider, "dbl0", "if {($DEBUG > 0 )} { log local0.debug \"", "if {($DEBUG > 0 )} { log local0.debug \"")); provider.addCompletion(new ShorthandCompletion(provider, "dbl1", "if {($DEBUG > 1 )} { log local0.debug \"", "if {($DEBUG > 1 )} { log local0.debug \""));