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

Add support for language server protocol. #135

Merged
merged 2 commits into from
May 25, 2019
Merged

Add support for language server protocol. #135

merged 2 commits into from
May 25, 2019

Conversation

cowboyd
Copy link
Member

@cowboyd cowboyd commented May 24, 2019

The Language Server Protocol is one of the most exciting developments for language tools in the last two decades. It enables amazing code insights and change management tools for any IDE.

This introduces basic support for LSP in emacs. At the moment, in order to turn it on for a buffer, you need to manually run M-x lsp. However, as we experiment with it, it's very likely that we'll end up using it automatically for modes.

Something to note, since we know that projectile is present, we have lsp always try to guess the project root.

Example: Dart

enable lsp-mode for a Dart buffer

2019-05-24 16 22 45

*Jump to definition and back again M-., M-,

2019-05-24 16 24 31

Find symbolic references M-x lsp-find-references
2019-05-24 16 27 20

Rename symbol M-x lsp-rename
2019-05-24 16 29 41

Note: These are just a few of the examples, adding well-known keybindings will come later as patterns are discovered.

The [Language Server Protocol][1] is one of the most exciting
developments for language tools in the last two decades. It enables
amazing code insights and change management tools for any IDE.

This introduces basic support for LSP in emacs. At the moment, in
order to turn it on for a buffer, you need to manually run `M-x
lsp`. However, as we experiment with it, it's very likely that we'lll
end up using it automatically for modes.

[1]: https://en.wikipedia.org/wiki/Language_Server_Protocol
@cowboyd cowboyd changed the title Add support for language server. Add support for language server protocol. May 24, 2019
@cowboyd cowboyd merged commit e21ad6e into master May 25, 2019
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.

1 participant