I am using Python but some pre-defineted snippets. I was wondering is it possible to apply them if the
keyword is the first word.
[TAB] converted into
if cond:. I want this behaviour if the keyword is the beginning of the line as first word.
Let's assume if I type
if inside a double quotes
" and press
object.if[TAB], then the snippet still applied, which I don't want.
Example cursor is right next to
if and I press
=> Converted into following piece of code, which I don't want:
print("if cond: ")
object.if TAB converted into