Forum Discussion
Stephan_87795
Nimbostratus
Jun 05, 2008iRuler auto-complete not working
Hi all,
I have downloaded and installed the iRuler .zip installation package. Everything is working except the auto-complete feature (...yes, it is marked active in the 'view' menu). I already tried installing it on another box, but I got the same results there.
This is quite uncomfortable to me, especially as I am rather a newbie in developing iRules.
Does anyone have ideas what might be the reason for auto-complete isn't working on my box? Is there anything I need to do after installation to make it work?
Cheers,
Stephan
7 Replies
- Does syntax highlighting work for you? Both of these features are part of the 3rd party scintilla control that I'm using in the project.
I'm working on a separate installer that will remove the ClickOnce dependency (Microsoft's .Net deployment management package). This will move all the files to the "Program Files" folder which may help with some of these issues. If syntax highlighting does work but auto-complete does not, then I'm at a loss as to why this would happen. Without an environment that I can replicate this it's hard to figure out what's causing it. What is your client OS?
-Joe - Andy_Herrman_22
Nimbostratus
Is it possible that the autocomplete word list is missing? That might explain it, but could be hard to debug while it's still a .Net deployment.
Can't wait for a standalone installer! - Stephan_87795
Nimbostratus
Hi Joe,
thanks for the quick reply.
Syntax highlighting basicly works. Only sometimes, when typing keywords within if-clauses in brackets, it does not always recognize them. Though, typing the same keyword in a separate line would recognize it.
I am using WinXP SP1 with .NET 2.0
(also tried on a box having XP SP2 installed, but no success)
Thanks,
Stephan - Stephan_87795
Nimbostratus
Do you happen to know where this list is located?
Is it within a file or is it compiled code?
Thanks,
Stephan - Andy_Herrman_22
Nimbostratus
I don't know where it would be, as I'm not really familiar with how the .Net deployment stuff actually installs (it all goes in weird places).
As for the syntax highlighting, I've noticed that too. Some keywords seem to be tricky as to when they'll be highlighted.
The one case I can remember is this:if { ... } { } else { }
versusif { ... } { } else { }
In the first one the 'else' doesn't get highlighted as a keyword, but in the second one it does.
If that's what you're seeing then that's normal. - Click Tools/Config/Edit Config in the iRule Editor and it will open the local configuration file with all the autocomplete tokens. If that file doesn't exist, on startup the iRule Editor will extract it out of it's resources and write it to disk and then try to reload it.
-Joe Posted By aherrman on 06/06/2008 6:40 AM
I don't know where it would be, as I'm not really familiar with how the .Net deployment stuff actually installs (it all goes in weird places).
As for the syntax highlighting, I've noticed that too. Some keywords seem to be tricky as to when they'll be highlighted...
Man I wish someone would have posted this sooner. I never realized this but it's happening for me as well. I'll have to dig into the scintilla code to see what's up.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
