1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:47:35 +00:00

HackStudio/LanguageServers: Move some components out of Cpp

This makes them available for use by other language servers.
Also as a bonus, update the Shell language server to discover some
symbols and add go-to-definition functionality :^)
This commit is contained in:
AnotherTest 2021-03-02 09:40:10 +03:30 committed by Andreas Kling
parent 0d17cf121c
commit e59a631511
20 changed files with 400 additions and 318 deletions

View file

@ -1,7 +1,6 @@
set(SOURCES
ClientConnection.cpp
main.cpp
AutoComplete.cpp
main.cpp
)
set(GENERATED_SOURCES
@ -12,4 +11,4 @@ serenity_bin(ShellLanguageServer)
# We link with LibGUI because we use GUI::TextDocument to update
# the content of files according to the edit actions we receive over IPC.
target_link_libraries(ShellLanguageServer LibIPC LibShell LibGUI)
target_link_libraries(ShellLanguageServer LibIPC LibShell LibGUI LibLanguageServer)