Skip to main content

🤖 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_zeros for 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.

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 gcc and 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)
  • gcc installed and available on your system PATH (for the Run feature)
  • Windows — the "Run" feature and maximized window launch currently rely on Windows-specific behavior (see Limitations below)

Getting Started

pip install clide-editor
python -m clide

Open a .c file with Ctrl+O, write some code, hit F5 to compile and run it.

Version

v0.1.0 — early days. Things work, but expect rough edges.

Limitations

  • Windows-only for now. The maximized-window launch and the F5 run 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 gcc yells 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 gcc output
  • 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

clide_editor-0.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clide_editor-0.1.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file clide_editor-0.1.0.tar.gz.

File metadata

  • Download URL: clide_editor-0.1.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for clide_editor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 34d820d3c9bb7468c72fff7acd1885f8495f40eb33547245bdafe018734b074c
MD5 f4e88904a9b568fdb75a4f8ad546eb71
BLAKE2b-256 a618a749e9c1164776ee90880edb9355b08ffc4117b6b77ad682fcbd986b9f32

See more details on using hashes here.

File details

Details for the file clide_editor-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clide_editor-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for clide_editor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3025286cd4660375b17f346e3b832d86f6b7a2ae069d2ee2196cadc5fc5d3279
MD5 0abd39d9061e7be42c5db94f5f1f5b47
BLAKE2b-256 af870683fa7f039cfeffe2fa5968da5ba8b0b241d611a6242ef93eedf314da88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page