diff options
author | Itamar <itamar8910@gmail.com> | 2021-03-04 14:12:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-06 09:40:33 +0100 |
commit | 74070ef74dae78fed179f80ee18f5b079b8843ef (patch) | |
tree | ca8d0571f166f1430d7d3bc7599d66f50e9675e7 /Kernel/KResult.h | |
parent | 289c466fef0dfb2cac35f0c989f3eb2b3d93c345 (diff) | |
download | serenity-74070ef74dae78fed179f80ee18f5b079b8843ef.zip |
HackStudio: Map connections to langauge-servers by language name
HackStudio keeps a map that stores the different ServerConnection
instances we have open.
Previously, that map was indexed by a project's root path.
This did not make much sense because we only support opening a single
project with each instance of the HackStudio program.
We now index the different ServerConnections by the language name, which
allows us to support talking to multiple language-servers in the same
project (e.g C++ and Shell).
This also fixes an issue where if you first opened a Shell file, and
then a C++ file in the same project, then C++ language-server features
would not work.
Diffstat (limited to 'Kernel/KResult.h')
0 files changed, 0 insertions, 0 deletions