Configuring Python Language Server in Kate Editor for Virtual Environments

2025-05-05

This post details configuring a Python language server in the Kate editor to work with virtual environments. The author notes that while Kate's documentation exists, the setup process can be tricky. The article walks through creating a bash script, `pylsp_in_env`, to automatically detect and activate virtual environments. This script is then integrated with `python-lsp-server` and `python-lsp-ruff` (for Ruff linting and formatting). The final configuration is achieved by specifying the `pylsp_in_env` script and the `%{Project:NativePath}` path argument in Kate's LSP configuration file.

Read more
Development

Kate: A 20-Year-Old Code Editor That Still Rocks

2025-04-21

The author details their workflow with the Kate text editor, a powerful and customizable tool they've used for two decades. The article covers plugins, view splitting, language servers, debuggers, code formatting, custom shortcuts, project management, and color schemes. It highlights efficient workflow features like quick file switching, action search, and robust build and run functionality. Comparing it to VS Code, the author emphasizes Kate's simplicity, stability, and open-source nature, expressing appreciation for the Kate development team.

Read more
Development