🤖 Note: This README was written by Claude AI, because the dev (me) was too lazy to write one myself. The code, however, is 100% hand-written — except for the giant list of C keywords/types/functions used for syntax highlighting, which Claude also helped generate because who's memorizing
stdc_leading_zerosfor fun.
CLIDE is a lightweight library based C editor with syntax highlighting, line numbers, auto-indent, and a one-key "compile and run" workflow using gcc. No bloat, no plugins, no 400 MB Electron shell — just a tkinter window that gets out of your way.
Built mostly as a personal project / learning exercise, not (yet) a serious rival to VS Code.
- Proper syntax highlighting.
- Now only C files are allowed to be edited
- 🎨 Syntax highlighting for C — keywords, types, functions, strings, char literals, comments (single-line and block), numbers, and preprocessor directives
- 🔢 Line numbers that track scrolling and zoom
- 🔍 Zoom in/out with
Ctrl + Mouse Wheel - ⏎ Auto-indent — adds/removes indentation automatically after
{,}, and: ▶️ Run with F5 — compiles your file withgccand runs it in a new console window- 💾 Open / Save / Save As from the File menu or
Ctrl+O/Ctrl+S - 📋 Paste-aware highlighting — pasted multi-line code gets highlighted properly, not just the current line
- 🎨 Style Configurator — change background, foreground colour and also fonts
- 🖱️ Undo/redo support (unlimited undo history)
- Python 3.x with
tkinter(usually bundled with Python on Windows) gccinstalled and available on your systemPATH(for the Run feature)- Windows — the "Run" feature and maximized window launch currently rely on Windows-specific behavior (see Limitations below)
Install the latest version:
pip install clide-editorOr install this specific version:
pip install clide-editor==0.1.1Run CLIDE:
python -m clideOpen a .c file with Ctrl+O, write some code, hit F5 to compile and run it.
v0.1.1 — early days, starting to get on the track. Things work, but expect rough edges.
- Windows-only for now. The maximized-window launch and the
F5run command (cmd /k gcc ...) both assume Windows. Running this on Linux/macOS will likely misbehave or crash on the run step. - Single-line-focused highlighting. Typing re-highlights the line you're on; large structural edits elsewhere in the file (outside of paste) aren't automatically re-scanned.
- No project/workspace support — it's a single-file editor, not a full IDE. No multi-file tabs yet.
- No build configuration — compilation is a hardcoded
gcc file.c -o file.exe, no custom flags, no Makefile support. - No autocomplete, linting, or error highlighting — you find out about bugs when
gccyells at you. - No find & replace yet.
- Cross-platform support (Linux/macOS build + run)
- Find & Replace
- Multiple tabs / multi-file projects
- Custom compiler flags / build settings
- Bracket matching + auto-close brackets
- Inline error markers from
gccoutput - Proper packaging (so you don't need Python installed to run it)
This is a small personal project, but if you spot a bug or have an idea, feel free to open an issue or PR.
See LICENSE for details.