Repository navigation
feat: Add file explorer and Monaco editor panel - #10299
cristian1991 wants to merge 1 commit into
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
97ebb8f to
aab6351
Compare
|
COMPLETE - GOING TO BED - PLEASE MERGE |
820dfae to
a823682
Compare
- File explorer tree with expand/collapse, context menu - Monaco editor with tabs, syntax highlighting for 25+ languages - Theme integration with live preview - Native file watching with smart reload behavior - Auto-reload background files setting - Keyboard shortcuts (Ctrl+S to save)
a823682 to
c3929fd
Compare
|
Hey @cristian1991 thank you for your contribution! Unfortunately we already have this planned internally and need to close this PR. Appreciate the contribution though, check out |
@R44VC0RP Hello, is there a timeline for the internal plan of the code editor feature? |
|
Any news on the internal file editor? |
Summary
This PR adds an integrated file explorer and Monaco code editor to the OpenCode desktop application, allowing users to browse project files and edit them directly within the app.
Features
Changes
New Files
packages/app/src/components/explorer-panel.tsx- File tree with context menupackages/app/src/components/editor-panel.tsx- Monaco editor with tabspackages/app/src/context/editor.tsx- Editor state context (tabs, dirty state, external changes)Backend (Tauri/Rust)
read_directory,read_file,write_file,rename_path,delete_path,copy_path,create_file,create_directorytauri-plugin-fswith watch feature for native file watchingPlatform Integration
watchFileto platform context for file change detectionUI/Layout
Settings
i18n
Testing