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

#460 nrepl-complete support #461

Merged
merged 1 commit into from
Jan 26, 2014
Merged

#460 nrepl-complete support #461

merged 1 commit into from
Jan 26, 2014

Conversation

gtrak
Copy link
Contributor

@gtrak gtrak commented Jan 25, 2014

@@ -515,6 +515,10 @@ instance, because nREPL itself does not depend on `clojure-complete`.
Note that if you're using an nREPL middleware providing a `complete` op,
CIDER will use it instead of its built-in completion.

Clojurescript completion is provided by the [nrepl-complete](https://github.com/gtrak/nrepl-complete) middleware.
Copy link
Member

Choose a reason for hiding this comment

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

I guess you didn't understand me in the comments - the nrepl completion middleware should be part of the cider-nrepl project. That's the only way to ensure the middleware will always be in sync with cider. Other projects will obviously be welcome to use cider's middleware, but compatibility with them will not be a priority.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I don't quite understand the relationship between nrepl and cider, I guess. The middleware makes no requirement on cider. I assumed you meant that cider-nrepl will simply pull it in and wrap handlers with it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Another implication of this is that cider-nrepl is going to have to be aware of piggieback and whatever else might be needed (ritz, maybe?). I couldn't tell if that's within its design scope. But, throwing this into cider-nrepl is fine by me. Once it's in, I'll kill my nrepl-complete repo. Seems like we can also remove the doc middleware once #462 is addressed.

Copy link
Member

Choose a reason for hiding this comment

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

The endgame is that cider own middleware (from cider-nrepl) will replace ritz's middleware. Long term essential ritz components should be absorbed into cider proper (like the debugger, appropos, etc). Currently as they are developed independently they are often out of sync - ritz is still not updated for cider.

@bbatsov
Copy link
Member

bbatsov commented Jan 25, 2014

Looks good. Just squash the 4 commits together.

bbatsov added a commit that referenced this pull request Jan 26, 2014
@bbatsov bbatsov merged commit 401c75e into clojure-emacs:master Jan 26, 2014
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.

2 participants