atom / snippets

Atom snippets package
MIT License
205 stars 100 forks source link

Snippet auto complete disappears at last character #171

Closed ghost closed 9 years ago

ghost commented 9 years ago

I discovered this strange thing. I am on Ubuntu. I created a snippet for "public function" with the prefix "pufu". When i type "puf" auto complete appears fine. But if i type all prefix like "pufu" auto complete window disappears. screenshot from 2015-09-14 18 40 24 I am aware if i type pufu and hit tab it works.

This is expected for complete code but in snippets this should work differently. For example: if i type "function" i don't need to see it since i already typed all. But hey just tested it, it appears. I already typed all. screenshot from 2015-09-14 18 58 06

There needs to be a switch.

Since you may ask, here is my snippet. screenshot from 2015-09-14 19 03 29

Edit: I found some more interesting things. if prefix is "pff" it works fine. I don't understand the logic there.

ghost commented 9 years ago

i believe this is not about snippets. I am moving this to atom repo. https://github.com/atom/atom/issues/8784