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
Hi, I have a requirement to disable a certain option on the context menu based on where the user opens the context menu, is this feasible?
I look through the LSP documentation and the closest thing I could find is textDocument/codeAction which shows light bulk on the editor, but this is not what we want.
In other words, is there a way for us to use some sort of LSP messages to control what appears & what options are enabled on the context menu?
For example I want to disable the 'copy' command by relying on LSP for whatever reason.
I would also like to know if it is possible for us to use LSP to send some message back to the editor when user selected a specific command on the context menu
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
-
Hi, I have a requirement to disable a certain option on the context menu based on where the user opens the context menu, is this feasible?
I look through the LSP documentation and the closest thing I could find is
textDocument/codeAction
which shows light bulk on the editor, but this is not what we want.In other words, is there a way for us to use some sort of LSP messages to control what appears & what options are enabled on the context menu?
For example I want to disable the 'copy' command by relying on LSP for whatever reason.
I would also like to know if it is possible for us to use LSP to send some message back to the editor when user selected a specific command on the context menu
Beta Was this translation helpful? Give feedback.
All reactions