logoalt Hacker News

duttishtoday at 3:13 AM2 repliesview on HN

I've never looked into LSP, how would you design it?


Replies

packetlosttoday at 3:14 AM

Well for one I wouldn't design it so both the LSP and the editor need a synchronized view of the underlying file.

mitxelatoday at 3:15 AM

Start with synchronous function calls instead of JSON. Microsoft knows how to do that - they invented COM and OLE. Function calls enable whatever data sharing is necessary to maintain a coherent view. Imagine trying to do OLE with JSON - just wouldn't work. (Does OLE still exist?)

show 5 replies