Skip to content

open-cogsci/pyqt_code_editor

Repository files navigation

PyQt Code Editor

This code is under development and not ready for use

Fully featured code-editor widgets for PyQt

Copyright 2025 Sebastiaan Mathôt

About

This is a set of code-editor widgets for PyQt. They are inspired by PyQode, and contain much of the same functionality, but in a cleaner and more modern codebase.

Features:

  • A splittable, tabbed editor panel
  • Project explorer
  • Syntax highlighting
  • Code completion
  • Code checking (linting)
  • Code symbol navigation
  • Search/ replace
  • Completion of paired characers (e.g. brackets, quotes)
  • Automatic indentation (Python)
  • Zoom

Usage

First, install all dependencies using:

pip install .
pip install pyqt6  # or pyqt5

Next, start one of the example scripts:

python example_one_editor.py
python example_full_editor.py

License

PyQt Code Editor is licensed under the GNU General Public License v3.

About

A fully featured code-editor widget for PyQt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages