- Description
- What's new in v0.0.7c
- The two pages
- Commands
- Supported languages
- Project structure
- Requirements
- Build
- Roadmap
- Contributing
- License
- Author
INIDE is a command-line IDE written in C++. It runs entirely in the terminal, has a VIM-inspired editor, and lets you write, compile and run code without leaving the program.
⚠️ The project is under active development (v0.0.7c): some features may change.
- Fixed a bug that prevented running a program with
r,acr, oraron devices running Linux. - Fixed a bug that displayed a nonsensical console error message:
Unexpected ')'. - Opening a non-existent file will now create the file automatically and display a warning message.
INIDE is organized into two pages:
| Page | Description |
|---|---|
| Functions | List and execution of commands (save, compile, create file, etc.) |
| Editor | Edit the open file |
Commands are typed from the Functions page.
| Command | Action |
|---|---|
q |
Quit the program |
s |
Save the file |
b |
Go back |
c |
Compile (C++ only) |
r |
Run the file |
cr |
Compile and run (C++ only) |
ac |
Auto compile (C++ only) |
acr |
Auto compile and run (C++ only) |
sfe |
Search for a file by extension |
sfn |
Search for a file by name |
el |
Error level |
cf |
Create a file |
of |
Open a file |
💡
candcronly work for C++.rworks for every language that can be opened with a double click (e.g.py,html).
Extensions recognized by the editor:
| Extension | Language |
|---|---|
.cpp |
C++ |
.py |
Python |
.java |
Java |
.js |
JavaScript |
.html, .htm |
HTML |
.css |
CSS |
.json |
JSON |
INIDE/
├── main.cpp # Entry point
├── global.h/.cpp # Global variables and settings
├── codeLine.h/.cpp # Code line management
├── cursor.h/.cpp # Cursor management
├── console.h/.cpp # Terminal input/output
├── read.h/.cpp # File reading
├── write.h/.cpp # File writing
├── language.h/.cpp # Language recognition
├── runner.h/.cpp # Compilation and execution
├── fileIO.h/.cpp # File input/output
├── platform.h/.cpp # Terminal compatibility layer
├── conioCrossPlatform.h/.cpp # Portable `_getch` for Windows/Linux
└── SyntaxHighlighting.h
- Windows or Linux
- g++ (MinGW) to compile the sources
- To use
:c/:cr, a C++ compiler reachable from the terminal is required
git clone -b v0.0.7c https://github.com/aleessandrodev/INIDE-terminal_based_IDE.git
cd INIDE-terminal_based_IDE
g++ *.cpp -o inide.exe
- VIM-inspired editor
- Compile and run from the editor
- Built-in console
- Syntax highlighting
- Undo / Redo
- Copy / Paste
- Multiple cursors
- Linux and macOS support
- Fork the project
- Create a branch (
git checkout -b feature/feature-name) - Commit your changes (
git commit -m "Add feature-name") - Push to the branch (
git push origin feature/feature-name) - Open a Pull Request
For bugs or suggestions, open an issue.
Distributed under the MIT license. See the LICENSE file.
Alessandro — @aleessandrodev