Closed RB-Lab closed 10 years ago
Closed as duplicate of issue #15
isn't #15 about only part of this issue? I mean if you mistaken in your snippet or forgot argument it will remove whole line when you hit shortcut. That's confusing behaviour...
Nothing should happen if a valid trigger is not found. If something does happen, I believe we need an issue isolated to just that problem.
@RB-Lab This behaviour is also fixed in https://github.com/jrowny/brackets-snippets/pull/35
I'm trying do the following:
1) created snippet triggered with
fu
to insert anonymous function; 2) typesocket.on('textMsg', fu
3) trying to run snippetExpected behaviour: snippet inserted or at least noting Actual behaviour: line
socket.on('textMsg', fu
removedAdditional info: snippet runs ok on a new line with only
fu
. BTW, is it possible to run snippet if its trigger doesn't occupy whole line?