Page 1 of 1

Word Completion

Posted: Wed Jul 11, 2007 11:32 am
by amif2000
Hi Jussi,

I would like to ask for a new feature in Zeus.
Instead of the project-wide word completion based on ctags, I would like to be able to perform word completion based on words defined in the current document only. The search for possible completions can be dynamic and not based on a database of pre-searched words.

Thanks, Amit

Posted: Thu Jul 12, 2007 1:06 am
by jussij
Hi Amit,
I would like to be able to perform word completion based on words defined in the current document only. The search for possible completions can be dynamic and not based on a database of pre-searched words.

There is the WordComplete keyboard function that should already do this. This function is tied to the Edit, Auto Complete Word menu but naturally can also be bound to any keyboard key combination.

If you find a problem with the WordComplete keyboard function, just post a bug report ;)

Cheers Jussi

Posted: Thu Jul 12, 2007 9:32 am
by alexalex
Hi Jussi,

I encountered with a problem during auto word completion, while having 2 parameters with the same name (same string), but with different case, the auto word complete function return only one option, I would be glad to have the both options, since I am coding verilog HDL, which is a case sensitive language.

I have one more suggestion for the auto word completion function. When the result of the auto word completion function is a single option, make the completion automatically, with popping up the auto word complete options window choice.

Thanks,
Alex

Posted: Thu Jul 12, 2007 12:20 pm
by alexalex
Hi Jussi,

Sorry for the concatenated suggestions replies.
I have one more suggestion for the auto word completion function.
Please enable the operation of the function while the cursor is standing in the middle of the word that required completion.

Thanks,
Alex.

Posted: Thu Jul 12, 2007 11:14 pm
by jussij
When the result of the auto word completion function is a single option, make the completion automatically

That should be easy enough to do. Consider it done ;)
Please enable the operation of the function while the cursor is standing in the middle of the word that required completion
So I assume by this you mean the auto complete should use the text from the start of word to the cursor for the completion search or should it use the whole word :?:

Also how do you see this completing :?:

Is the current word replaced with the completed word selected :?:

Cheers Jussi

Posted: Sun Jul 15, 2007 6:30 am
by alexalex
Hi Jussi,

I meant that the auto complete function should complete the whole word even if the cursor stands somewhere in the middle of the word, and consider the auto completin as it works when the cursor is in the end of the word.

Thanks,
Alex

Posted: Sun Jul 15, 2007 11:15 pm
by jussij
This and your other word complete suggestions will be in the next Zeus patch due out shortly ;)

Cheers Jussi

Posted: Mon Jul 16, 2007 7:51 am
by alexalex
10x a lot :D

Posted: Tue Aug 07, 2007 1:01 am
by jussij
The latest Zeus 3.96i patch adds these new features and can be found here:

http://www.zeusedit.com/forum/viewtopic.php?t=1231

Cheers Jussi

Posted: Mon Jan 07, 2008 6:15 am
by rola
jussij,You are so kind,Thank you so much.