You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
microsoft/lsprotocol (
lsprotocol
on pip) can be used in order to not have to maintain type definitions like these.Also, there is pygls which is decently adopted and takes care of other boilerplate such as transport (tcp/stdio/ws), caching, document state, and lifecycle events.
If it ain't broke don't fix it but I thought I'd offer the tip anyway in case it comes in handy later (I was able to make a - granted much simpler - LSP in <120 LOC with this).
Beta Was this translation helpful? Give feedback.
All reactions