|
19 | 19 |
|
20 | 20 | @server.feature(COMPLETION, trigger_characters=[': ', '- ']) |
21 | 21 | def completions(ls, params: CompletionParams): |
| 22 | + ls.show_message_log('cwlls: Start completion...') |
22 | 23 | ctx = params.context |
23 | 24 | line = params.position.line |
24 | 25 | col = params.position.character |
@@ -60,24 +61,24 @@ def completions(ls, params: CompletionParams): |
60 | 61 | @server.feature(TEXT_DOCUMENT_DID_CHANGE) |
61 | 62 | def did_change(ls, params: DidChangeTextDocumentParams): |
62 | 63 | """Text document did change notification.""" |
63 | | - pass |
| 64 | + ls.show_message_log('cwlls: Start didChange...') |
64 | 65 |
|
65 | 66 |
|
66 | 67 | @server.feature(TEXT_DOCUMENT_DID_CLOSE) |
67 | | -def did_close(server, params: DidCloseTextDocumentParams): |
| 68 | +def did_close(ls, params: DidCloseTextDocumentParams): |
68 | 69 | """Text document did close notification.""" |
69 | | - pass |
| 70 | + ls.show_message_log('cwlls: Start didClose...') |
70 | 71 |
|
71 | 72 |
|
72 | 73 | @server.feature(TEXT_DOCUMENT_DID_OPEN) |
73 | 74 | async def did_open(ls, params: DidOpenTextDocumentParams): |
74 | 75 | """Text document did open notification.""" |
75 | | - pass |
| 76 | + ls.show_message_log('cwlls: Start didOpen...') |
76 | 77 |
|
77 | 78 |
|
78 | 79 | @server.feature(WORKSPACE_DID_CHANGE_CONFIGURATION) |
79 | 80 | def did_change_configuration(ls, params: DidChangeConfigurationParams): |
80 | | - pass |
| 81 | + ls.show_message_log('cwlls: Start didChangeConfiguration...') |
81 | 82 |
|
82 | 83 |
|
83 | 84 | if __name__ == '__main__': |
|
0 commit comments