Comments (5)
Pretty much. I think Bond prefers it that way: https://github.com/cldwalker/bond/blob/master/lib/bond/readline.rb#L4, and it's the most feature-rich completion method. (EDIT: ) Irb also returns better completions this way.
Of course, we could use two prefixes (one for company-mode, and another internal to inf-ruby completion logic), and convert the completions between the two, but I wonder if that's worth the trouble.
from company-inf-ruby.
Are you sure this is not merely something that can be fixed on the visual level like by just displaying everything after the dot if the dot triggered the completion and leaving the prefix alone?
from company-inf-ruby.
if the dot triggered the completion
In your example above, as likely as not, m
triggered completion.
Doing what I mentioned above wouldn't be particularly hard, and it would be "on the visual level". There is a certain simplicity to just displaying what Bond or Irb return, though.
from company-inf-ruby.
Actually, it is triggered after the dot, I merely narrowed the examples down by typing m
.
from company-inf-ruby.
That's one possible scenario, but not the only one, that would allow you to reach the state depicted on the screenshot. If you press C-g
and then type m
, completion should be triggered again.
from company-inf-ruby.
Related Issues (4)
- Forget (require 'cl)? HOT 2
- Bundle with company-mode? HOT 3
- Minor typo in the readme. HOT 8
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 company-inf-ruby.