Use type hints to improve completion
- Allow type hints to be completed. - Use type information to infer completion candidates. - Show typed function signature in tooltip. - Add type hints when completing declaration from virtual functions (optional).
This commit is contained in:
parent
95351ac867
commit
75f395c2a0
3 changed files with 188 additions and 56 deletions
|
|
@ -404,6 +404,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|||
_initial_set("text_editor/completion/callhint_tooltip_offset", Vector2());
|
||||
_initial_set("text_editor/files/restore_scripts_on_load", true);
|
||||
_initial_set("text_editor/completion/complete_file_paths", true);
|
||||
_initial_set("text_editor/completion/add_type_hints", false);
|
||||
|
||||
_initial_set("docks/scene_tree/start_create_dialog_fully_expanded", false);
|
||||
_initial_set("docks/scene_tree/draw_relationship_lines", false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue