diff options
author | Itamar <itamar8910@gmail.com> | 2021-05-22 11:27:54 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-22 15:52:11 +0200 |
commit | c003c3c76d5cef165808a28c042aae08492fa381 (patch) | |
tree | d8826a33dfcbda6b05c63a3dbd0a8ddaaa73718b /Userland/Libraries/LibGUI/AutocompleteProvider.h | |
parent | ccd491594fcb83141a7d7f24c2db650d877ac8e4 (diff) | |
download | serenity-c003c3c76d5cef165808a28c042aae08492fa381.zip |
CppLanguageServer+LibGUI: Autocomplete #include paths
The C++ language-server can now autocomplete include paths.
Paths that start with '<' will be searched in /usr/include, and paths
that start with '"' will be searched in the project's root directory.
Diffstat (limited to 'Userland/Libraries/LibGUI/AutocompleteProvider.h')
-rw-r--r-- | Userland/Libraries/LibGUI/AutocompleteProvider.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/AutocompleteProvider.h b/Userland/Libraries/LibGUI/AutocompleteProvider.h index 266eae132d..4a455f89a7 100644 --- a/Userland/Libraries/LibGUI/AutocompleteProvider.h +++ b/Userland/Libraries/LibGUI/AutocompleteProvider.h @@ -23,6 +23,8 @@ public: enum class CompletionKind { Identifier, PreprocessorDefinition, + SystemInclude, + ProjectInclude, }; enum class Language { |