Replies: 148 comments 32 replies
-
I believe that lsp-mode needs to enhance it's lsp-rename function because that will get Emacs closer to being a full featured IDE. For example we could get some ideas from what intellij provides.Also i think the flymake integration will be a huge + but i think that is closer to be complete as @yyoncho has started working on it. |
Beta Was this translation helpful? Give feedback.
-
@innerout can you elaborate on rename improvements? |
Beta Was this translation helpful? Give feedback.
-
An example from intellij |
Beta Was this translation helpful? Give feedback.
-
@innerout we are limited by the lsp protocol and the language servers so features that are not supported by the server(s) are out of scope. |
Beta Was this translation helpful? Give feedback.
-
Hey, thank you for the great work! I think it's good to have a set of customization option and a better default, because some users may not need so much powerful functionality. For instance, most of them just want a fast way to completion, find references and maybe check doc. It's sure that we may turn on some options as default for user to test and whom really want to use. It may too early to say that easy to configure is also an important feature, but it should be taken into consideration : ) |
Beta Was this translation helpful? Give feedback.
-
Would have to be thought about a bit, but in light of the new session system, would be nice to be able to persist a session across emacs reboots. I work on fairly large, enterprisey projects that take forever to get fully processed by my language server (php). Sometimes I end up restarting emacs for whatever reason, and then have to start the process all over again. |
Beta Was this translation helpful? Give feedback.
-
Getting started / specific language server installation instructions could be made more obvious, instead of making user go to specific language server docs, understand them properly, and then translate back to getting it to work with emacs. For me, I generally like to just copy and paste instructions.. |
Beta Was this translation helpful? Give feedback.
-
Not sure if this falls within lsp, or lsp-ui, or company, but: Would be great to see parameter hints (and/or ability to auto-fill them) when completing with lsp. For example, VsCode would do the following: |
Beta Was this translation helpful? Give feedback.
-
@kaiwk thanks for the suggestion. For now I will add quick start section similar to the one in https://github.com/emacs-lsp/lsp-java which you could just copy/paste and then start coding. We may investigate creating a meta package which joins all the packages that are needed for normal development similar to spacemacs layers. Also, if you have concrete proposals, please go ahead and file an issue or provide a PR. |
Beta Was this translation helpful? Give feedback.
-
can you elaborate a bit more? Unless there is a but the session should be persisted in |
Beta Was this translation helpful? Give feedback.
-
I believe we can do better: #506 . I will try to let lsp-mode directly consume the VSCode packages so you can just open the file and it will automatically download server, autoconfigure itself and so on. About the signature feature: we have some code in, but I have never had a time to test it whether it works fine but in general this feature should work out of the box(currently it doesn't). Here it is a bug tracking the issue: #214 |
Beta Was this translation helpful? Give feedback.
-
@yyoncho Awesome, thanks for your responses, and thanks for all your hard work! I'll respond to the features that already seem to have issues in their rightful place, sorry for not searching first. Regarding the session persistence: The session is indeed persisted, to a degree, in the
What I would like to potentially add: This would mean preventing shut down of language server on exit, as well as reconnecting to the existing server on startup. The only issue I see is potentially having dangling language server processes if they are not cleaned up properly. |
Beta Was this translation helpful? Give feedback.
-
I believe that this is not feasible due to multiple reasons - in general re-connection is not possible in LSP protocol, Re-connection to STDOUT is not technically possible(or at least I don't know how to do that). The only way to implement this feature is either to have some kind of server support for that or implement a proxy in front of the language server which is separate project itself. |
Beta Was this translation helpful? Give feedback.
-
You can read stdout and write to stdin of any process if you know its pid. For stdin cat main.c > /proc/<pid>/fd/0 For stdout tail -f /proc/<pid>/fd/1 |
Beta Was this translation helpful? Give feedback.
-
Here's another one: Would it be possible to generate doc-blocks (i.e. be able to read a method signature and insert proper doc block including relevant things like param names/types, return type, etc. ? There are different styles and conventions for this, so I'm not sure how the customization of that would be handled. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to create interfaces of call and type hierarchy without treemacs like references? |
Beta Was this translation helpful? Give feedback.
-
I'm using lsp with golang I can run tests by clicking in the |
Beta Was this translation helpful? Give feedback.
-
@yyoncho , sadly I just didn't have any spare time until now. So I want to help with dockerized lsp use cases.
Note: currently I am talking about teaching |
Beta Was this translation helpful? Give feedback.
-
You cannot have eval any code in it. I will review your PR. |
Beta Was this translation helpful? Give feedback.
-
The deno client definition is missing some features (mainly those added in v1.17 and v1.17.1 (don't know if I missed anything else)). The more (de)pressing issue is that the client is not working properly (at least compared to when I use ts-ls or tide+deno plugin.
Would be super cool (and make my life a lot easier) if someone could fix this. |
Beta Was this translation helpful? Give feedback.
-
There's a |
Beta Was this translation helpful? Give feedback.
-
Refactoring stuff like "extract method". |
Beta Was this translation helpful? Give feedback.
-
Can I'm not sure that (setq lsp-semantic-tokens-enable t)
(setq lsp-semantic-tokens-apply-modifiers nil) is the solution, but it works like it does. |
Beta Was this translation helpful? Give feedback.
-
I wish |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
What do you think about enhancing persistent Like this:
|
Beta Was this translation helpful? Give feedback.
-
I added a function for cleaning all tracked folders since I think the alternative is to manually remove them one at a time from the
It's a function I've reached for a few times so thought it could be nice to have as part of master. Happy to open a PR if so. |
Beta Was this translation helpful? Give feedback.
-
Hi @yyoncho, thank you for the great work on emacs-lsp 💪 I was wondering, will it be easy to enable lsp lens debug to recognize launch.json like dap-mode does? |
Beta Was this translation helpful? Give feedback.
-
Hi, lsp supporting awk language could be cool ! |
Beta Was this translation helpful? Give feedback.
-
support for |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions