Bug 100230

Summary: Make Autocomplition Context (Environment) Dependend
Product: [Applications] kile Reporter: Matthias Pospiech <matthias.pospiech>
Component: generalAssignee: Jeroen Wijnhout <spam>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Matthias Pospiech 2005-02-25 10:39:34 UTC
Version:           1.7.1 (using KDE 3.3.0, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
OS:                Linux (i686) release 2.6.8.1-12mdk

Autocomplition is a great tool, but it looses its strength compared to emacs or vim because it is not environment dependend.

for example in equations it would be great to NOT have all the \textwhatsoever commands, when one wants \text{}.

On the other hand \quad does not make sence outside math.

I know this needs parsing of the document, but this is implemented in emacs, so why should this not be possible within KDE editors as well ?

Matthias
Comment 1 Matthias Pospiech 2005-10-16 19:10:04 UTC
We do know that we are inside a math environment, dont we ? Just because there is highlighting for math.

Why not apply only a subset of commands known as math commands inside math environments ?

For example it is annoying to get all 4 \part items but \partial at the end, where \part is very useless inside an equation.

Matthias