atom/autocomplete-plus

Don't show suggestions on space or comma

Closed this issue · 10 comments

Apologies if this has been brought, but I didn't see an open issue. When using scss, I get suggestions after typing a comma or space. I use enter to confirm a suggestion so I often end up with something like:

h1,width: |

when I wanted:

h1,
| 

At the least, I don't think there should be any suggestions when the previous character is a space. It would also be helpful to have no suggestions when the previous character is a comma.

+1

It slows down writing scss/css where multiple selectors arise on a regular base.

+1

@olafgleba is exactly right, and it happened one time trying to reformat html, but it doesn't seem to be happening since 1.0

@jasenc, all occurs with Atom 1.0 (since i switched from ST just a several days ago).

+1
It also happens unwanted when editing javascript objects

Thanks for working on this, however the original issue wasn't fixed. I'm using Atom 1.0.3 and autocomplete-css 0.9.0

Can you make a gif and paste it in here? I guess I am not understanding the usecase

http://screencast.com/t/e0Sol5W8

I noticed it doesn't happen on the outer selector. Just when the selector is nested.

Ok, noted, thanks for the screencast

Thanks for the screencast. It should be fixed for real this time.

That works great, thanks.