Build KATE: LSP integration ??

Hi..

Kate has been my favorite editor for years.

Now i want to use kate also for programming.

Because i belief i read somewhere Kate lets you WATCH a variable when STEP thru a source code.

And because Kate is simpler then other editors for programming.

Very long time ago i programmed on msdos with borland c++ which had a very simple editor.

And very simple way to WATCH variables and simple way to STEP IN and STEP OVER and things.

It was very nice and simple.

Now programming editors are much more complex, and i lose my way in them.

Why are there no very simple editor to program anymore ? I am stunned.

I hope to find some of the simpleness in kate, and simply again use WATCH and STEP IN and STEP OVER like a long time ago.

Now i am trying to compile Kate.

On ubuntu 22.04, but i also can use kubuntu if needed, or better.

I am new to compiling Kate.

How do i do this ?? :

LSP integration

# clangd tooling
compile-commands-export yes
compile-commands-linking yes

Thanks… Very much..

Vroemm..

You have options in kate to tweak parameter of all the LSP integration.

You can change them in the tab next to this one.

This is documented LSP Client Plugin

        "c": {
            "command": ["clangd", "-log=error", "--background-index", "--limit-results=500", "--completion-style=bundled"],
            "commandDebug": ["clangd", "-log=verbose", "--background-index"],
            "url": "https://clangd.llvm.org",
            "highlightingModeRegex": "^(C|ANSI C89|Objective-C)$",
	        "compile-commands-export": "yes",
	        "compile-commands-linking": "yes"
        },

Or you can change the command line used for clang.

I do not understand.

The link i showed shows how to compile kate from a terminal command line, without using the kate which is allready installed.

How then can settings in kate, which is allready installed, be of influecence on compiling kate from command line ?

Problem SOLVED :slight_smile:

Answer : Do nothing with the above text.

The above text is not an instruction to do something.

The text is meant to explain what is done in the text above about ~/.config/kdesrc-buildrc

The lines are in ~/.config/kdesrc-buildrc

This problem is solved.

Other problem showed up during compiling :slight_smile:

Stil trying to figure it out :slight_smile: