Editor hints (and maybe completion)
Posted: Sat May 03, 2014 11:07 pm
It would be nice to have a hints tab at the bottom of the editor.
For the start of built-in commands it might show the likely command including both built-in commands and user defined commands in the message path. If none match (or even if there are matches) then a synonym substitution might be listed.
Type in 'listen' and the hints might be this:
accept datagram connections on port ...
accept connections on port ...
listenToMusic station (from this stack)
Type in 'close' and you get this:
close ...
close driver ...
close file...
close printing...
close process...
close socket...
closeRobot robotID (from front script from button "robot helpers")
Maybe those dots should be full or partial syntax.
And maybe some way to type the right arrow to get the partial for the one at the top. Or the right arrow can select the highlighted one and up and down can move the highlight.
And a special colorization for using commands and functions currently in the message path.
Hints might also be provided for 'on' where messages are listed in contextual order and for functions once the left parenthesis is hit. Maybe even 'the' can trigger some hints.
For the start of built-in commands it might show the likely command including both built-in commands and user defined commands in the message path. If none match (or even if there are matches) then a synonym substitution might be listed.
Type in 'listen' and the hints might be this:
accept datagram connections on port ...
accept connections on port ...
listenToMusic station (from this stack)
Type in 'close' and you get this:
close ...
close driver ...
close file...
close printing...
close process...
close socket...
closeRobot robotID (from front script from button "robot helpers")
Maybe those dots should be full or partial syntax.
And maybe some way to type the right arrow to get the partial for the one at the top. Or the right arrow can select the highlighted one and up and down can move the highlight.
And a special colorization for using commands and functions currently in the message path.
Hints might also be provided for 'on' where messages are listed in contextual order and for functions once the left parenthesis is hit. Maybe even 'the' can trigger some hints.