<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>IDE on Daniel Zhang</title><link>https://zhangdapeng.dev/tags/ide/</link><description>Recent content in IDE on Daniel Zhang</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Fri, 30 Oct 2026 08:00:00 +0800</lastBuildDate><atom:link href="https://zhangdapeng.dev/tags/ide/index.xml" rel="self" type="application/rss+xml"/><item><title>Goodbye Bloat! A Minimalist Python Setup for Ubuntu Developers: Kate + Ruff</title><link>https://zhangdapeng.dev/p/ubuntu-minimalist-python-kate-ruff/</link><pubDate>Fri, 30 Oct 2026 08:00:00 +0800</pubDate><guid>https://zhangdapeng.dev/p/ubuntu-minimalist-python-kate-ruff/</guid><description>&lt;p&gt;In the age of AI, the way we write code has fundamentally changed. Most of the core logic is now generated by AI. &lt;strong&gt;As developers, our daily routine has largely shifted toward &amp;ldquo;code tweaking&amp;rdquo;&lt;/strong&gt; and minor structural adjustments.&lt;/p&gt;
&lt;p&gt;Since we are mostly just fine-tuning code, traditional development toolchains that chew up hundreds of megabytes—or even gigabytes—of RAM feel increasingly out of place. After upgrading my &lt;strong&gt;Ubuntu&lt;/strong&gt; environment, I went looking for a lightweight, modern, and hassle-free setup. After a lot of trial and error, I found my perfect match: &lt;strong&gt;the Kate editor combined with the Ruff linter&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="the-heavyweight-tools-that-let-me-down"&gt;The &amp;ldquo;Heavyweight&amp;rdquo; Tools That Let Me Down
&lt;/h2&gt;&lt;p&gt;Before streamlining my workflow, I tried the usual suspects, but each brought its own set of annoyances for someone who only edits code occasionally:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Sublime Text (Subl)&lt;/strong&gt;: It is definitely lightweight, but on Ubuntu, it constantly pesters you with registration pop-ups, which ruins the experience.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;VS Code (Code)&lt;/strong&gt;: The ecosystem is massive, but perhaps due to extension bloat, double-clicking it sometimes results in the editor hanging for what feels like forever before responding. That is incredibly frustrating when you just want to fix a single line of code.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;JetBrains Family (e.g., PyCharm)&lt;/strong&gt;: These are industry masterpieces with incredibly robust features. But for occasional editing and minor tweaks, it feels like driving a tank to the grocery store. Just to edit a file, you have to wait ages for it to index and build caches, not to mention its massive memory footprint. It is simply too much hassle.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="discovering-a-hidden-gem-kate-text-editor"&gt;Discovering a Hidden Gem: Kate Text Editor
&lt;/h2&gt;&lt;p&gt;Instead of fighting the bloat, I decided to go back to basics. That is when I found &lt;strong&gt;Kate&lt;/strong&gt;, a text editor from the KDE family that perfectly fits my workflow.&lt;/p&gt;
&lt;p&gt;Think of it as a &lt;strong&gt;supercharged &amp;ldquo;Notepad&amp;rdquo; or an advanced text editor for Linux&lt;/strong&gt;. Here is why I love it:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Instant Startup&lt;/strong&gt;: There is no heavy loading screen or initialization delay. It opens instantly, feeling noticeably snappier than VS Code.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Modern Aesthetics&lt;/strong&gt;: The interface is clean, modern, and sharp. The default themes look great out of the box, easily rivaling premium, paid commercial editors.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lightweight Yet Capable&lt;/strong&gt;: While it stays true to being a lightweight text editor, it comes packed with tabbed editing, project management, an embedded terminal, and native LSP (Language Server Protocol) support—everything you need to fine-tune code.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="the-perfect-match-ruff-the-ultra-friendly-python-linter"&gt;The Perfect Match: Ruff, the Ultra-Friendly Python Linter
&lt;/h2&gt;&lt;p&gt;A great editor needs great code analysis. In the past, setting up Python linting and formatting meant stitching together a mess of tools like &lt;code&gt;Flake8&lt;/code&gt;, &lt;code&gt;Black&lt;/code&gt;, and &lt;code&gt;isort&lt;/code&gt;. It was tedious to configure and sluggish to run.&lt;/p&gt;
&lt;p&gt;Then I discovered &lt;strong&gt;Ruff&lt;/strong&gt;. Written in Rust, this all-in-one Python linter completely redefines the development experience:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Blazing Fast&lt;/strong&gt;: It is advertised as tens or hundreds of times faster than traditional tools. In practice, linting finishes the exact millisecond you hit save—zero perceived latency.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Incredibly User-Friendly&lt;/strong&gt;: The error messages are remarkably clear and intuitive, often providing smart autofix suggestions on the spot.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zero-Fuss Setup&lt;/strong&gt;: You no longer need to populate your environment with dozens of scattered Python packages. Ruff replaces them all, keeping your system absolutely pristine.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="conclusion"&gt;Conclusion
&lt;/h2&gt;&lt;p&gt;In this new era of AI-collaborative development, &lt;strong&gt;lightweight, efficient, and non-intrusive&lt;/strong&gt; tools are king.&lt;/p&gt;
&lt;p&gt;If your daily work on Ubuntu revolves around minor code adjustments, there is no need to tolerate sluggish IDEs, constant registration pop-ups, or heavy caching. Give the &lt;strong&gt;Kate + Ruff&lt;/strong&gt; combination a shot. Leave the heavy lifting to your AI assistant, and let your editor go back to doing what it does best: staying fast and lightweight!&lt;/p&gt;</description></item></channel></rss>