Runs window/showMessageRequest which typically shows a message box with possible action buttons to click. Returns the action which got clicked or one with null title if it has been dismissed.
Runs a function and shows a UI message on failure and logs the error.
Calls showMessage with MessageType.error Also logs the message to stderr in a more readable way.
Calls showMessage with MessageType.info Also logs the message to stderr in a more readable way.
Calls showMessage with MessageType.log Also logs the message to stderr in a more readable way.
Runs window/showMessage which typically shows a notification box, without any buttons or feedback. Logs the message to stderr too.
Calls showMessage with MessageType.warning Also logs the message to stderr in a more readable way.
The RPC processor to use for sending/receiving
Utility functions for common LSP methods performing UI things.