A clean, lightweight, and intelligent code editor built from scratch in Python (PyQt5).
Designed for elegance, clarity, and performance — crafted for learning, creativity, and innovation.
A clean, lightweight, and intelligent code editor built from scratch in Python (PyQt5). Includes syntax highlighting, dark/light themes, and line numbers. Designed to be minimal, elegant, and extensible – a personal project to learn and explore GUI development, syntax highlighting, lexers, and editor design.
- Furthermore, it lays the foundation for advanced features like autocomplete and AI-assisted coding.
✅ File Management
- Open, Edit, and Save files with ease
- File Type Detection (Python, JavaScript, HTML, C/C++, Java, etc.)
- Basic Shortcuts (Ctrl+S, Ctrl+N, Ctrl+O)
✅ Beautiful Interface
- Dark & Light Themes (toggle support)
- Current-line highlighting and custom color palettes
- Designed for focus and simplicity
✅ Coding Essentials
- Syntax highlighting (supports Python as of now)
- Real-time file stats (line, column, word, character count)
- Line numbers
- Keyboard shortcuts for faster workflow
- Python 3.10+
- PyQt5 (GUI framework)
- Custom syntax highlighter (
highlighter/lexer.py) - Modular architecture for editor, themes, and future extensions
git clone https://github.com/m4noj/smart-editor.git
cd smart-editorpip install -r requirements.txtpython main.py- Autocomplete & Intelligent Code Hints
- Integrated Terminal (QProcess / QTermWidget)
- Sidebar & Multitab support
- Code Snippets & Templates
- Multi-tab Editing
- More language-specific syntax highlighters


