Autocompleting TS/JS ".then" is inserting ".andThen" and I'm losing my mind.

So this is my autocomplete popup whenever I type .then, and you can see the hint on the right says "Insert andThen" but I don't know how I managed to make it do this. It'd be great if I could make it stop.

results in:

 

Anyone know where to configure whatever this behavior is even called?

 

Thanks,

- Jas

0
2 comments

You must have a live template defined in Settings | Editor | Live Templates with abbreviation then that expands to andThen(); try removing/disabling it

1

Elena you are a life saver. Ember had a "then" live template (I do not even use Ember) and I eventually found it. 

I'm so happy, that was making me go nuts.

- Jas

0

Please sign in to leave a comment.