Comments (9)
Thanks: this is certainly planned, but will have to wait until I have some time, or until a corresponding pull request comes in.
from ac-nrepl.
I'm willing to do it.
The primary motivator is cljs support, which means I have to remove direct references to complete.core. Since there are multiple ac-sources, I think I'd have to switch off the others in the presences of cider's implementation. Do you have any thoughts on that?
from ac-nrepl.
The only real advantage of the multiple sources is that the flavour of the completion candidate is indicated, e.g. with "c" or "v". But it would be a shame to lose that if we could avoid it... do the candidates returned by nrepl
have any meta info indicating their type?
from ac-nrepl.
No, but it would be better than nothing in the case that the op is
available. I could reconsider the implementations, but it's not a small
amount of work.
Alternatively, there exists an 'info' op that returns detailed information
about a particular symbol. That could be used in some way to enhance the
output.
(Edit: I see now that it could be used for the tooltip)
On Tue, Feb 18, 2014 at 10:31 AM, Steve Purcell [email protected]:
The only real advantage of the multiple sources is that the flavour of the
completion candidate is indicated, e.g. with "c" or "v". But it would be a
shame to lose that if we could avoid it... do the candidates returned by
nrepl have any meta info indicating their type?Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-35395368
.
from ac-nrepl.
Yeah, we probably don't want to do extra backend calls to grab info for the completed symbols. I'd vote in favour of just merging the current multiple sources into one source backed by nrepl's complete
op, thereby losing the "v", "f" symbols etc. I don't think we should retain all the code which uses core.complete
just to keep those symbols there. Let's ping @samaaron here and see what he thinks.
from ac-nrepl.
@gtrak How recent must nrepl
and/or cider
be for the complete
op to be available?
from ac-nrepl.
Maybe an easy compromise is to add a filter param to the 'complete' op.
That would be less intrusive than changing the return structure.
EDIT 4/10/2014: I think I'm going with this.
3 calls is not much worse than 1.
from ac-nrepl.
Cider-nrepl middlewares must be loaded in your project for this to work,
it's still pre-release. The cider function we'd be calling has existed for
some time already, not sure how recent.
On Tuesday, February 18, 2014, Steve Purcell [email protected]
wrote:
@gtrak https://github.com/gtrak How recent must nrepl and/or cider be
for the complete op to be available?Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-35397265
.
from ac-nrepl.
autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it
from ac-nrepl.
Related Issues (20)
- Long docstrings in ac-nrepl-popup-doc get cut off HOT 3
- nrepl.el needs huge amounts of time to do autocompletion HOT 7
- nrepl.el needs huge amounts of time to do autocompletion HOT 1
- Support company-mode? HOT 44
- Is it possible to use ac-nrepl with ritz? HOT 5
- Intermittent error HOT 16
- ac-source-nrepl-vars conflict with yasnippet? HOT 3
- ac-nrepl displays nothing, java hogs cpu HOT 2
- ac-nrepl-popop-doc causes "Wrong type argument"
- ac-nrepl perceptibly slow. Any way to speed up? HOT 5
- Namespace hint gets expanded into the code HOT 12
- No completion for unsourced namespace HOT 3
- references to nrepl-current-ns break when used with cider HOT 1
- Documentation pop-up only in repl, not in file buffers HOT 12
- ac-nrepl makes auto-complete very slow HOT 1
- Solved: ac-nrepl installed via package.el doesn't work because `cider-0.1' is unavailable HOT 2
- ac-fuzzy-complete not works HOT 5
- .emacs slowdown HOT 5
- No pop up document is showing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ac-nrepl.