Skip to content
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

LSP support #369

Closed
wants to merge 19 commits into from
Closed

LSP support #369

wants to merge 19 commits into from

Conversation

stackoverflow
Copy link
Contributor

@stackoverflow stackoverflow commented Mar 27, 2024

This is an alpha version with limited capabilities.

Implemented:

  • Variable resolution
  • Import resolution: only files, stdlib and HTTPS
  • Hover feature
  • Go to definition feature
  • Auto completion: only dot (.) for now
  • Error/warning reporting: not as full featured as pkl-intellij

@stackoverflow stackoverflow changed the title Lsp support LSP support Mar 27, 2024
import org.pkl.commons.cli.commands.single
import org.pkl.lsp.PklLSP

class LSPCommand(helpLink: String) :
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: LspCommand would be more consistent with the rest of the codebase (HttpClient, IoUtils, ExecutorSpi, etc.)

@stackoverflow stackoverflow marked this pull request as ready for review July 12, 2024 14:40
@webframp
Copy link

Seems related to #103

@angelozerr
Copy link

If you want to try your language server in IntelliJ please try the free LSP support for IntelliJ https://github.com/redhat-developer/lsp4ij

@stackoverflow
Copy link
Contributor Author

Closing this as we moved to a separate repo.

@bioball bioball deleted the lsp-setup branch November 5, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants