Bug 231272

Summary: kate snippets and auto-completion cooperation issue
Product: [Applications] kate Reporter: Lukasz Sowinski <lukasz.sowinski>
Component: plugin-snippetsAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: cullmann, scarpino
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Lukasz Sowinski 2010-03-19 07:15:27 UTC
Version:            (using KDE 4.4.0)
Compiler:          gcc-4.3.4 
OS:                Linux
Installed from:    Gentoo Packages

The auto-completion feature is invoked, only if a typed phrase has not been completed yet. That is indeed a desired behavior for almost all situations. However, as the snippet feature was introduced lately, this rise a small issue.

Snippets are abbreviations themselves, so even if the whole snippet name is typed, the auto-completion should be invoked. Let me give an example. Say that I have a snippet named 'abc' that expands to some long phrase or code. Now if I type 'abc' quickly enough, the auto-completion does not react, and the only way to actually make use of it, is to invoke the auto-completion manually by Ctrl+Space.
Comment 1 Dominik Haumann 2013-08-14 11:41:37 UTC
Isn't that the wanted behavior? In fact, we have other reports that cirticize Kate for showing the auto completion too often, so that it's in the user's way.

Is this really an issue for you, or can we close this as won-t fix?
Comment 2 Christoph Cullmann 2014-09-22 19:02:25 UTC
I think the current behavior is ok. The wished one has the same drawbacks, but in reverse direction and given snippets are there to abbreviate long things, one extra shortcut is not that bad compared to too often hide the auto-completion because it pops up for nothing.