Move symbol refactoring not working on my Typescript files (2017.2.3)

According to What's New section on website this was introduced with Intellij 2017.2, but it doesn't seem to be working for me. I am running 2017.2.3 but IDE always shows the Move (file) dialog when I select the Move refactoring (F6). Same behaviour on class or function. I definitely have the object highlighted.

What am I doing wrong?!


1 comment

This refactoring only works for modules - you should have import or export directive in your file to get it enabled. If you don't use modules, and just like to move certain code from one file to another, you can use Cut+Paste


Please sign in to leave a comment.