[Glass] Jade Autocompletation

BrunoBB smalltalk at adinet.com.uy
Fri Mar 7 05:54:56 PST 2014

Hi all,

I'm working in a simple package to implement autocompletation in Jade. 

It does not call the server to get autocompletation options (i think we
talked with James about this sometime ago) but rather store information as
the user click the JadeSystemBrowserPresenter.

It uses two classes for this:
JadeGsClassShape - after user click store (class name, method names, class
inst var, class var and so on)
JadeAutocompletationRegistry - global cache of all instances of

To achieve this i have added two classes:

How it works:
After a tab: it show all inst var of selected class and all classes names.
After space
    * it show all methods for selected class if previous word was "self".
    * it show all inst var of selected class and all classes names if
previous word was ":=".
This it will need a pane for autocompletation options (filter object
methods, filter "_xxx" methods and so on)

This is not my main Glass project and i build this while working in my main
Glass project. When the autocompletation works as expected i will send the


View this message in context: http://forum.world.st/Jade-Autocompletation-tp4748207.html
Sent from the GLASS mailing list archive at Nabble.com.

More information about the Glass mailing list