Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zrax

A Python Code Editor

A lightweight and customizable Python-based code editor with syntax highlighting, autocompletion, and fuzzy searching.

Features

  • Syntax Highlighting: Supports multiple languages with a custom lexer.
  • Autocomplete: Intelligent code suggestions for faster development.
  • Fuzzy Search: Quickly find files and functions.
  • Custom Themes: Modify the editor's appearance using theme.json and style.qss.
  • File Manager: Open, save, and manage files within the editor.
  • Lightweight & Fast: Built with PyQt for a smooth user experience.

Screenshots

Screenshot of the editor Screenshot of the editor Screenshot of the editor Screenshot of the editor



Installation

Clone the Repository

git clone https://github.com/yourusername/Code_editor.git
cd Code_editor

Create & Activate Virtual Environment

python -m venv myenv
source myenv/bin/activate # On Mac/Linux
myenv\Scripts\activate # On Windows

Install Dependencies

pip install -r requirements.txt

###For Running the Project

python -u "src/main.py"

Project Structure

Code Editor Project Structure

  • Code_editor/
    • screenshots/ # UI preview images
    • src/ # Source code
      • css/ # Stylesheets
      • icons/ # Icons and resources
      • autocompleter.py # Code autocompletion logic
      • editor.py # Core editor functionality
      • file_manager.py # Handles file operations
      • fuzzy_searcher.py # Fuzzy search implementation
      • lexer.py # Syntax highlighting
      • main.py # Entry point
    • .gitignore # Git ignore file
    • LICENSE # License information
    • README.md # Documentation
    • requirements.txt # Dependencies
    • theme.json # Custom themes

Contributing

  1. Fork the repository.
  2. Create a new branch (feature-xyz).
  3. Commit your changes and push.
  4. Create a pull request!

License

This project is licensed under the MIT License.

About

A lightweight and customizable Python-based code editor with syntax highlighting, autocompletion, and fuzzy searching.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages