[kate] [Bug 452078] Make it easier to modify default LSP config

2023-02-26 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=452078

Christoph Cullmann  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #8 from Christoph Cullmann  ---
I think the current json merging is ok as is.
I fail to see some realistic way to improve that.
Naturally if somebody shows up with some merge request to prove me wrong one
can reconsider.

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

[kate] [Bug 452078] Make it easier to modify default LSP config

2023-02-04 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=452078

Kishore Gopalakrishnan  changed:

   What|Removed |Added

 CC||kishor...@gmail.com

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

[kate] [Bug 452078] Make it easier to modify default LSP config

2023-01-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=452078

gl.ivanov...@gmail.com changed:

   What|Removed |Added

 CC||gl.ivanov...@gmail.com

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

[kate] [Bug 452078] Make it easier to modify default LSP config

2022-06-16 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=452078

Christoph Cullmann  changed:

   What|Removed |Added

   Severity|normal  |wishlist

--- Comment #7 from Christoph Cullmann  ---
I think the current state is not that bad, you don't need to copy stuff you
don't need, just the differences.
Naturally it might make sense to have a better UI for this than raw JSON, but I
don't see how that is easy to achieve.

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

[kate] [Bug 452078] Make it easier to modify default LSP config

2022-03-31 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=452078

--- Comment #6 from Waqar Ahmed  ---
There is a setting for that: "Configure Kate... -> LSP -> Add imports
automatically upon completion". With Qt it doesn't work well atm but will get a
lot better with clang 14 hopefully.


> ... "User Server Settings" and "Default Server Settings" tabs so that the 
> default settings are directly editable and have a "Reset to defaults" button?

The current style is more like vscode/sublime where you have an immutable
default setting file and user one.

Also, if you need to change only one property of the server (for e.g.,
initializationOptions), then specifying that is enough. The plugin merges User
and Default config automatically.

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

[kate] [Bug 452078] Make it easier to modify default LSP config

2022-03-31 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=452078

Christoph Cullmann  changed:

   What|Removed |Added

 CC||cullm...@kde.org

--- Comment #5 from Christoph Cullmann  ---
I don't think having just one field is a good idea, as you can e.g. just add
new servers in the local field and that will not alter the settings we ship. If
there is just one field, how to show that?

e.g. I do in most cases just add a new server in my field there, but I don't
want to fixate the other settings to the state of my first configuration.

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

[kate] [Bug 452078] Make it easier to modify default LSP config

2022-03-31 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=452078

--- Comment #4 from Nicolas Fella  ---
Okay, I just found out I can copy/paste the settings from the default settings
tab to the user settings tab and save.

Maybe it would make sense to merge the "User Server Settings" and "Default
Server Settings" tabs so that the default settings are directly editable and
have a "Reset to defaults" button?

In particular I wanted to add "-header-insertion=never" to clangd since it
usually doesn't insert the header I want (e.g. it includes "qvector.h" instead
of )

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

[kate] [Bug 452078] Make it easier to modify default LSP config

2022-03-30 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=452078

--- Comment #3 from Waqar Ahmed  ---
"User Server Settings" are directly modifiable in the config tab and you don't
need to save it somewhere else. But maybe I misunderstand you?

Anyways, maybe you can tell the arguments that you add to clangd, maybe there
is an alternative solution to that since clangd has a limited number of
arguments most of which are something that you set only need to be set once.

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

[kate] [Bug 452078] Make it easier to modify default LSP config

2022-03-30 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=452078

--- Comment #2 from Nicolas Fella  ---
The config under "User Server Settings"

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

[kate] [Bug 452078] Make it easier to modify default LSP config

2022-03-30 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=452078

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
Are you talking about the `.clangd` file or the config under "User Server
Settings"?

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