js-refactor icon indicating copy to clipboard operation
js-refactor copied to clipboard

js-refactor doesn't work on new files

Open jmanuel1 opened this issue 6 years ago • 0 comments

I'm not sure if the issue is in js-refactor or refactor, but...

If I create a new file using application:new-file so that I get an untitled file, write a bit of JS like

let aVar = 6
console.log(`aVar is ${aVar}`)

and then save the file as something.js, refactoring doesn't work. The underlines don't appear and the refactor:rename command seems to do nothing.

Expected behavior: Refactoring works once the editor grammar is changed to JavaScript.

jmanuel1 avatar Jul 11 '19 13:07 jmanuel1