mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LanguageServers/Cpp: Autocomplete declarations from included headers
We now also look at the available declarations from included header files when autocompleting names. Additionally, you can now request autocomplete on an empty token, which brings up all available names, starting from the inner-most scope.
This commit is contained in:
parent
64c80f6ea4
commit
ef9bfbd383
4 changed files with 22 additions and 13 deletions
|
@ -57,7 +57,7 @@ private:
|
|||
};
|
||||
|
||||
Vector<GUI::AutocompleteProvider::Entry> autocomplete_property(const DocumentData&, const MemberExpression&, const StringView partial_text) const;
|
||||
Vector<GUI::AutocompleteProvider::Entry> autocomplete_identifier(const DocumentData&, const ASTNode&) const;
|
||||
Vector<GUI::AutocompleteProvider::Entry> autocomplete_name(const DocumentData&, const ASTNode&, const StringView& partial_text) const;
|
||||
String type_of(const DocumentData&, const Expression&) const;
|
||||
String type_of_property(const DocumentData&, const Identifier&) const;
|
||||
String type_of_variable(const Identifier&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue