Feature completion recognises characters. Why not recognise types as well?
For example, to complete an assignment statement requires a typed
expression, whereas to complete an instruction requires a command. So,
the feature list can be filtered.
For example, in the body of a BOOLAEN function in class C,
Result := | -- when the cursor is here, only BOOLEAN functions and
-- attributes of C are possible
|-- When the cursor is here, only commands and reference attributes
-- of C are possible
The '|' represents the keyboard cursor location.
--
Peter Horan School of Engineering and Information Technology
peter@... Deakin University
+61-3-5227 1234 (Voice) Geelong, Victoria 3217, AUSTRALIA
+61-3-5227 2028 (FAX)
http://www.eit.deakin.edu.au/~peter-- The Eiffel guarantee: From specification to implementation
-- (
http://www.cetus-links.org/oo_eiffel.html)
_______________________________________________
Es-devel mailing list
Es-devel@...
http://rock.inf.ethz.ch/cgi-bin/mailman/listinfo/es-devel