1.8 KiB
1.8 KiB
Power IDE Features Implementation
Overview
Implementing 3 flagship features to make OpenQode feel like a powerful Vibe Coding IDE.
1. TODO Tracker (Low Effort, High Visibility)
Goal: Auto-parse // TODO: comments from project files and display in sidebar.
Implementation
-
Create
parseTodos(projectPath)function:- Recursively scan
.js,.ts,.py,.mdfiles - Regex match
// TODO:,# TODO:,<!-- TODO:patterns - Return
[{ file, line, text }]
- Recursively scan
-
Add
TodoPanelcomponent in Sidebar:- Shows "📝 TODOs (X)" header
- Lists top 5 TODOs with file:line references
- Click to expand full list
2. Theme Switcher (Low Effort, High Impact)
Goal: Switch between color themes via /theme command.
Implementation
-
Create
themes.mjswith theme definitions:dracula: Current default (cyan/magenta/green)monokai: Orange/yellow/greennord: Blue/cyan/whitematrix: Green/black
-
Add theme state to App:
const [theme, setTheme] = useState('dracula')- Apply theme colors to all components
-
Add
/themecommand:/theme→ Shows picker/theme monokai→ Switch directly
3. Fuzzy File Finder (Medium Effort, Flagship)
Goal: Ctrl+P style quick-open for files.
Implementation
-
Create
FuzzyFinderoverlay component:- Text input for search query
- Real-time filtered file list
- Arrow keys to navigate, Enter to preview
-
Add fuzzy matching algorithm:
- Score based on character position matching
- Highlight matched characters
-
Trigger via
/findcommand or Ctrl+P keybind
Verification
- TODO: Run app, verify TODOs appear in sidebar
- Theme: Run
/theme matrix, verify colors change - Finder: Run
/find, type "server", verify fuzzy results