Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 18:34 Go to next message
Marc Bradley is currently offline Marc BradleyFriend
Messages: 5
Registered: December 2014
Junior Member

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.

Re: Code Templates User variable with predefined values [message #1705540 is a reply to message #1705318] Mon, 17 August 2015 12:42 Go to previous message
Simon Bernard is currently offline Simon BernardFriend
Messages: 341
Registered: July 2009
Senior Member
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: Fri Jun 24 23:57:39 GMT 2022

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

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

Back to the top