On Wed, 17 Jun 2009 20:07:55 +0200, Frank wrote:
On Wed, 17 Jun 2009 20:00:53 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
On Wed, 17 Jun 2009 19:57:50 +0200, Frank wrote:
On Wed, 17 Jun 2009 19:53:19 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
On Wed, 17 Jun 2009 14:24:38 +0100, Nick wrote:
On Tue, 16 Jun 2009 22:28:08 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
>> Thoughts? > >Well, IMO it would be nice to be able to have this set to work >automatically, without having to press a special keybinding. >So if added, I would suggest a pref. Sounds cool though ;-)
Huh? Together with the normal autocompletion of symbols?
For now, a keybinding would be fine. I was thinking of combined autocompletion of words in the current file and tags from other files, but this would be more work.
Ok, so you want to merge the lists for auto-completion. I think when we do this, we do need to pre-generate and cache the list of words of the current file as generating the list would probably too heavy for every keystroke, even if only enabled by a pref.
I will commit the code as I said: bound to a keybinding only, for now. I don't mind if this gets improved later.
Please add also a hidden pref inside config file for these users which like this feature and are to lazy to activate it again and again.
???
What do you want to activate? As I said, I won't add any pref for merging it with normal auto-completion.
Maybe I shouldn't commit the changes and wait until someone (Nick, or whoever) wants to integrate with normal autocompletion. As said, I don't mind but won't do this myself.
Maybe I misunderstood you - another time.
When rereading and thinking again, I now think your goal was to just commit the function which is working only (= generating list etc) when pressing defined keystroke. Previously I understood the automerging stuff .... Well, if I'm now right, I agree and adding any option would be not very useful at all here beside the keybinding ;)
Yo, I was only talking about adding the word completion by using a new keybinding.
But if you wish to have this merged with the normal autocompletion list, it's maybe better when we do this directly instead of first adding a keybinding which we will remove then again later. Not to mention about breaking plugin API/ABI and confusion of users and all.
So, if you want this in the normal auto completion paired with a pref, please go implement and commit it or send a patch.
I don't see the point in committing code which changes API and is known to be thrown away in some days/weeks.
Regards, Enrico