- Core Highlights: Universal syntax lexers, smart auto-completion, dual execution modes (Run & Debug with performance metrics), a Python step debugger with breakpoints, dynamic workspace management, and an IDE-dark minimalist.
- Supported Platforms: Windows (
.exe) and Linux (Binary) officially; macOS via source (see Supported Devices).
- GUI Framework: PyQt6 (High-performance native widget rendering)
- Editor Engine: QScintilla (Advanced text editing, folding, and multi-lexer syntax highlighting)
- Performance Profiling:
psutil(Real-time CPU, RAM, and thread monitoring) - Python Formatting: Black (auto-format with
Ctrl + D) - Debugger: standard-library
bdbrunning in a separate process (no extra dependency) - Bundler: PyInstaller (Standalone binary packaging, build-only:
requirements-build.txt)
Anoterra/
├── main.py # Application entry point and cross-platform icon handler
├── requirements.txt # Runtime dependencies
├── requirements-build.txt # Runtime + PyInstaller (build only)
├── LICENSE # MIT License
├── anoterra.ico # Windows application icon bundle
├── anoterra.png # Linux application icon
├── build.spec # PyInstaller packaging configuration
├── core/ # Core business logic and engine modules
│ ├── __init__.py # Core package initializer
│ ├── analysis.py # Code analysis utilities & Black/built-in formatter
│ ├── debug_worker.py # Debug process: runs the script under bdb (stdlib only)
│ ├── debugger.py # Debug session (socket protocol, Qt signals)
│ ├── editor.py # Advanced QScintilla wrapper & auto-formatter
│ ├── languages.py # Language lexers and configurations
│ ├── runner.py # Asynchronous execution & performance profiler
│ ├── settings.py # Application configurations and preferences
│ ├── theme_data.py # Theme color palettes and configuration
│ ├── version.py # App version (single source of truth)
│ ├── trust.py # Workspace Trust helpers (plugins)
│ └── utils.py # Helper utilities and common functions
├── tests/ # Test suite and smoke testing
│ ├── __init__.py # Test environment setup (offscreen Qt)
│ ├── test_hardening.py # Plugin opt-in & path helper tests
│ ├── test_debug_worker.py # Debugger protocol tests (breakpoints, stepping)
│ ├── test_debugger_ui.py # Breakpoint markers & Debug tab tests
│ ├── test_trust.py # Workspace Trust tests
│ ├── test_save_filters.py # Save As filters, extension fix-up & version tests
│ ├── test_black_format.py # Black formatting tests
│ ├── test_app_smoke.py # Application smoke tests
│ ├── test_core_logic.py # Core logic verification tests
│ ├── test_editor_view_options.py # Editor view options unit tests
│ ├── test_features.py # Feature integration tests
│ ├── test_html_preview.py # HTML preview functional tests
│ ├── test_ide_upgrades.py # IDE enhancement tests
│ └── test_theme.py # Theme rendering unit tests
└── ui/ # User interface components and themes
├── __init__.py # UI package initializer
├── debug_panel.py # Debug tab (variables, call stack) & debug controller
├── language_icons.py # Colored per-language badge icons for editor tabs
├── main_window.py # Main IDE window, menus, workspace tree, & terminal
├── themes.py # Dark modern professional stylesheet
└── widgets.py # Custom user interface widgets
Anoterra is a lightweight modern desktop-based Code Editor & IDE built using Python and PyQt6/QScintilla.
- Core Editing Engine: Utilizes the high-performance QScintilla library providing real-time syntax highlighting, code folding, smart auto-completion, and responsive line numbering.
- Asynchronous Execution & Runner: When executing code (
F5orCtrl + F5), scripts run without blocking the main user interface. The asynchronous engine incore/runner.pyexecutes external processes (Python, Node.js, C++ compiler) in the background while monitoring system resource usage (CPU & RAM viapsutil). - Dynamic Workspace: Provides left-panel project folder workspace management, multi-document file tab navigation, real-time HTML Live Preview (built-in, no JavaScript) plus Open in Browser for full HTML/CSS/JS, and an integrated terminal.
Anoterra is a desktop-only app (PyQt6). It does not run on phones/tablets or in a browser.
| OS / Device | Architecture | Status | How to run |
|---|---|---|---|
| Windows 10 / 11 | x64 | ✅ Official | .exe build or from source |
| Linux (Ubuntu 20.04+, Debian 11+, Fedora, Arch, glibc ≥ 2.28) | x86_64 | ✅ Official | Binary build or from source |
| Linux on ARM (Raspberry Pi 4/5 64-bit, ARM laptops) | aarch64 | pip install -r requirements.txt (needs PyQt6 wheels for your distro) |
|
| macOS 11+ (Intel & Apple Silicon) | x64 / arm64 | python main.py |
|
| Windows 7 / 8 / 8.1, 32-bit Windows | - | ❌ Not supported | PyQt6 requires Windows 10+ 64-bit |
| Android / iOS / iPadOS | - | ❌ Not supported | Desktop toolkit only |
| ChromeOS / Web browser | - | ❌ Not supported | Only via a Linux container (Crostini) from source |
Requirements
- Python: 3.14 or newer (when running from source).
- RAM: 512 MB minimum, 1 GB+ recommended. Storage: ~100 MB. CPU: dual-core, no dedicated GPU needed.
- Linux: Qt 6.5+ needs
libxcb-cursor0(sudo apt install libxcb-cursor0). Both X11 and Wayland (XWayland) work. - To run code: the matching compiler/interpreter (Python, Node.js, g++, Rust, Go, JDK, etc.) must be installed and available in
PATH.
If you want to run, test, or contribute to this repository locally:
Make sure you have Python (version 3.14 or newer) installed on your system.
- Clone this repository:
git clone https://github.com/arraynothere/Anoterra.git cd Anoterra - Create and activate a virtual environment (optional but recommended):
python -m venv venv # Windows: venv\Scripts\activate # Linux: source venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
- Run the tests (optional):
python -m unittest discover -s tests -t .
To compile Anoterra into a standalone application package without requiring a local Python interpreter:
- Install build dependencies (
pip install -r requirements-build.txt). - Run the build command using the provided specification file:
pyinstaller build.spec
- A single-file executable is generated at
dist/Anoterra(dist/Anoterra.exeon Windows).
| Feature | Status |
|---|---|
| Lightweight, starts fast, low RAM usage | ✅ |
| Syntax highlighting for 30+ languages | ✅ |
| Run code for 15 languages (Python, JS/TS, C/C++, Rust, Go, Java, PHP, Ruby, Lua, Perl, Shell, Batch, PowerShell) | ✅ |
| Asynchronous runner with Stop button, timeout & interactive input | ✅ |
| Profiler (CPU, memory, threads) | ✅ |
| Command palette, Quick Open, find/replace (regex), search in files | ✅ |
| Live syntax check (Python/JSON), outline, bookmarks, minimap | ✅ |
| Embedded terminal, HTML & Markdown live preview | ✅ |
| Open HTML files in your web browser (full JavaScript support) | ✅ |
| Language-specific Save As filters and colored language icons on editor tabs | ✅ |
| 8 built-in color themes, session restore, autosave | ✅ |
| Plugin system (opt-in, off by default) with Workspace Trust | ✅ |
| Python step debugger: breakpoints, step over/into/out, variables & call stack | ✅ |
Auto-format Python with Black (included in requirements.txt) |
✅ |
| Windows & Linux standalone builds | ✅ |
| Test suite included | ✅ |
| Free & open source (MIT) | ✅ |
| Language Server (LSP) / IntelliSense | ❌ |
| Debugger extras: watch expressions, conditional breakpoints, debugging other threads | ❌ |
| Git integration | ❌ |
| Mobile / Web / 32-bit support | ❌ |
| Official macOS binary | ❌ |
| Compile step of compiled languages can't be cancelled with Stop | ❌ |
| Plugins are not sandboxed: once trusted they run with your full privileges | ❌ |
Plugins are disabled by default because they execute arbitrary Python code. Anoterra uses Workspace Trust: a plugin only loads when (1) plugins are enabled and (2) the workspace folder is trusted by you.
- Open Settings (
Ctrl + ,) → Plugins tab → tick Enable plugins. - Create a
plugins/folder inside your workspace (Anoterra never creates it for you). - Add a
.pyfile (files starting with_are ignored) exposingregister_plugin(window):# <workspace>/plugins/hello.py def register_plugin(window): window.statusBar().showMessage("Hello from plugin!", 3000)
- When plugins are found in a folder you have not trusted yet, Anoterra asks "Trust this workspace?". Choose Trust Folder and Load Plugins to load them, or Don't Trust to keep the folder in restricted mode (nothing is executed).
Workspace Trust details
- Manage it any time with File → Workspace Trust... (trust / remove trust for the current folder).
- Trust applies to that exact folder only; subfolders do not inherit it.
- Your home folder and drive roots cannot be trusted as a whole.
- Plugins load right after you trust the folder or enable them in Settings, and on every startup afterwards. Disabling or removing trust takes effect after a restart.
- Not a sandbox: after you trust a folder, its plugins can do anything you can do. Trust only sources you know.
F5on an.html/.mdfile opens the built-in preview. It is fast and simple, but it does not run JavaScript and supports only basic CSS (no flexbox/grid).- For the real result, use Execution → Open in Browser (
Ctrl + Alt + B). The file is saved first (if enabled in Settings) and opened in your default web browser with full HTML, CSS and JavaScript support.
Ctrl + F5 is still performance profiling. The step debugger is a separate command: Execution -> Start Debugging (Breakpoints).
- Put the cursor on a line and press
F9(orShift + Clickthe gutter next to the line number) to set / remove a breakpoint (red dot). A normal click on the gutter still toggles a bookmark. - Press
Ctrl + Shift + F5. The script runs in a separate process until it hits a breakpoint. With no breakpoints it stops on the first line. - When paused, the current line is highlighted and the Debug tab (bottom panel) shows the variables of the selected frame and the call stack (click a frame to jump to it).
- Continue with
F8, step overF10, step intoF11, step outShift + F11, stop withShift + F5.
Notes: Python files only (.py); program input/output works in the Output tab as usual; breakpoints you add or remove while the program is paused are applied when you resume; only the main thread is traced.
Anoterra provides a comprehensive set of shortcuts to maximize your coding efficiency:
| Shortcut | Action Description |
|---|---|
Ctrl + N |
Create a new file tab |
Ctrl + O |
Open file dialog |
Ctrl + S |
Save active file |
Ctrl + D |
Auto-formatting |
F5 |
Run script (Asynchronous execution) |
Ctrl + F5 |
Run & Debug (performance profiling) |
Ctrl + Alt + B |
Open current HTML file in the web browser |
Ctrl + Shift + F5 |
Start debugging (breakpoints) |
F9 |
Toggle breakpoint |
F8 / F10 / F11 / Shift + F11 |
Continue / Step over / Step into / Step out |
Ctrl + F |
Find text in editor |
Ctrl + H |
Replace text in editor |
Ctrl + Z |
Undo last action |
Ctrl + Y / Ctrl + Shift + Z |
Redo action |
Ctrl + G |
Goto specific line |
F1 |
Open documentation and help dialog |
- 8 built-in themes (switch in Settings): Anoterra Dark (default), Anoterra Light, Midnight Blue, Mocha Warm, Paper Warm Light, GitHub, Eclipse, Native macOS.
- Default (Anoterra Dark) palette:
- Editor / Window Background:
#17191f, Panels:#20232b, Active Line:#252a35 - Foreground Text:
#e6e9ef, Accent:#55b7c9 - Keywords
#66aaff· Strings#e8a27a· Comments#7dbb8c· Numbers#d6c28c· Functions#e2d28e· Types#59c7b2
- Editor / Window Background:
- All colors live in
core/theme_data.py; adding a theme only needs one more dictionary entry.
| Role | Name | Badge |
|---|---|---|
| Developer | Array |
|
| Contributor | Yokoto |

