mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
This commit is contained in:
parent
03b13e0c69
commit
e956e80c1f
130 changed files with 967 additions and 511 deletions
|
@ -179,12 +179,18 @@ void DebuggerEditorPlugin::_update_debug_options() {
|
|||
bool check_reload_scripts = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_reload_scripts", false);
|
||||
int instances = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_instances", 1);
|
||||
|
||||
if (check_deploy_remote) _menu_option(RUN_DEPLOY_REMOTE_DEBUG);
|
||||
if (check_file_server) _menu_option(RUN_FILE_SERVER);
|
||||
if (check_debug_collisions) _menu_option(RUN_DEBUG_COLLISONS);
|
||||
if (check_debug_navigation) _menu_option(RUN_DEBUG_NAVIGATION);
|
||||
if (check_live_debug) _menu_option(RUN_LIVE_DEBUG);
|
||||
if (check_reload_scripts) _menu_option(RUN_RELOAD_SCRIPTS);
|
||||
if (check_deploy_remote)
|
||||
_menu_option(RUN_DEPLOY_REMOTE_DEBUG);
|
||||
if (check_file_server)
|
||||
_menu_option(RUN_FILE_SERVER);
|
||||
if (check_debug_collisions)
|
||||
_menu_option(RUN_DEBUG_COLLISONS);
|
||||
if (check_debug_navigation)
|
||||
_menu_option(RUN_DEBUG_NAVIGATION);
|
||||
if (check_live_debug)
|
||||
_menu_option(RUN_LIVE_DEBUG);
|
||||
if (check_reload_scripts)
|
||||
_menu_option(RUN_RELOAD_SCRIPTS);
|
||||
|
||||
int len = instances_menu->get_item_count();
|
||||
for (int idx = 0; idx < len; idx++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue