-
Notifications
You must be signed in to change notification settings - Fork 2
Order results by proximity #27
Comments
I agree. In TextMate, 'suggestions' are based on proximity as well. |
I like this suggestion, but I don't have much time to work on it. I have an idea of how to do this, if anyone want to tackle it.
|
@alexchee looks like a reasonable amount of code there, ( might look at it later ), this doesnt seem to be cycling through options at all anymore, just completing to some option in the document, and pressing "space" doesnt cancel the seconds insertion point. Hope someone has time to invest in this plugin. |
Got bored one night and trying it out here #28. Need to add more tests and figure out how much slower it is. |
Thanks Alex, I'll give it a go!
Best regards,
Richard.
… On 26 Mar 2017, at 07:27, alexchee ***@***.***> wrote:
Got bored one night and trying it out here #28 <#28>. Need to add more tests and figure out how much slower it is.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#27 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/APiJdskn3cTxK2CBJGPXGfpGiAw6RMiBks5rpgU_gaJpZM4G07_->.
|
Just trying 1.1.0 - it does cycle through the options now - I think thats been fixed, but the cycling is not looped back. If u missed it the first time - then its gone. It also cycles through options from the top of the document to the bottom. It should cycle the options closest to the cursor first. Does anyone have any links to good tutorials on Atom plugins? Keen to give this a try. |
There should be a version 2.0.0 out now that has an setting checkbox, I've used the tutorial in the Atom Flight Manual: http://flight-manual.atom.io/hacking-atom/ to help make a package, but it the API docs might not be up to date. I remember seeing some references to SpacePen and Shadow DOMs which are getting removed. I think it would be better to redo this plugin as a fork of https://github.com/atom/autocomplete-plus, to have all the goodies that package provide like custom providers for grammars. |
Thanks for atom-inline-autocomplete. This may be more of a feature request than a bug.
In Komodo IDE, the 'suggestions' are based on proximity, so when you trigger the inline auto-complete, the options suggested to you are from matches going upwards through your file. This is very helpful as you can reliably know that you'll get the closest match again, e.g. when typing:
function myLongFunctionNameWhichIDontWantToRetype {
...
}
And then using auto-complete on the function name in the following:
var myVariable = myLongFunctionNameWhichIDontWantToRetype();
Currently with your Atom package, the order is harder to predict. I realise that this is from the auto-complete list which appears on screen, so may not be under your control.
Many thanks,
Richard.
Atom 1.2.4 on OS X 10.11.1
The text was updated successfully, but these errors were encountered: