SUMMARY I realize that Omisharp-roslyn is... feature-filled with its settings configuration; it would be great if getting at least a default implementation in the settings tab for the language servers (or its own tab if it would be large), so that setting it up with Kate isn't a huge hassle by default. As-is, how to configure it for Kate is a bit confusing to get done right since it's quite complex on its own. STEPS TO REPRODUCE 1. Install omnisharp-roslyn 2. Attempt to configure for it in Kate 3. Struggle to get it set-up properly as one would following the existing examples OBSERVED RESULT Setting up omnisharp-roslyn with Kate is seemingly complex by default. It accepts the following but doesn't seem to do anything (not to mention there are many other omnisharp values): { "servers": { "c-sharp": { "command": ["omnisharp", "-lsp", "-e"], "commandDebug": ["omnisharp", "--debug", "--verbose"], "url": "https://github.com/OmniSharp/omnisharp-roslyn", "highlightingModeRegex": "^Cs$" } } } DESIRED RESULT Having an existing preset configuration for omnisharp (STDIO - as it's to my understanding Kate uses it) to tweak as desired, if needed. SOFTWARE/OS VERSIONS Linux: Arch Linux KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION N/A
The provided config is almost correct. The following works for me: "c-sharp": { "command": ["omnisharp", "-lsp"], "commandDebug": ["omnisharp", "--debug", "--verbose"], "url": "https://github.com/OmniSharp/omnisharp-roslyn", "highlightingModeRegex": "^C#$" }, I get some errors in the Output console, but generally it seems to work. Will submit a patch for this.
Git commit 772a89ac0d2dc957b047cca87fbbb2461de8ef81 by Christoph Cullmann, on behalf of Eric Armbruster. Committed on 23/04/2022 at 16:21. Pushed by cullmann into branch 'master'. Add default config for c-sharp language server M +6 -0 addons/lspclient/settings.json https://invent.kde.org/utilities/kate/commit/772a89ac0d2dc957b047cca87fbbb2461de8ef81