atom / snippets

Atom snippets package
MIT License
205 stars 100 forks source link

Be able to not insert snippet when inside snippet #237

Closed Yurihaia closed 5 years ago

Yurihaia commented 7 years ago

When using snippets, if you type in something that pulls up a snippet pop-up, there is no easy way to exit it, so if you are in a snippet, it is very annoying to not insert another snippet. There should be a 'no snippet' option on the pop-up.

danielhickman commented 6 years ago

Arrow keys work okay and escape works even better to keep the ability to tab through the rest of the snippet. You may be able to map the behavior to a closer button but it'd be an Atom-wide command since I don't see it in the keymaps.

savetheclocktower commented 5 years ago

Yeah, there are several ways to fix this. One would be to change your autocomplete-plus settings so that the pop-up appears less often or after a longer delay. Another would be to disable the autocomplete-snippets package entirely so that it stops suggesting snippets as autocompletions (though this would disable them in all contexts, of course).

Either way, this is outside of our jurisdiction. Closing.