Kate Planning
Monday, 9 September 2019
| Christoph Cullmann
The Opportunity During Akademy 2019 here in Milan, Dominik and me had time to sit together and discuss a bit what we shall do to evolve Kate :)
Whereas Kate already works well as a general purpose editor, the competition in the text editor space got more intense in the last years.
Beside the well established stuff like GNU Emacs & Vim, new editor projects got started that did set the bar higher on what users expect from a advanced GUI text editor.
Read More
KSyntaxHighlighting - Over 300 Highlightings...
Sunday, 25 August 2019
| Christoph Cullmann
I worked yesterday again on the Perl script that creates the highlighting update site used by e.g. Qt Creator.
I thought it would be perhaps a good idea to create some simple human readable overview with all existing highlighting definitions, too.
The result is this auto-generated Syntax Highlightings page.
Astonishing enough, at the moment the script counts 307 highlighting definitions. I wasn't aware that we already crossed the 300 line.
Read More
Kate - Document Preview Plugin - Maintainer Wanted!
Saturday, 24 August 2019
| Christoph Cullmann
At the moment the Document Preview plugin that e.g. allows to preview Markdown or other documents layout-ed via embedding a matching KPart is no longer maintained.
You can find more information about why the plugin got abandoned in this phabricator ticket.
If you want to step up and keep that plugin alive and kicking, now is your chance!
Even if you don't want to maintain it, you can help out with taking care of existing bugs for this plugin.
Read More
Kate - More languages supported via LSP!
Saturday, 10 August 2019
| Christoph Cullmann
The default configuration for the Kate LSP client does now support more stuff than just C/C++ and Python out of the box.
In addition to the recently added Rust support we now support Go and LaTeX/BibTeX, too.
Configuration The default supported server are configured via some JSON settings file we embed in our plugin resources.
Currently this looks like:
{ "servers": { "bibtex": { "use": "latex" }, "c": { "command": ["clangd", "-log=error", "--background-index"], "commandDebug": ["clangd", "-log=verbose", "--background-index"], "url": "https://clang.llvm.org/extra/clangd/" }, "cpp": { "use": "c" }, "latex": { "command": ["texlab"], "url": "https://texlab.netlify.com/" }, "go": { "command": ["go-langserver"], "commandDebug": ["go-langserver", "-trace"], "url": "https://github.com/sourcegraph/go-langserver" }, "python": { "command": ["python3", "-m", "pyls", "--check-parent-process"], "url": "https://github.com/palantir/python-language-server" }, "rust": { "command": ["rls"], "rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"], "url": "https://github.com/rust-lang/rls" } } }
Read More
Kate - Initial Rust LSP support landed!
Wednesday, 7 August 2019
| Christoph Cullmann
Initial support for the rls Rust LSP server has landed in kate.git master. The matching rls issue about this can be found here.
Given I am no Rust expert, I can only verify that at least some operations seem to work for me if the Rust toolchain is setup correctly ;=)
The current experience isn't that nice as with clangd, for example I get no symbols outline here. What is possible with clangd can be seen in one of my previous posts, video included.
Read More
kate-editor.org Update
Saturday, 3 August 2019
| Christoph Cullmann
Like my personal homepage cullmann.io, I ported the kate-editor.org website to the Hugo framework.
The new website uses zero cookies (yes, no stupid cookie question) and no kind of analytic software. It should be self-contained, too. No external resources that will leak your data to e.g. Google are requested.
But more important: unlike before, the website content will be fully hosted in a git repository on KDE infrastructure.
Read More
Kate LSP Status – July 22
Monday, 22 July 2019
| Christoph Cullmann
After my series of LSP client posts, I got the question: What does this actually do? And why should I like this or help with it?
For the basic question: What the heck is the Language Server Protocol (LSP), I think my first post can help. Or, for more details, just head over to the official what/why/… page.
But easier than to describe why it is nice, I can just show the stuff in action. Below is a video that shows the features that at the moment work with our master branch. It is shown using the build directory of Kate itself.
Read More
Kate LSP Status – July 21
Sunday, 21 July 2019
| Christoph Cullmann
The new LSP client by Mark Nauwelaerts keeps making nice progress.
It will not be shipped with the KDE Applications 19.08 release, but in master it is now compiled & installed per default. You only need to activate it on the plugin configuration page in Kate’s settings dialog to be able to use it.
For details how to build Kate master with it’s plugins, please take a look at this guide.
Read More
Kate LSP Client Continued
Sunday, 14 July 2019
| Christoph Cullmann
The new LSP client by Mark Nauwelaerts made nice progress since the LSP client restart post last week.
Reminder: The plugin is not compiled per default, you can turn it on via:
cmake -DCMAKE_INSTALL_PREFIX=“your prefix” -DENABLE_LSPCLIENT=ON “kate src dir”
The code can still be found kate.git master, see lspclient in the addons directory.
What is new?
Diagnostics support: A tab in the LSP client toolview will show the diagnistics, grouped by file with links to jump to the locations. Issues will be highlighted in the editor view, too.
Read More
Kate LSP Client Restart
Sunday, 7 July 2019
| Christoph Cullmann
Since my last post about the LSP client progress in May I didn’t work on that project at all I think.
But the good news is, somebody else did scratch that itch on his own ;=)
We have now a prototype plugin in kate.git master, see lspclient in the addons directory.
It is not compiled per default, you can turn it on via:
cmake -DCMAKE_INSTALL_PREFIX=“your prefix” -DENABLE_LSPCLIENT=ON “kate src dir”
Read More