Autocomplete+ (autocomplete without hotkey)


Good idea, I’ll put it on the list and try it out. :smile:


Fantastic plugin! I feel like this plugin should bash over the existing one :stuck_out_tongue:


I currently have both installed and they’re coexisting nicely. I can imagine a need for both on different machines, though. For example, at home a have a nice new machine that runs Atom snappy fast … this package works great and is worth the extra overhead of always popping up the alternates and generating new word lists, etc.

At work I have a rather obsolete and underpowered MacBook Pro … where Atom runs pretty well, but sometimes there are noticeable delays in syntax highlighting. On that machine I might want to use the regular Autocomplete package to keep things as fast as possible.


I agree. It would be pretty easy to add the original keyboard shortcut as an option, though.


I’ve been using this in a production workflow, and its getting dicey in stylesheets. Perhaps create a file type exclusion setting?


I’m trying to think of a way I can use this in my project. i.e. extend your class implement my own buildWord list, onReturn etc… I’m currently doing that with the existing AutoComplete view but yours is so much more usable and compleye.

Do you know of any issues I might have if I extended your class?

The folks who are making ternjs for atom would most likely want to use yours as well.


Dicey meaning annoying or slow? Yeah file type exclusion is a good idea. Adding it to the list, probably pushing out a new release tonight!


I’m subclassing atom’s SelectListView in a pretty dirty way. Since the default class is using a mini EditorView, I had to re-implement some methods myself so that they don’t try to reference the editorView anymore. But it’s still pretty straight forward. I might refactor it so that it subclasses View instead of SelectListView though - that would clean it up a little.

If you have any questions on the implementation, drop me a mail:


Thanks I’ll do that.

I really feel like there should be 1 global autocomplete running that other packages could subscribe to buildWordList that way other people could include their own completions.
2 use cases for this already:

  1. For specific auto completions like DocBloc definitions, you don’t need these everywhere but in the right context you do (inside a doc block).
  2. TernJs, they run a v8 in the background and can give you suggestions outside the scope of your project (i.e. they surface the entire DOM API. wow)

The contract would look like this: every keychange or input you would call BuildWordList and give all your subscribers the prefix, they would all respond with their list. and on enter select of that item, you would call the subscribers callback with the selected item.

Side Note I’m creating a port of DocBlockr and this would be very useful. Same with the TernJS folks.

Side Side Note: this is an opportunity for your package to be the base of every package that wants to subscribe to auto complete :wink:


I see what you mean, that’s a good idea and it should be possible with the current architecture of autocomplete+.

I’m working on a DocBlockr port as well, mind sharing your progress? :slight_smile:


Yeah lets take this conversation out of this thread though :wink: ill send you an email


@kenwheeler I added blacklisting and tab for selection with version 0.5.0!


Awesome! Re: Diceyness, I was editing numerical values in a sass file and it was triggered. Perhaps making sure the buffer content prior to the period is [A-z] before triggering would solve that.


@saschagehlich I have copied your work for the TernJS module im working on, but ideally we could have an API somehow on your module to control the suggestions. Any thoughts on this?

Edit: just saw someone else suggested this…


@kenwheeler That has been fixed with 0.4.0 already - it should not add items to the wordlist that only consist of numbers. :slight_smile:

@mattapperson There’s a discussion going on about that over here:


Awesome job. Thanks for this!


is possible to use only tab key to use it?

it’s great but snippets works bad with autocomplete

thanks :slight_smile:


How do I download it? I went to the preferences pane in Atom and after scrolling and searching I only found autocomplete, not autocomplete+.


Thanks for the plugin. I’m using it, but have a couple questions/suggestions about details that may make it more useful to me (and hopefully others).

Is this plugin supposed to show suggestions when you’re just highlighting existing text? I’d think the suggestions would only show up after typing a character. This is especially painful when I highlight a few lines I want to indent or un-indent all at once. Because I have suggestions showing up when I highlight, hitting tab replaces the text I highlighted instead of indenting the lines. Same for un-indent.

Also, I noticed it matches within the suggestions, rather than from the beginning of each. So, if I have the cursor at the end of ‘sel’, I get suggestions like ‘is_selected’. Is this intentional?

And, not to go on griping for too long, but I +1 removing selection from the “Enter” key. I sometimes get suggestions just before trying to add a line break with “Enter”. This results in the last thing I typed being replaced rather than the line break being inserted.

Thanks again. Would you prefer I move these questions / comments to Github?


Hey guys, autocomplete+ 0.11.0 is out - a couple of features have been added and the code has been refactored: