mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	Add editor keyboard shortcut for Mono Build solution button
Apply suggestions from code review Merging @akien-mga's suggestion with the matching change to the CS project Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
		
							parent
							
								
									f85426e8ad
								
							
						
					
					
						commit
						913aa270c0
					
				
					 4 changed files with 22 additions and 2 deletions
				
			
		|  | @ -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; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lewis James
						Lewis James