Bug 501320

Summary: [Feature request] There should be a possibility to only allow start of LSP server once, without remembering it as allowed for the future
Product: [Applications] kate Reporter: sergeyprotserovca
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description sergeyprotserovca 2025-03-10 21:44:00 UTC
As of version 24.12.3, when a file for which an LSP server is available is opened, there pops-up a question of whether the user wants LSP server to be started. There are two options available: to start it and not to start, and either choice is remember for the future. Running an LSP server against a project in general allows arbitrary code execution from this project, so ideally the choice of whether to start LSP server should be remembered not on a per-server basis, but on a per-"server-and-project-pair" basis. However, as a first step that would make LSP client functionality in Kate much more secure and ergonomic, it would be great to add an option to run LSP this time, but don't remember this choice for the future.