This is a terminal-based code editor and compiler written in Python. It allows you to write, save, compile, and run code directly from the terminal.
- Create or open a file
- Write or edit code
- Save the file
- Compile the code
- Run the compiled code
- Keyboard shortcuts for common actions
-
Make sure you have Python installed on your system.
-
Download or clone this repository to your local machine.
-
Open a terminal and navigate to the directory containing the
terminal_code_editor.py
file. -
Run the script using Python
-
Follow the on-screen instructions to perform various actions such as creating or opening a file, writing/editing code, saving the file, compiling the code, and running the compiled code.
-
Use the following keyboard shortcuts for common actions:
- Ctrl + S: Save the current file.
- Ctrl + O: Open a file.
- Ctrl + E: Compile the code.
- Ctrl + F: Run the compiled code.
- Ctrl + C: Exit the editor.
- Python 3.x