- 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 |

