Merge pull request #86729 from Mickeon/autocompletion-for-all

Fix missing autocompletion for inheriting classes
This commit is contained in:
Rémi Verschelde 2024-01-03 10:14:37 +01:00
commit 4acfe4aa3c
No known key found for this signature in database
GPG key ID: C3336907360768E1
7 changed files with 7 additions and 5 deletions

View file

@ -198,6 +198,7 @@ void Input::get_argument_options(const StringName &p_function, int p_idx, List<S
r_options->push_back(name.quote());
}
}
Object::get_argument_options(p_function, p_idx, r_options);
}
void Input::VelocityTrack::update(const Vector2 &p_delta_p) {

View file

@ -584,7 +584,7 @@ void AnimatedSprite2D::get_argument_options(const StringName &p_function, int p_
r_options->push_back(String(name).quote());
}
}
Node::get_argument_options(p_function, p_idx, r_options);
Node2D::get_argument_options(p_function, p_idx, r_options);
}
#ifndef DISABLE_DEPRECATED

View file

@ -1446,7 +1446,7 @@ void AnimatedSprite3D::get_argument_options(const StringName &p_function, int p_
r_options->push_back(String(name).quote());
}
}
Node::get_argument_options(p_function, p_idx, r_options);
SpriteBase3D::get_argument_options(p_function, p_idx, r_options);
}
#ifndef DISABLE_DEPRECATED

View file

@ -667,7 +667,7 @@ void AnimationPlayer::get_argument_options(const StringName &p_function, int p_i
r_options->push_back(String(name).quote());
}
}
Node::get_argument_options(p_function, p_idx, r_options);
AnimationMixer::get_argument_options(p_function, p_idx, r_options);
}
void AnimationPlayer::_animation_removed(const StringName &p_name, const StringName &p_library) {

View file

@ -205,7 +205,7 @@ void Control::set_root_layout_direction(int p_root_dir) {
void Control::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const {
ERR_READ_THREAD_GUARD;
Node::get_argument_options(p_function, p_idx, r_options);
CanvasItem::get_argument_options(p_function, p_idx, r_options);
if (p_idx == 0) {
List<StringName> sn;

View file

@ -1728,6 +1728,7 @@ void SceneTree::get_argument_options(const StringName &p_function, int p_idx, Li
}
}
}
MainLoop::get_argument_options(p_function, p_idx, r_options);
}
void SceneTree::set_disable_node_threading(bool p_disable) {

View file

@ -468,7 +468,7 @@ void ShaderMaterial::get_argument_options(const StringName &p_function, int p_id
}
}
}
Resource::get_argument_options(p_function, p_idx, r_options);
Material::get_argument_options(p_function, p_idx, r_options);
}
bool ShaderMaterial::_can_do_next_pass() const {