mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
LibCodeComprehension: Re-organize code comprehension related code
This moves all code comprehension-related code to a new library, LibCodeComprehension. This also moves some types related to code comprehension tasks (such as autocomplete, find declaration) out of LibGUI and into LibCodeComprehension.
This commit is contained in:
parent
a2c34554cd
commit
b35293d945
65 changed files with 685 additions and 491 deletions
|
@ -92,7 +92,7 @@ private:
|
|||
virtual ~LanguageServerAidedAutocompleteProvider() override { }
|
||||
|
||||
private:
|
||||
virtual void provide_completions(Function<void(Vector<Entry>)> callback) override;
|
||||
virtual void provide_completions(Function<void(Vector<CodeComprehension::AutocompleteResultEntry>)> callback) override;
|
||||
LanguageClient& m_language_client;
|
||||
};
|
||||
|
||||
|
@ -104,7 +104,7 @@ private:
|
|||
void set_autocomplete_provider_for(CodeDocument const&);
|
||||
void handle_function_parameters_hint_request();
|
||||
void on_token_info_timer_tick();
|
||||
void on_tokens_info_result(Vector<GUI::AutocompleteProvider::TokenInfo> const& tokens_info);
|
||||
void on_tokens_info_result(Vector<CodeComprehension::TokenInfo> const& tokens_info);
|
||||
void create_tokens_info_timer();
|
||||
ErrorOr<void> initialize_documentation_tooltip();
|
||||
ErrorOr<void> initialize_parameters_hint_tooltip();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue