Skip to main content



      Home
Home » Archived » Lua Development Tools » Code Templates User variable with predefined values(Enable Ctrl+Space on user variables to autocomlete its value from a list of predefined values.)
Code Templates User variable with predefined values [message #1705318] Thu, 13 August 2015 14:34 Go to next message
Eclipse UserFriend
Greetings,

Maybe this is a long shot, but I have to ask.
Would it be possible with templates to auto-complete user variables by pressing Ctrl+Space on a selected Code template variable to open a list of available values for it. Some king of an ENUM that would limit the possibilities for that user variable to choose from.

Yeah.....that would be great. Smile

Or any workarounds that would enable that king of behavior.

Marc
Re: Code Templates User variable with predefined values [message #1705540 is a reply to message #1705318] Mon, 17 August 2015 08:42 Go to previous message
Eclipse UserFriend
I don't think you could do that with code template.
Maybe you could use a lua table and use it as an enum.
Previous Topic:Make .xml files to highlight the code
Next Topic:Slow debugging
Goto Forum:
  


Current Time: Wed Mar 19 19:52:57 EDT 2025

Powered by FUDForum. Page generated in 0.02962 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top