mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 03:12:07 -05:00
ac5e08a541
This commit moves all the logic that deals with the language server (from HackStudio) into a LanguageClient class, provides some functions to make constructing them easier, and makes all language servers use a singular IPC definition. Also fixes the FIXME about making the autocompletion async. This makes adding language servers in the future significantly less duplicate-y, and significantly easier :^)
39 lines
988 B
CMake
39 lines
988 B
CMake
add_subdirectory(LanguageServers)
|
|
add_subdirectory(LanguageClients)
|
|
|
|
set(SOURCES
|
|
AutoCompleteBox.cpp
|
|
CodeDocument.cpp
|
|
CursorTool.cpp
|
|
Debugger/BacktraceModel.cpp
|
|
Debugger/DebugInfoWidget.cpp
|
|
Debugger/Debugger.cpp
|
|
Debugger/DisassemblyModel.cpp
|
|
Debugger/DisassemblyWidget.cpp
|
|
Debugger/RegistersModel.cpp
|
|
Debugger/VariablesModel.cpp
|
|
Editor.cpp
|
|
EditorWrapper.cpp
|
|
FindInFilesWidget.cpp
|
|
FormEditorWidget.cpp
|
|
FormWidget.cpp
|
|
Git/DiffViewer.cpp
|
|
Git/GitFilesModel.cpp
|
|
Git/GitFilesView.cpp
|
|
Git/GitRepo.cpp
|
|
Git/GitWidget.cpp
|
|
HackStudioWidget.cpp
|
|
LanguageClient.cpp
|
|
Locator.cpp
|
|
ProcessStateWidget.cpp
|
|
Project.cpp
|
|
ProjectFile.cpp
|
|
TerminalWrapper.cpp
|
|
WidgetTool.cpp
|
|
WidgetTreeModel.cpp
|
|
main.cpp
|
|
)
|
|
|
|
serenity_bin(HackStudio)
|
|
target_link_libraries(HackStudio LibWeb LibMarkdown LibGUI LibGfx LibCore LibVT LibDebug LibX86 LibDiff LibShell)
|
|
add_dependencies(HackStudio CppLanguageServer)
|