Enhanced AutoComplete

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Enhanced AutoComplete

Post by skywalk »

Please enhance the Autocomplete feature by limiting the contents or prioritizing them to the enum or gadget type.

For instance: When typing in a gadget command's Flags parameter, force the top of the Autocomplete list to the relevant PureBasic constants.

Some examples:

Code: Select all

\id = ButtonImageGadget(#PB_Any, \X, \Y, \Wd, Ht, ImagesInUse(\imgNr)\hnd, ...User Hits [Ctrl+Space] here...)
;...Autocomplete lists the following...
#PB_Button_Toggle

\id = OpenWindow(wID, \x, \y, \wd, \ht, \Txt, ...User Hits [Ctrl+Space] here...)
;...Autocomplete lists the following...
#PB_Window_BorderLess    
#PB_Window_Invisible     
#PB_Window_Maximize
#PB_Window_MaximizeGadget
#PB_Window_Minimize
#PB_Window_MinimizeGadget
#PB_Window_NoGadgets
#PB_Window_ScreenCentered
#PB_Window_SizeGadget  
#PB_Window_SystemMenu   
#PB_Window_TitleBar      
#PB_Window_Tool          
#PB_Window_WindowCentered
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum