1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 10:24:59 +00:00

HackStudio: Integrate with C++ Language Server

Editors now communicate with the c++ language server when openning and
editing c++ source files, and go through the language server to get
autocomplete suggestions.
This commit is contained in:
Itamar 2020-09-27 00:11:15 +03:00 committed by Andreas Kling
parent 863f14788f
commit a39c4cc340
13 changed files with 197 additions and 34 deletions

View file

@ -27,6 +27,7 @@
#pragma once
#include "EditorWrapper.h"
#include "LanguageClients/Cpp/ServerConnection.h"
#include "Project.h"
#include <AK/String.h>
#include <LibGUI/TextEditor.h>
@ -40,5 +41,6 @@ void open_file(const String&);
Project& project();
String currently_open_file();
void set_current_editor_wrapper(RefPtr<EditorWrapper>);
LanguageClients::Cpp::ServerConnection& cpp_Language_server_connection();
}