-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Eclim server isn't working properly #3012
Comments
@LuoPX-15510486969 sorry I can't help - other than to say that titling the issue something along the lines of "Eclim server isn't working properly" might help others find this and maybe others help solve. I initially thought you were just commenting that it was working well ;) |
i put all config in the docspacemacs/config function which comes from the auther document and i do not know whether it is related with spacemacs. |
I use eclim every day and although pretty slow it works fine. Do you have eclim installed properly in eclipse? |
thanks for your comment that let me know the default java layer can work. it is possilbe my incorrect setting to result in eclim working badly. I will check it out. |
thanks for these guys , i have find the reason: after i set auto-completion-enable-snippets-in-popup to t , it works well. |
@LuoPX-15510486969 👍 maybe close this if alls good ;) |
but there is still another question here: when i edit xml files in the same project ,the auto-complete does not work.any body who know how to fix it ? |
Well, this issue was about eclim, not XML. But anyway... what kind of completions are you expecting in XML? XML is a meta-language where basically anything goes. There are no keywords, variables or functions to complete. What is it you're typing and what is it you're expecting to see? For example, I get HTML autocompletion in XML mode: Do you have the |
Okay, you want some kind of special auto-completion for android XML. I'm not sure something like that exists for comany-mode. You can probably get some of it done by using the (push '(company-web-html company-capf) company-backends-web-mode) But it's not going to be as good as a specific backend for the language you're working with. |
It sounds like it shouldn't be so hard to write such a backend yourself, though, so long as you have a list of all the valid attributes and tags. |
sorry, i am new to emacs and elisp ,so it sounds hard for me to write something .what is worse my major is civil engeering . so you know..... |
Yeah, sorry... I didn't mean to suggest that it had to be you, necessarily. Maybe it's a feature request for eclim(d). |
emacs-eclim doesn't have that much in the way of support for other languages than java at the moment. Eclim proper does have some support, so it might be possible in the future, but at the moment I don't think it is supported. That on top of the fact that the emacs-eclim project appears to be losing steam :( |
@TheBB is totally right though, its likely that you could add a separate company backend to fill the gap. I'd be interested to hear if you find something. |
As the original issue was solved and the discussion moved to some points not directly related to Spacemacs, I'm closing this issue. Anyway, feel free everybody to open a new issue in case of problem |
filrst,when i and java layer and have set the eclim variables i have to open a java file to use the keybinding, it seems not so good . And in holy mode M-m does not work while SPC can work.
second , it seems that eclimed server does not work with java mode ,for example when i use auto-complete it does not complete the library function it can only complete in comtext.
The text was updated successfully, but these errors were encountered: