https://bugs.kde.org/show_bug.cgi?id=454247

            Bug ID: 454247
           Summary: Cannot override / add to lsp settings in .kateproject
           Product: kate
           Version: 21.12.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: rob.rol...@gmail.com
  Target Milestone: ---

SUMMARY

I've added the Ada Language Server to my User Server Settings:

```
{
    "servers": {
        "ada": {
            "command": ["ada_language_server"],
            "root": "",
            "url": "https://github.com/AdaCore/ada_language_server";,
            "highlightingModeRegex": "^Ada$"
        }
    }
}
```

But when I attempt to set the projectFile setting in the .kateproject, nothing
seems to happen:

```
{
    "name": "my project",
    "lspclient": {
        "ada": {
            "settings": {
                "ada": {
                    "projectFile": "plaidcl.gpr",
                    "enableIndexing": true
                }
            }
        }
    }
}
```

If I place that `settings` object inside the User Server Settings, it uses
projectFile and sends it via a `workspace/didChangeConfiguration` message.

STEPS TO REPRODUCE

See above configuration snippets. 

OBSERVED RESULT

`workspace/didChangeConfiguration` message does not fire upon opening a source
file within the project.

EXPECTED RESULT

`workspace/didChangeConfiguration` should fire, sending the settings from the
.kateproject file.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 36
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.8-300.fc36.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to