Top
Best
New

Posted by jamesbvaughan 1 day ago

Code-GUI bidirectional editing via LSP(jamesbvaughan.com)
215 points | 54 commentspage 2
disconcision 19 hours ago|
Here's a similar example using lean widgets (in the live programming part of the talk): https://www.youtube.com/watch?v=c5LOYzZx-0c
taeric 1 day ago||
Reminds me of the excitement I got on seeing https://www.youtube.com/watch?v=4tyTgyzUJqM. I still get excited about trying something like this again pretty much every time I see it. Have yet to really get any traction on anything. :(

A lot of folks had fun watching Minecraft built using a live code session, if I recall.

legobmw99 12 hours ago|
Hot reload in Java is still a crucial part of my workflow for modding Minecraft, but it doesn't have the other direction where an action in the game could alter the code
taeric 11 hours ago||
Ah, fair. Seems that is probably more applicable to image based development than it is typical batch processed source files? Doesn't seem too strange to have your code editing a data file, for example. No reason you couldn't treat your source as a data object, in some sense. Though, I'll note Common Lisp explicitly warns against editing literal objects. Such that I'm assuming this was considered and largely agreed to be a bad idea. :D
WillAdams 1 day ago||
I've suggested this sort of interactivity for (Open)PythonSCAD:

https://lists.openscad.org/empathy/thread/GAX4QYYRUC3CEH572I...

The devil is in the details though, and I worry about the UI becoming cluttered and unmanageable.

kennykartman 1 day ago||
I know basically nothing about CAD, but I know thet fornjot exists and wondered if it might be useful to your purposes, in case you don't know about that.

But well, the project is very cool and I love the idea of using LSP for something more!

FloatArtifact 1 day ago||
This is really interesting being able to do bi-directional editing. This is desperately needed for accessibility software to get at underlying text. I would use it for semantic editing of code by voice. However, getting at GUI elements would be amazing.
SwiftyBug 1 day ago||
This is awesome! If someone created a Interface Builder on top of that, I feel like I might even go back to making iOS apps. Xcode makes the whole experience so terrible that it sucks the joy out of it.
nico 1 day ago||
Very cool concept. Would love to see something like this for web development. Where making changes in the browser could be persisted seamlessly to code
pshc 1 day ago||
This stuff is a dream of mine, editors in different modes that can collaborate seamlessly. Keep up the good work!
love2read 1 day ago||
Related: https://chromewebstore.google.com/detail/ghosttext/godiecgff...

> Write in the browser with your text editor.

More comments...