summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-09-14 16:21:19 +0200
committerGitHub <noreply@github.com>2021-09-14 16:21:19 +0200
commitde8d38014e7f39866a0db29977369dc234a34f5f (patch)
tree5db78f6e7b1a5025b19c7fe8bd955eba49b48b8b /modules/mono/csharp_script.cpp
parent3cc01b2824c01d2f231f8a3179cc55cad4b2f4ef (diff)
parent913aa270c09e62297b0a060ebdd49ac7df67aaae (diff)
downloadredot-engine-de8d38014e7f39866a0db29977369dc234a34f5f.tar.gz
Merge pull request #52633 from lewiji/mono-build-solution-shortcut-4.0
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index fab950019f..17846eb281 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -43,8 +43,10 @@
#include "core/os/thread.h"
#ifdef TOOLS_ENABLED
+#include "core/os/keyboard.h"
#include "editor/bindings_generator.h"
#include "editor/editor_node.h"
+#include "editor/editor_settings.h"
#include "editor/node_dock.h"
#endif
@@ -1353,6 +1355,7 @@ void CSharpLanguage::_editor_init_callback() {
// Enable it as a plugin
EditorNode::add_editor_plugin(godotsharp_editor);
+ ED_SHORTCUT("mono/build_solution", TTR("Build Solution"), KEY_MASK_ALT | KEY_B);
godotsharp_editor->enable_plugin();
get_singleton()->godotsharp_editor = godotsharp_editor;