WEE Subroutine Arguments and Completions
- Posted by dcuny Feb 02, 2015
- 1401 views
I'm not sure what WEE can be expected to do at this point (WEE changelog, perhaps? ), but a couple things I noticed:
Routine arguments don't pop up for built-in routines like length() or sin(). This seems an odd omission.
There's no feedback on routine arguments when the routine wasn't found. I'm sort of on the fence about this - I can't tell if WEE is broken or doesn't implement some functionality, or if the routine simply hasn't been defined yet. I'm not sure a popup with "No matches found" would be helpful or not.
Completions aren't in sorted order. Alpha sorting would make it easier to use.
I love the auto-include. Love it, love it, love it!
The colon (:) symbol seems to confuse completions. For example:
include "filter.e" as filter function foo(integer x, integer y) end function
If I then type the code:
filter:
WEE helpfully proposes foo as an option. I've got no clue why it does that, since foo() isn't in the namespace filter.
I'm really looking forward to WEE supporting completions with namespaces!
Adding information to the display on the autocomplete would be nice. In Eclipse, the format is:
TYPE_ICON ROUTINE_NAME( ARG_1, ARG_2 ... ) : RETURN_TYPE - CLASS_NAME
Where CLASS_NAME is in light grey, so it doesn't overwhelm the list. I don't know if you have color control on the Scintilla list.
- David