feat: Implement core functionality for DTC C/C++ IDE

- Added ProjectManager class to handle project operations including opening, closing, building, and running projects.
- Introduced SyntaxHighlighter class for syntax highlighting in C and C++ files.
- Developed TerminalWidget for command execution and output display.
- Created TextEditor with line numbering and auto-indentation features.
- Established main application entry point in main.cpp.
- Designed UI layout for MainWindow using Qt Designer.
This commit is contained in:
TIPC1110
2025-07-04 12:23:20 +07:00
parent cb1b9863e0
commit a32f79f6d5
22 changed files with 2930 additions and 0 deletions

21
run.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# Run script for DTC C/C++ IDE
echo "🚀 Starting DTC C/C++ IDE..."
# Check if built
if [ ! -f "build/dtc-ide.app/Contents/MacOS/dtc-ide" ] && [ ! -f "build/dtc-ide" ]; then
echo "❌ IDE not built yet. Please run ./build.sh first"
exit 1
fi
# Run the IDE
if [ -f "build/dtc-ide.app/Contents/MacOS/dtc-ide" ]; then
echo "📱 Running macOS app bundle..."
open build/dtc-ide.app
elif [ -f "build/dtc-ide" ]; then
echo "🖥️ Running executable..."
cd build
./dtc-ide
fi