Skip to content

editor needs lsp features #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
20 tasks
DanielFGray opened this issue Jun 21, 2024 · 3 comments
Open
20 tasks

editor needs lsp features #10

DanielFGray opened this issue Jun 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@DanielFGray
Copy link
Owner

DanielFGray commented Jun 21, 2024

  • completions
    • context-sensitive completions
    • completion for identifiers in introspection
    • completion for identifiers in current document (not in introspection)
  • hovers
    • table/column info
    • signatures for user-defined functions
    • signatures for postgres built-in functions
  • diagnostics
    • detect trailing/missing comma
    • error when referencing undefined
      • schemas
      • tables
      • columns
      • types
      • functions
    • type mismatches
      • for operators [cannot compare uuid to int]
      • for functions [function expected uuid, received ..]
  • go to definition

docs:

prior art:

alternatives:

@DanielFGray
Copy link
Owner Author

DanielFGray commented Jun 21, 2024

a lot of things are currently blocked by needing a SQL parser

some options [roughly in order of decreasing preference]:

@DanielFGray DanielFGray changed the title lsp features editor needs lsp features Jun 22, 2024
@DanielFGray

This comment has been minimized.

@DanielFGray DanielFGray added the enhancement New feature or request label Sep 8, 2024
@DanielFGray
Copy link
Owner Author

postgres_lsp plans to provide a wasm build (supabase-community/postgres-language-server#174) that should drop-in for everything needed here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant