Bug 477210

Summary: auto close LaTeX environments
Product: [Applications] kate Reporter: vrgovinda <vrgovinda>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description vrgovinda 2023-11-18 20:51:07 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Type \begin{env_name}[parameters]
2. 
3. 

OBSERVED RESULT
There's an auto-complete for <env_name>, but none for the environment itself.

EXPECTED RESULT
\begin{env_name}[parameters] <Hit Enter>
should result in 
\end{environment} also.

I know that this feature is there in Kile. But I want to stick to Kate because it is too good as compared to Kile, especially the "Sessions"; and I work on many other non-TeX text files too; 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Devuan Daedalus (Debian 12 w/o systemd)
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2023-12-18 19:08:44 UTC
Hi, I can see that this would be nice to have, but if no LaTeX LSP server provides such completion, I think you need to stick with Kile.
I can see the point to use plain Kate, I do that, too, but I don't think we will redo the Kile features.
Perhaps if Kile would be integrated as a plugin, but that is somethink the Kile devs would need to do.