Add custom api textDocument/nativeSymbol to allow inspect native symbols from LSP clients

This commit is contained in:
geequlim committed 2019-10-04 23:00:33 +08:00
1 parent 39813939fc
commit e199488bc7
6 files changed
+58 -5

No files matched your search

@@ -153,9 +153,10 @@ Error GDScriptLanguageProtocol::start(int p_port) {
}
void GDScriptLanguageProtocol::stop() {
const int *ptr = NULL;
while (ptr = clients.next(ptr)) {
const int *ptr = clients.next(NULL);
while (ptr) {
clients.get(*ptr)->close();
ptr = clients.next(ptr);
}
server->stop();
clients.clear();