This thesis presents the connection of a web-based code editor with IntelliSense support for the Java, C in C++ programming languages. The editor
is built using the CodeMirror 5 library and is connected to the clangd and
Eclipse JDT Language Server through the LSP. Communication between the
browser-based editor and the intermediate server is carried out through the
WS protocol, while the intermediate server and the language servers run in
a Docker environment. The solution is designed so that it can be integrated
into a web-based code editor in three different modes. The connection with
the language servers enables code completion, real-time diagnostics, and the
display of errors and warnings directly in the editor. These functionalities
speed up development, reduce the number of errors, and shorten debugging
time, as the developer receives feedback while writing the code. The goal is
to create a modular web-based code editor with IntelliSense support that can
be easily integrated into the ALGator web application. The developed webbased code editor with integrated language servers represents a comprehensive solution that brings web-based code editors functionalities comparable
to development environment such as Visual Studio Code.
|