mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 20:24:57 +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:
parent
863f14788f
commit
a39c4cc340
13 changed files with 197 additions and 34 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
namespace HackStudio {
|
||||
|
||||
EditorWrapper::EditorWrapper(BreakpointChangeCallback breakpoint_change_callback)
|
||||
EditorWrapper::EditorWrapper()
|
||||
{
|
||||
set_layout<GUI::VerticalBoxLayout>();
|
||||
|
||||
|
@ -72,8 +72,6 @@ EditorWrapper::EditorWrapper(BreakpointChangeCallback breakpoint_change_callback
|
|||
m_editor->on_open = [](String path) {
|
||||
open_file(path);
|
||||
};
|
||||
|
||||
m_editor->on_breakpoint_change = move(breakpoint_change_callback);
|
||||
}
|
||||
|
||||
EditorWrapper::~EditorWrapper()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue