https://github.com/cwbudde/dwscript-language-server
An open source implementation of a language server for DWScript
https://github.com/cwbudde/dwscript-language-server
dwscript lsp pascal-language vscode
Last synced: 12 months ago
JSON representation
An open source implementation of a language server for DWScript
- Host: GitHub
- URL: https://github.com/cwbudde/dwscript-language-server
- Owner: CWBudde
- License: gpl-3.0
- Created: 2017-09-25T13:57:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-25T01:32:03.000Z (over 4 years ago)
- Last Synced: 2025-01-05T03:12:01.489Z (about 1 year ago)
- Topics: dwscript, lsp, pascal-language, vscode
- Language: Pascal
- Size: 6.04 MB
- Stars: 10
- Watchers: 6
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DWScript-Language-Server
The DWScript-Language-Server uses the Language Server protocol to provide support for DWScript in editors and other tools.
While at the moment it is pretty limited, it should suppors editor features such as go-to-definition, hover, and find-references for DWScript projects.
## Current State of Progress
Right now the language server is able to receive all messages defined by the [language server protocol](https://github.com/Microsoft/language-server-protocol/). This said, it does neither handle these messages correctly, nor support these messages (as also reported to the language host client).
What works so far is:
* publish diagnostics during compilation of simple programs
* hover over symbols (only over the very first char so far)
* document highlight (basic support)
* symbol list (basic support)
* goto definition (basic support)
* find reference (basic support)
## Editors
At the moment only the [VSCode](https://code.visualstudio.com/) editor is supported directly. However others should also be able to work with the language server.