Any way to apply intention on a whole file ?

Answered

Version used : IntelliJ IDEA 2018.2.1 Community Edition with the python plugin

Question :

While working on some python legacy code (migrated from python2 to python3), I aim to apply the intention `Convert to f-string literal` to a whole file (or a set of files).

As described, in some posts, I expected to have the `Apply on ...` sub-menu... but this is not proposed at the moment.

Am I missing sthg ? / Is there any way to do this ?

Thx for help !

0
1 comment

Mass apply is not supported for this specific inspection, request is welcome at https://youtrack.jetbrains.com/issues/PY.

You can do it via Analyze | Inspect code.

0

Please sign in to leave a comment.