Cpp Studio is a lightweight, native C++ IDE for Linux built entirely with Qt6 and C++.
Designed to mimic the sleek, modern aesthetic of Visual Studio Code, Cpp Studio provides a seamless C++ development environment with zero terminal interaction required. It features a smart build system that automatically detects whether you are working on a single script or a massive CMake project.
- Sleek, flat dark theme utilizing native system window elements.
- Split-pane layout with a resizable File Explorer, Code Editor, and Console Output.
- Syntax highlighting customized for modern C++.
- Single File Mode: Instantly compiles standalone
.cppfiles usingg++. - CMake Mode: Automatically detects
CMakeLists.txtin your workspace. Runscmakeandcmake --buildautomatically, finds the output executable, and runs it! - Select your preferred C++ Standard (
c++11toc++23) directly from the toolbar. - Switch effortlessly between Debug (-g) and Release (-O3) modes.
- Built-in file manager sidebar.
- Right-Click Context Menu: Create files/folders, Rename, Delete, Copy, Cut, and Paste effortlessly.
- Auto-Save: Automatically saves your work 1 second after you stop typing.
- Smart Status Indicator: Visual cues (
⚠️ Needs Compile/✅ Up to date) track whether your latest code changes have been built. - Integrated Console: Real-time stream of
stdoutandstderrdirectly into the bottom panel.
To build and run Cpp Studio, you will need the GCC compiler, CMake, and the Qt6 framework.
For Ubuntu / Debian / Linux Mint:
sudo apt update
sudo apt install build-essential cmake qt6-base-devFor Arch Linux:
sudo pacman -S base-devel cmake qt6-baseFor Fedora:
sudo dnf install gcc-c++ cmake qt6-qtbase-develBuilding the IDE from source is incredibly fast and only takes a few seconds.
- Clone the repository:
git clone https://github.com/tiwut/CPP-Studio.git
cd CPP-Studio- Create a build directory and configure CMake:
mkdir build
cd build
cmake ..- Compile the application:
make- Run the IDE!
./CppStudioCpp Studio uses standard IDE keyboard shortcuts to keep your workflow fast and familiar:
| Shortcut | Action |
|---|---|
Ctrl + N |
Create a New File |
Ctrl + O |
Open a File |
Ctrl + Shift + O |
Open a Workspace Folder |
Ctrl + S |
Save Current File |
Ctrl + Shift + B |
🔨 Compile / Build Project |
F5 |
▶ Run Executable |
- Click Folder to open a workspace.
- Hit
Ctrl + Nto create a new file (e.g.,main.cpp). - Write your C++ code.
- Press
Ctrl + Shift + Bto compile, thenF5to run.
- Click Folder and select the root directory of your project (the folder containing
CMakeLists.txt). - Open any
.cppfile in the project. - Click Compile. Cpp Studio will automatically generate a
/buildfolder, run CMake, and compile your entire project. - Watch the real-time build logs in the console panel.
- Click ▶ Run to launch your application.
Contributions, issues, and feature requests are welcome! Feel free to check out the issues page.
This project is licensed under the GPL v3 License.
