String concatenation to ES6 template string intentions

I used to be able to convert a string concatenation to ES6 (backtick) templates using an intention

For example, from:

const str = 'key = ' + val;

to:

const str = `key = ${val}`;

I'm using WebStorm 2019.3.4 and I no longer can do this.

I guess this intention was removed at some point, has it?

Is there any issue for this? I couldn't find any,

0
2 comments

It's still there:

 

make sure that JavaScript and TypeScript | ECMAScript 6 migration aids | String concatenation is used instead of string template inspection is enabled; you can change its severity to make it more visible

0

Please sign in to leave a comment.