Get Involved/development/IDE configuration/Kate: Difference between revisions

From KDE Community Wiki
(Use https://kate-editor.org/build-it/)
 
(List of features)
Line 1: Line 1:
Kate is the feature-packed text editor from KDE.
Kate is the feature-packed text editor from KDE.


The official instructions web page for "Building Kate from Sources on Linux" is https://kate-editor.org/build-it/  
See the web page "Building Kate from Sources on Linux" https://kate-editor.org/build-it/  


The web page talks about how to build kate using kdesrc-build.
The web page talks about how to build kate using kdesrc-build and how to configure kate.


The web page also talks about how to configure the kate text editor in order to program/develop C++ source code projects:
Configure the kate text editor in order to program/develop C++ source code projects:
* Configure kdesrc-build to generate .kateproject project files.
* Configure kdesrc-build to generate .kateproject project files.
* Configure kdesrc-build to generate the file compile_commands.json used by the clangd C++ LSP server.
* Configure kdesrc-build to generate the file compile_commands.json used by the clangd C++ LSP server.
* Enable the kate plugins: Project Plugin, LSP Client, Build Plugin.
* Enable the kate plugins: Project Plugin, LSP Client, Build Plugin, GDB.
 
Some of the features available in kate:
* Debugger. Using the "GDB" plugin.
* LSP Client Symbol Outline
* Right click in text editor on a C++ identifier > LSP Client > Go to Declaration/Find References/ Switch Source Header F12/ Symbol Info/ Search and Go to Symbol Ctrl+Alt+P/ Format/ Rename/ Switch to diagnostics tab/ Quickfix This menu is also available from kate main menu > LSP Client.
* kate main menu > Tools > External Tools > Git > git blame/ gitk
* kate main menu > Tools > External Tools > Tools > Clang Format Full File/ Search KDE/Qt API/ JSON/XML Format Full File.

Revision as of 18:22, 11 September 2022

Kate is the feature-packed text editor from KDE.

See the web page "Building Kate from Sources on Linux" https://kate-editor.org/build-it/

The web page talks about how to build kate using kdesrc-build and how to configure kate.

Configure the kate text editor in order to program/develop C++ source code projects:

  • Configure kdesrc-build to generate .kateproject project files.
  • Configure kdesrc-build to generate the file compile_commands.json used by the clangd C++ LSP server.
  • Enable the kate plugins: Project Plugin, LSP Client, Build Plugin, GDB.

Some of the features available in kate:

  • Debugger. Using the "GDB" plugin.
  • LSP Client Symbol Outline
  • Right click in text editor on a C++ identifier > LSP Client > Go to Declaration/Find References/ Switch Source Header F12/ Symbol Info/ Search and Go to Symbol Ctrl+Alt+P/ Format/ Rename/ Switch to diagnostics tab/ Quickfix This menu is also available from kate main menu > LSP Client.
  • kate main menu > Tools > External Tools > Git > git blame/ gitk
  • kate main menu > Tools > External Tools > Tools > Clang Format Full File/ Search KDE/Qt API/ JSON/XML Format Full File.