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

Extension for Eclipse IDE #15

Open
mickaelistria opened this issue Dec 7, 2017 · 1 comment
Open

Extension for Eclipse IDE #15

mickaelistria opened this issue Dec 7, 2017 · 1 comment

Comments

@mickaelistria
Copy link

It would be nice to contribute support for this language server in the Eclipse IDE. This is not a too complex thing to implement, see https://www.eclipse.org/community/eclipse_newsletter/2017/may/article3.php for explanation.
DDT ( https://github.com/DDT-IDE ) used to be the best tool available in Eclipse IDE for D. But it's not maintained any more, and the editor part relies on a very specific framework; where I believe a TextMate grammar + a language server would work better for the editor part. So I think there is an opportunity here to start a new Eclispe IDE extension from the LS, and to adopt some interesting code of DDT.

I'd be glad to assist anyone willing to work on it; however, as I'm not much knowledgeable about D and my employer doesn't (yet?) have any strategical interest in it; it's not something I can do myself.

@WebFreak001
Copy link
Member

Using their language server protocol should be super easy, if you can find example code how to include one in eclipse you basically instantly have all features required for a IDE, and then you can add a few more in a few weeks (estimated order quick to long: building, dub configuration settings [config, arch-type, build-type, compiler], add imports fix, sort imports command, implement interface command, sync dub/dcd, restart dcd, project creator, dub dependency tree view, gc profiler view, dub.json/dub.sdl editor, dub settings GUI)

I still need to port dlangui markup language autocompletion/decoration from code-d too.

Otherwise all you would need to do is a setup routine for the end user, including grammar for syntax highlighting and snippets. If you don't choose to implement any of the above mentioned additional features you will still have auto completion, code outline, formatting, symbol search, goto definition and linting for free just by including serve-d

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

No branches or pull requests

2 participants