Bug 104492 - complete automatically as long as the choice is unique
Summary: complete automatically as long as the choice is unique
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jeroen Wijnhout
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 22:49 UTC by Oliver Grimm
Modified: 2023-01-08 20:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Grimm 2005-04-24 22:49:33 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When I start writing a Latex command in Kile, a dropdown box opens and I am shown the possible completions. This is a great feature though it is somehow unusable when too many possible commands are shown. For example, I cannot really use autocomplete for \begin{itemize} because typing it myself is much faster than using the arrow key to look it up the in the list. And using the mouse is not an option either, because this would take a lot more time as well.

Thus, I propose the following behaviour (as an example):

- start typing "\beg"
- hit TAB to autocomplete to "\begin{"
- type "it"
- hit TAB to autocomplete to "\begin{itemize}"

This would be a good improvement in terms of usability. Currently the pull down list is only usable in practice when there are just one or two alternatives.
Comment 1 Holger Danielsson 2005-05-01 07:29:25 UTC
You can also use autocomplete mode for environments:

- start typing "it"
- hit ALT+SPACE

and you will get only two possible completions.
Comment 2 MarC 2006-01-15 12:39:10 UTC
now you the alt-space doesn't work but the autocomplete automatically shows the last coincidence.
for me you can mark this bug as "solved".

thank you!
Comment 3 MarC 2006-01-15 12:56:48 UTC
oh, sorry, I have now understood the feature that was really asked and it is NOT solved!
I think that OGrimm is really asking to have one key to autocomplete the typed text up to the first different letter of all the possibilities.

for instance,
if you started typing "\beg"
and there were only two possible options

\begin{list}
\begin{enumerate}

there should be a way to "gradually autocomplete" up to the first different letter, i.e. output "\begin{", then write "l" or "e" and hit again "autocomplete" to output "\begin{list}" or "\begin{enumerate}". Actually, this is the behaviour of "tab" at the konsole and it is really useful.

This possibility should be indicated somewhere down the autocomplete list (i.e full autocomplete (enter), gradual autocomplete (alt-enter), otherwise it would finish being one more "dark" shorcut that nobody knows, documented in the never read help section.

well, I hope I have got it now... sorry again.
Comment 4 Oliver Grimm 2006-01-15 13:47:26 UTC
yes, that's exactly what I was asking for. Seems like you found some better words to describe it :-)