Search code examples
webstormcode-snippetslive-templates

WebStorm Angular 2 live templates popup completion works wrong


I install ng2-webstorm-snippets and when I start typing snippet code (for example a-route-path-eager) WebStorm overrides code completion popup by its default options

I've recorded a gif:

please watch it here

What can I do?


Solution

  • You can always invoke Code | Insert Live Template... (Ctrl + J here on Windows using Default keymap) before typing actual abbreviation (or even in process). This will list Live Templates only and nothing else (so no interference with classes/variable/etc).

    Current behaviour could be due to abbreviation having - symbols in them which you do not type (not 100% sure but hight probability IMO).