1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:18:13 +00:00

LanguageServers: Rename AutoCompleteEngine => CodeComprehensionEngine

This feels like a better name since the "autocomplete engine" can, in
addition to providing autocomplete suggestions, also find declarations
of symbols and report back the symbols that are defined in a document.

Also, Cpp/ParserAutoComplete has been renamed to CppComprehensionEngine
and Shell/AutoComplete has been renamed to ShellComprehensionEngine.
This commit is contained in:
Itamar 2021-05-16 17:25:24 +03:00 committed by Andreas Kling
parent b1531b78f6
commit 400d3ddb08
13 changed files with 82 additions and 82 deletions

View file

@ -7,7 +7,7 @@
#pragma once
#include "../AutoCompleteResponse.h"
#include "AutoCompleteEngine.h"
#include "CodeComprehensionEngine.h"
#include "FileDB.h"
#include <AK/HashMap.h>
#include <AK/LexicalPath.h>
@ -36,7 +36,7 @@ protected:
virtual void find_declaration(GUI::AutocompleteProvider::ProjectLocation const&) override;
FileDB m_filedb;
OwnPtr<AutoCompleteEngine> m_autocomplete_engine;
OwnPtr<CodeComprehensionEngine> m_autocomplete_engine;
};
}