Developed a proof-of-concept for real-time bidirectional editing between a code editor and a GUI using an LSP server and WebSockets.
Focuses on enabling users to work in their preferred text editor rather than an in-browser textarea.
Demonstration shows live updates flowing both ways: editing code updates the GUI and vice versa.
Most existing code-based CAD tools only achieve two of three features: GUI-to-code updates, code-to-GUI updates, and integration with custom editors.
The system relies on an LSP server to mediate edits while preserving comments and formatting, though conflict resolution and incremental edits remain challenges.
Suggests future experiments with OpenSCAD plus LSP and invites further exploration of LSP-based bidirectional editing.
Get notified when new stories are published for "🇺🇸 Hacker News English"