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 more features for D language #7093

Merged
merged 1 commit into from
Oct 14, 2016
Merged

Add more features for D language #7093

merged 1 commit into from
Oct 14, 2016

Conversation

tuhdo
Copy link
Contributor

@tuhdo tuhdo commented Sep 12, 2016

Add company-dcd package that uses DCD (a completion daemon for D) to
provide better IDE features:

  • Better code completion.
  • Jump to definition.
  • Search symbol references.

@tuhdo
Copy link
Contributor Author

tuhdo commented Sep 12, 2016

Some demos:

dcd-complete1

dcd-complete2

@@ -26,6 +27,18 @@
(with-eval-after-load 'company-dabbrev-code (push 'd-mode company-dabbrev-code-modes))
(spacemacs|add-company-hook d-mode))

(defun d/init-company-dcd ()
(use-package company-dcd
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should probably be lazy-loaded (:defer t)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bmag done.

@@ -14,6 +14,7 @@
(setq d-packages
'(
company
company-dcd
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add :toggle (configuration-layer/package-usedp 'company) here and it looks good to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@TheBB Done.

Add `company-dcd` package that uses DCD (a completion daemon for D) to
provide better IDE features:

- Better code completion.
- Jump to definition.
- Search symbol references.
@trishume
Copy link
Contributor

Oh man, improving Nim and D! Trying out some cool new languages?

@tuhdo
Copy link
Contributor Author

tuhdo commented Sep 23, 2016

@trishume yea, I am checking them out :D. Currently, I'm in favor of Nim.

@d12frosted d12frosted merged commit 6cb349e into syl20bnr:develop Oct 14, 2016
@d12frosted
Copy link
Collaborator

Thank you 👍 Cherry-picked into develop, you can safely delete your branch.

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.

None yet

5 participants