Class: TypeProf::LSP::Message::TextDocument::DidClose
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::TypeProf::LSP::Message
|
|
|
Instance Chain:
self,
::TypeProf::LSP::Message
|
|
| Inherits: |
TypeProf::LSP::Message
|
| Defined in: | lib/typeprof/lsp/messages.rb |
Overview
textDocument/willSave notification textDocument/willSaveWaitUntil request textDocument/didSave notification
Constant Summary
-
METHOD =
# File 'lib/typeprof/lsp/messages.rb', line 163
notification
"textDocument/didClose"
::TypeProf::LSP::Message - Inherited
Class Method Summary
::TypeProf::LSP::Message - Inherited
Instance Method Summary
Constructor Details
This class inherits a constructor from TypeProf::LSP::Message
Instance Method Details
#run
[ GitHub ]# File 'lib/typeprof/lsp/messages.rb', line 164
def run @params => { textDocument: { uri: } } text = @server.open_texts.delete(uri) return unless text @server.core.update_file(text.path, nil) end