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.
- 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.
- File Tree: Navigate through your project directory with a built-in file tree for efficient file management.
- Terminal: Execute commands and scripts directly within the text editor using the integrated terminal.
- Language Recognition: Automatically detects the programming language based on the file extension (e.g.,
.cppfor 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.
- 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
To use JSV Text Editor, follow these steps:
- Clone the repository:
git clone https://github.com/Jovan11111/JSV_Text_Editor
- Navigate to the project directory:
cd JSV_Text_Editor - Create a virtual environment (optional but recommended):
python3 -m venv venv source venv/bin/activate - Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
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.
I welcome contributions to improve JSV Text Editor.
This project is licensed under the MIT License. See the LICENSE file for details.
- Tkinter: The Python library for creating graphical user interfaces.
- TkTerm
- Pillow
For any questions or feedback, please contact me.