autocomplete for SEE?

Hi folks…

I’m using SubEthaEdit and I miss the autocomplete that’s so wonderful in Unitron…

I have been looking for a Unity JavaScript extension but all I can find is a version from '06, which lacks in most JS terms.

Does anyone of you have a good source for a newer version?

Thanks a lot,
Mike

unitron has autocomplete? like one that actually works?

and as far as I know, SEE doesn’t have autocomplete

SEE does actually have autocomplete - alt + escape activates it.

Thanks, I know I have to press Escape, but when I enter “gui” and press escape for example, all I get is guiElement and guiText.

Whereas Unitron gives me a list of 6 different terms…

Now I see your problem. I have attached new versions of the JS and C# modes with all the new words from the Unitron syntax definition. I will also send them to SubEtha - they are usually willing to post updates to existing modes.

48480–1788–$unityjavascriptmode_128.zip (11.7 KB)
48480–1789–$unity_cmode_190.zip (14 KB)

Ahhh … were you the one that created the previous modes for SEE?

:smile:

Yes.

In case anyone’s interested, adding the new words to the syntax definition is just a matter of pasting them into a file called AutocompleteAdditions.txt in the mode definition file (use Show Package Contents from the Finder to access the internals of the mode). This file also makes a good basis from which to make modes for other editors - it’s just a list of the strings, one per line, and you can quite easily add … pairs for editors that define modes as XML.

Yes, me !

Thanks a lot :stuck_out_tongue: