mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 17:11:30 +00:00
Move and expose Code Hint in CodeEdit
This commit is contained in:
parent
1c16673798
commit
c1b9971ad8
8 changed files with 106 additions and 65 deletions
|
|
@ -663,9 +663,7 @@ ShaderEditor::ShaderEditor(EditorNode *p_node) {
|
|||
EditorSettings::get_singleton()->connect("settings_changed", callable_mp(this, &ShaderEditor::_editor_settings_changed));
|
||||
ProjectSettingsEditor::get_singleton()->connect("confirmed", callable_mp(this, &ShaderEditor::_project_settings_changed));
|
||||
|
||||
shader_editor->get_text_editor()->set_callhint_settings(
|
||||
EditorSettings::get_singleton()->get("text_editor/completion/put_callhint_tooltip_below_current_line"),
|
||||
EditorSettings::get_singleton()->get("text_editor/completion/callhint_tooltip_offset"));
|
||||
shader_editor->get_text_editor()->set_code_hint_draw_below(EditorSettings::get_singleton()->get("text_editor/completion/put_callhint_tooltip_below_current_line"));
|
||||
|
||||
shader_editor->get_text_editor()->set_select_identifiers_on_hover(true);
|
||||
shader_editor->get_text_editor()->set_context_menu_enabled(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue