Skip to content

LSP Server for editor support #11

@dev-dami

Description

@dev-dami

Description

Implement a Language Server Protocol (LSP) server for Carv to enable IDE features.

Features (Priority Order)

  1. Syntax highlighting (via TextMate grammar, not LSP)
  2. Diagnostics - Show errors/warnings in editor
  3. Go to definition - Jump to function/variable definitions
  4. Hover - Show type info on hover
  5. Completion - Autocomplete suggestions
  6. Find references - Find all usages
  7. Rename - Refactor symbols

Implementation

  • Start with a basic LSP server in Go
  • Reuse existing lexer/parser/type-checker
  • Protocol: JSON-RPC over stdio

Editor Plugins Needed

  • VS Code extension
  • Neovim plugin
  • Others as requested

Resources

Help Wanted

This would significantly improve the developer experience. Looking for contributors!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions