Comments (16)
When I using it for completing it always all methods for all objects.
That's fairly normal, unless the call target is statically known (and we don't do any complex analysis), completion will return methods from all classes. "Statically known" situations include calling a method on a class, or calling a method with implicit target.
Seeing that a call target is a constant (and using its class) should be relatively easy to implement, but that hasn't been done yet either.
However if I complete via C-M-i it will show "[No matches]".
Did I do something wrong?
It should show the same list of completions. What's the value of completion-at-point-functions
in that Ruby buffer?
from robe.
Hi,
after I trigger completion-at-point
it shows:
Contacting host: 127.0.0.1:24969
then shows "[No matches]".
BTW, shouldn't it only return String's methods when I call it after "a".
.
BTW2. if I press C-M-i
or call completion-at-point
after "a".re
, it will return 100 methods. But shouldn't it only return String
's methods?
from robe.
You haven't answered my question. What's the value of completion-at-point-functions
?
But shouldn't it only return String's methods?
Ideally, yes. Like I said, not implemented yet.
from robe.
Oops, I see. Thank you!
I'm using C-h v completion-at-point-functions
and get following outputs:
completion-at-point-functions is a variable defined in `minibuffer.el'.
Its value is (robe-complete-at-point t)
Local in buffer test.rb; global value is
(tags-completion-at-point-function)
from robe.
Hmm, okay. That looks normal.
When that happens, what's at the end of /tmp/robe-access.log
?
from robe.
Hi, here is the log:
/tmp % cat robe-access.log
I, [2014-10-12T00:05:41.230443 #18259] INFO -- : GET /ping/
I, [2014-10-12T00:05:42.709240 #18259] INFO -- : GET /complete_method/-/!/-/-
I, [2014-10-12T00:06:14.507644 #18259] INFO -- : GET /complete_method/-/!/-/-
from robe.
Ok, again looks normal.
What's your installed versions of Emacs and Robe?
from robe.
(emacs-version) -> GNU Emacs 25.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2014-10-10 on lgw01-11 ;;; does it too new?
robe -> 0.7.7 I installed it from marmalade via M-x list-package
then choose robe to be installed.
from robe.
Ah. The Marmalade version should be pretty old now. Can you try it from MELPA?
from robe.
does it too new?
It's a bit too new. It's not exactly a problem, but you'd be better advised to use the 24.4 pretest until it comes out. There's not much shiny in Emacs 25 yet.
from robe.
The robe in MELPA is 20140915.1700. And I can reproduce the same issue with it. It's a bit odd that company-robe will always get lots of result. But C-M-i
won't always work.
from robe.
Ah, maybe I should downgrade my emacs... :-/ thanks for your help. :-D
from robe.
Please let me know if it helps. Because I'm pretty sure the Emacs version shouldn't be the problem in this case.
from robe.
What about that unexpected token $end
bit? Which package is it from?
from robe.
unexpected token $end
should come with flycheck
.
I tried to downgrade my emacs several days ago. But I got lots of error looks like:
no "function-put"
I can't remember precisely...
I'll continue trying to downgrade it...
from robe.
I had problems downgrading my Emacs recently and recompiling the packages (i.e., removing the ~/.emacs.d/elpa directory altogether) solved the issue.
Maybe the errors you're facing are related to this.
from robe.
Related Issues (20)
- Cannot load such file pry HOT 2
- Is there a way to show docs in completions popup/eldoc summary? HOT 1
- Autocompletion not working? HOT 1
- Stuck at cpu 100% HOT 6
- Robe cannot autostart: "No matching directory found" HOT 4
- Robe not working on Ruby 2.7.1 HOT 3
- robe make emacs freeze on 27 on large projects HOT 16
- Non-string path in LOAD_PATH HOT 3
- Emacs freezes when robe is called while byebug is active on console HOT 3
- How to disable robe? HOT 2
- Get search failed message when run robe-jump. HOT 19
- `Can't find the location` when try to search a class defined on current project. (but can in irb) HOT 6
- `find-tag-marker-ring` breaks `robe-jump` on Emacs 28. HOT 2
- Environment variables HOT 1
- Can't jump to the nested module's class in `enh-ruby-mode`, but ruby-mode works HOT 29
- robe-jump returns error file doesnt exists - but it exists HOT 11
- [Help Request] Not robe issue, just need some professional help on crystal-mode. HOT 10
- CPU spikes during rails process buffer completion HOT 7
- Allow for configurable specificity of `robe-jump` entries HOT 9
- Should be possible to change Robe errors buffer from inf-ruby buffer to another buffer HOT 2
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 robe.