Skip to content

More language server feature work #7411

Open
@msullivan

Description

We have an LSP "language server now", but should support more features.

  • non-DML commands (create role, create database, describe, ...)
  • improve syntax errors (missing x errors are confusing in a lot of cases)
  • run schema delta on .esdl files and report type+name errors,
  • auto complete using the schema (select User.____, or select User { id, ____)
  • type info on hover
  • go to definition

Code formatting could be part of this list, but it requires porting our AST to Rust, because we want a long-term solution.


VSCode extension:

  • provide a status bar with edgedb-ls version and current status of the server,
  • a command to restart the server,
  • a command to re-download latest version of the server,
  • status bar: edgedb-ls not found,
  • status bar: no dbschema/ dir,
  • status bar: compiling schema,
  • a setting for "path to the edgedb-ls binary", which would, when set, disable downloading from https://packages.edgedb.com,
  • multi-root workspaces

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions