[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    [Bug 146181] New: Autocomplete  preferences are needed
From:       Nathan Spaeth <loplin () gmail ! com>
Date:       2007-05-31 0:44:04
Message-ID: 20070531024403.146181.loplin () gmail ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=146181         
           Summary: Autocomplete  preferences are needed
           Product: kate
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kwrite-devel kde org
        ReportedBy: loplin gmail com


Version:           3.5.5-r1 (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
OS:                Linux

It would be useful to be able to define different behaviours to different autocompletions.
A) Autocomplete should recognize case. I for one don't type my html tags in capital letters and often end \
with things like the following when using autocomplete: <taBLE><tbODY><TR><br><TD></TR></TABLE>

Notice the funky casing, the lowercase is my typing, uppercase is autocomplete. 'table' and 'tbody' are \
autocompleted for me after the first two letters, 'br' doesn't have a closing tag and is too short to be \
recognized before I get to '<br' anyway, and once I do get that far, it doesn't give me the option to \
autocomple, so I have to type out '/>' myself.

I really do like having all my tags uppercase, I am just too lazy to do it. Ideally, rather than \
autocomplete match my tags case, there would be an option to just have all tag autocompletions go strait \
to uppercase, including the portions input by the user. So '<ta' would complete to '<TABLE>' rather than \
'<taBLE>', and '<br'  would autocomplete to '<BR/>'.


B)This may already be a feature that I couldn't find, but it would be useful if there was an option to \
always close tags. Some times when you are going quickly, you don't even think to press <enter> on \
autocompletions. This means you end up with: <table><tr><td>
And none of the closing tags were automatically inserted so you are left manually inserting them.
It would be nice if they would automatically:
1) Change the user typed code to uppercase (see above)
2) add the closing tag.

So typing, '<table><tr><td>' would result in '<TABLE><TR><TD></TD></TR></TABLE>'.

C) Lastly, it would also be nice if the closing tags on block level elements were automatically put on a \
new line... '<table>' would autocomplete as ...
<TABLE>|
</TABLE>

Or, typing '<table>[enter]<tr>' would autocomplete as...
<TABLE>
       <TR>|
       </TR>
</TABLE>

('|' denotes cursor position)

Thanks for reading all of this, regardless of whether these requests get implemented or not :)
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic