Merge pull request #50454 from Ev1lbl0w/gsoc21-dap

Implemented initial DAP support
This commit is contained in:
Fabio Alessandrelli 2021-08-03 17:12:37 +02:00 committed by GitHub
commit 80fc90e82a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 1666 additions and 18 deletions

View file

@ -128,13 +128,13 @@ Error GDScriptLanguageProtocol::on_client_connected() {
peer->connection = tcp_peer;
clients.set(next_client_id, peer);
next_client_id++;
EditorNode::get_log()->add_message("Connection Taken", EditorLog::MSG_TYPE_EDITOR);
EditorNode::get_log()->add_message("[LSP] Connection Taken", EditorLog::MSG_TYPE_EDITOR);
return OK;
}
void GDScriptLanguageProtocol::on_client_disconnected(const int &p_client_id) {
clients.erase(p_client_id);
EditorNode::get_log()->add_message("Disconnected", EditorLog::MSG_TYPE_EDITOR);
EditorNode::get_log()->add_message("[LSP] Disconnected", EditorLog::MSG_TYPE_EDITOR);
}
String GDScriptLanguageProtocol::process_message(const String &p_text) {