Send didSave LSP notification iwth Monaco Language Client #348
-
Hello, Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Hello, You need to have your own implementation of You'll need to use |
Beta Was this translation helpful? Give feedback.
Hello,
You need to have your own implementation of
Workspace
, you can extendsMonacoWorkspace
and defineonWillSaveTextDocument
andonDidSaveTextDocument
You'll need to use
Services.install
instead ofMonacoServices.install
to be able to provide your custom implementation (take a look atmonaco-services.ts
)