Skip to content
/ vls2 Public

V language server rewritten from scratch

Notifications You must be signed in to change notification settings

S-YOU/vls2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (use didOpen/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

About

V language server rewritten from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published