🤖 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.
What is this?
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.
Changelog
- Proper syntax highlighting.
- Now only C files are allowed to be edited
Features
- 🎨 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 with
gccand 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)
Requirements
- 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)
Getting Started
Install the latest version:
pip install clide-editor
Or install this specific version:
pip install clide-editor==0.1.1
Run CLIDE:
python -m clide
Open a .c file with Ctrl+O, write some code, hit F5 to compile and run it.
Version
v0.1.1 — early days, starting to get on the track. Things work, but expect rough edges.
Limitations
- 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.
To Be Featured (Roadmap)
- 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)
Contributing
This is a small personal project, but if you spot a bug or have an idea, feel free to open an issue or PR.
License
See LICENSE for details.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clide_editor-0.1.1.tar.gz.
File metadata
- Download URL: clide_editor-0.1.1.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f2ec290103050f0838871c0fe6ce5cd073fafe442cbecba0d2bca52a3e9be0b
|
|
| MD5 |
267b96bf2be25f8f317a73bb142912e0
|
|
| BLAKE2b-256 |
2d8dd1f8e38bff148e2b6dfbc9fb1a6047c75f468ca3f607c4ad5a3d9ee3d2bd
|
File details
Details for the file clide_editor-0.1.1-py3-none-any.whl.
File metadata
- Download URL: clide_editor-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f576458b63641572d5fc02cc1f93cfd6e4a24d8180edf32243e2e3f0a5453f80
|
|
| MD5 |
46b39c52fad515d46c1c04629538ce6b
|
|
| BLAKE2b-256 |
07501dcf314d71f84bae5dbd41a5c479e0f0cdcab27ef32dd09c48e9f36b5f5b
|