Skip to content

Jovan11111/JSV_Text_Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSV Text Editor

JSV Text Editor is a powerful and versatile text editor built with Tkinter, designed to enhance your coding experience with a variety of features and shortcuts. It supports multiple programming languages, provides syntax highlighting, and offers advanced functionalities such as autocompletion for the UVM framework in SystemVerilog.

Note: This program is designed to be used on Linux only.

Features

File Operations

  • Open File: Quickly open any file with a simple shortcut.
  • Open Folder: Browse and open folders to easily navigate your project directory.
  • New File: Create a new file with ease using a dedicated shortcut.

Integrated File Tree

  • File Tree: Navigate through your project directory with a built-in file tree for efficient file management.

Built-in Terminal

  • Terminal: Execute commands and scripts directly within the text editor using the integrated terminal.

Text Editing

  • Language Recognition: Automatically detects the programming language based on the file extension (e.g., .cpp for C++).
  • Syntax Highlighting: Supports syntax highlighting for HTML, JavaScript, Java, Python, SystemVerilog, C, and C++.
  • Autocompletion: Provides autocompletion for UVM framework classes and macros in SystemVerilog.

Keyboard Shortcuts

  • Copy (Ctrl+C): Copies the current line if no text is selected; copies selected text if something is selected.
  • Cut (Ctrl+X): Cuts the current line if no text is selected; cuts selected text if something is selected.
  • Paste (Ctrl+V): Pastes the copied or cut text.
  • Find and Replace (Ctrl+F): Opens a find and replace dialog.
  • Delete Line (Ctrl+D): Deletes the entire line where the cursor is located.
  • Toggle Comment (Alt+C):
    • Comments/uncomments the current line if no text is selected.
    • Wraps the selected text with block comment delimiters if text is selected.
  • Open File (Ctrl+O): Opens the selected file from the file system
  • Open Folder (Ctrl+Shift+F): Opens the selected folder from the file system and displays it in filetree
  • New File (Ctrl+N): Creates a new empty text file
  • Save File (Ctrl+S): Saves file
  • Save As File (Ctrl+Shift+S): Does a Save as File

Installation

To use JSV Text Editor, follow these steps:

  1. Clone the repository:
    git clone https://github.com/Jovan11111/JSV_Text_Editor
  2. Navigate to the project directory:
    cd JSV_Text_Editor
  3. Create a virtual environment (optional but recommended):
    python3 -m venv venv
    source venv/bin/activate
  4. Install the required dependencies:
    pip install -r requirements.txt
  5. Run the application:
    python main.py

Usage

Once the application is running, you can start using JSV Text Editor to create and edit your code. Use the provided shortcuts for efficient coding and file management.

Contributing

I welcome contributions to improve JSV Text Editor.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • Tkinter: The Python library for creating graphical user interfaces.
  • TkTerm
  • Pillow

Contact

For any questions or feedback, please contact me.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages