Bug 495401 - Support for multiple LSP running at the same time on the same file
Summary: Support for multiple LSP running at the same time on the same file
Status: RESOLVED DUPLICATE of bug 474612
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 24.08.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-26 22:46 UTC by p3dimaria
Modified: 2024-11-01 07:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p3dimaria 2024-10-26 22:46:15 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
I want to run multiple language servers, like lsp-ai and nil, and get their suggestion from both of them. At the moment I get suggestions from only one of them 
STEPS TO REPRODUCE
For example, with the nix default config and the following config for lsp-ai
			lsp-ai = {
				command = "${pkgs.lsp-ai}/bin/lsp-ai";
				highlightingModeRegex = ".*";
				initializationOptions = {
					memory.file_store={};
					models.local ={
						type = "ollama";
						model = "codestral";
						max_requests_per_second = 1000000;
						chat_endpoint = "...";
						generate_endpoint = "...";
					};
				};
			};


OBSERVED RESULT
Only the suggestions from lsp-ai are shown, not from nil

EXPECTED RESULT
Both suggestions are shown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.11.5
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Comment 1 Waqar Ahmed 2024-11-01 07:11:41 UTC

*** This bug has been marked as a duplicate of bug 474612 ***