1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:17:34 +00:00

LanguageServers/Cpp: Complete Preprocessor definitions

Preprocessor definitions now appear in the AutoComplete suggestions box
as well as in the Locator.
This commit is contained in:
Itamar 2021-03-13 09:50:33 +02:00 committed by Andreas Kling
parent 5b22f6f45a
commit 7bf6eca9d8
6 changed files with 26 additions and 2 deletions

View file

@ -42,6 +42,7 @@ public:
enum class CompletionKind {
Identifier,
PreprocessorDefinition,
};
enum class Language {
@ -66,7 +67,8 @@ public:
Function,
Struct,
Class,
Variable
Variable,
PreprocessorDefinition,
};
struct Declaration {