vls2
VLS (V Language Server) is a LSP v3.15-compatible language server for V.
Current Status
vls is a work-in-progress. It requires a modified version of vscode-vlang to be installed (will publish later) and vlang#6489 to be merged in order to be compiled.
Development
To start working with vls, you need to have git and the latest version of V installed. Then do the following:
git clone https://github.com/nedpals/vls.git && cd vls/
# Build the project
v -o vls .
# Run the server
./vls
Roadmap
- Queue support (support for cancelling requests)
General
-
initialize
-
initialized
-
shutdown
-
exit
-
$/cancelRequest
(VLS does not support request cancellation yet.)
Window
-
showMessage
-
showMessageRequest
-
logMessage
-
progress/create
Telemetry
-
event
Client
-
registerCapability
-
unregisterCapability
Workspace
-
workspaceFolders
-
didChangeWorkspaceFolder
-
didChangeConfiguration
-
configuration
-
didChangeWatchedFiles
(usedidOpen
/didSave
instead) -
symbol
(initial support) -
executeCommand
-
applyEdit
Text Synchronization
-
didOpen
-
didChange
-
willSave
-
willSaveWaitUntil
-
didSave
-
didClose
Diagnostics
-
publishDiagnostics
(initial support)
Language Features
-
completion
-
completion resolve
-
hover
-
signatureHelp
-
declaration
-
definition
-
typeDefinition
-
implementation
-
references
-
documentHighlight
-
documentSymbol
(initial support) -
codeAction
-
codeLens
-
codeLens resolve
-
documentLink
-
documentLink resolve
-
documentColor
-
colorPresentation
-
formatting
-
rangeFormatting
-
onTypeFormatting
-
rename
-
prepareRename
-
foldingRange