The code viewer has a word wrap toggle but no keyboard shortcut. Adding one would improve the editing experience.
What to do:
- Read
web/src/components/workspace/KeyboardShortcutsHelp.tsx to understand the shortcuts system
- Read
web/src/hooks/useKeyboardShortcuts.ts to understand how shortcuts are registered
- Find the word wrap toggle logic (likely in workspace settings or display settings)
- Add a keyboard shortcut (e.g.,
Alt+Z which is standard in editors)
- Update the shortcuts help panel to show the new shortcut
- Update the i18n strings if needed
Skills needed: React, TypeScript, understanding of keyboard event handling
Estimated time: 1-2 hours
The code viewer has a word wrap toggle but no keyboard shortcut. Adding one would improve the editing experience.
What to do:
web/src/components/workspace/KeyboardShortcutsHelp.tsxto understand the shortcuts systemweb/src/hooks/useKeyboardShortcuts.tsto understand how shortcuts are registeredAlt+Zwhich is standard in editors)Skills needed: React, TypeScript, understanding of keyboard event handling
Estimated time: 1-2 hours