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:
21
run.sh
Executable file
21
run.sh
Executable 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
|
Reference in New Issue
Block a user