ActiveState Powered by ActiveState

ActiveState Community


auto complete (not code complete)

Posted by neyfrota on 2007-07-02 10:23
OS: All / Any

I'm work (perl code) a long time with anjuta (c++ editor) using auto complete to minimize my variables typo and save lot of time.

I give a try on komodo edit/ide (now i have a fast machine to run komodo) and i like a LOT but i think will be hard to switch... I'm really need my variables auto completed, like this:

http://www.youtube.com/watch?v=9QEZ9SmKlRo

in fact, as i explain, its not a "code complete" but a "auto complete"... complete any word in my file (dont need search other files for this simple complete)

Can i do some magic on komodo configs/plugin to auto complete my variables?

shanec | Mon, 2007-07-02 11:00

You can use ctrl+space to word complete. Hitting it repeatedly will rotate through matching words. The functionality you show is available in some other languages, I'll have see about getting it added for Perl as well.

I've added a bug for this:
http://bugs.activestate.com/show_bug.cgi?id=70782

neyfrota | Mon, 2007-07-02 13:23

yep... complete... but complete but dont ask me what to complete! simple get the last one!

example:

$var_1 = "jhbgwhj";
$var_2 = "kjwdhkjwhd";

print $var_(CONTROL+SPACE)

at this point, he autocomplete $var_2... the best option (user friendly) is popup the options ($var_1 and $var_2) ... so i just move up/down and press enter...

in fact... to speedup the code... he need popup the auto complete options witout press control+space ... like in video.. i just start type my things... if i see something in the completation popup, just press up/down/enter to complete.. speed a looooot the coding and save my fingers :)

(im saving lot of tips... and gonna try at night... i want use komodo... its veeery nice!)

neyfrota | Mon, 2007-07-02 13:38

AAA.. My bad!!!

control+space , control+space , control+space , control+space , control+space !!!

greeeat!!!
now just check IDE and EDIT .. what is best to me! : )

Tnks people!!! tnks!!!

trentm | Tue, 2007-07-03 11:03

Bug 70782 has been added for this.

-->