You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Distinguish editor-originating messages in the editor log
This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
This commit is contained in:
@@ -64,7 +64,7 @@ void GDScriptLanguageServer::thread_main(void *p_userdata) {
|
||||
void GDScriptLanguageServer::start() {
|
||||
int port = (int)_EDITOR_GET("network/language_server/remote_port");
|
||||
if (protocol.start(port) == OK) {
|
||||
EditorNode::get_log()->add_message("** GDScript Language Server Started **");
|
||||
EditorNode::get_log()->add_message("--- GDScript language server started ---", EditorLog::MSG_TYPE_EDITOR);
|
||||
ERR_FAIL_COND(thread != NULL || thread_exit);
|
||||
thread_exit = false;
|
||||
thread = Thread::create(GDScriptLanguageServer::thread_main, this);
|
||||
@@ -78,7 +78,7 @@ void GDScriptLanguageServer::stop() {
|
||||
memdelete(thread);
|
||||
thread = NULL;
|
||||
protocol.stop();
|
||||
EditorNode::get_log()->add_message("** GDScript Language Server Stopped **");
|
||||
EditorNode::get_log()->add_message("--- GDScript language server stopped ---", EditorLog::MSG_TYPE_EDITOR);
|
||||
}
|
||||
|
||||
void register_lsp_types() {
|
||||
|
||||
Reference in New Issue
Block a user