Is there a way to replace all double quotes with no interpolation?

Hi,

I want know if there is a easy way to replace all double quotes with no interpolation at once.

Some auto generated codes have a lot of double quoted strings, so I want to replace them.

 

I know I can disable the code style setting, but I want to use the default code style.

 

Thanks

3 comments
Comment actions Permalink

Hi,

you can replace all double quotes in one file but not in the whole project at once. Another option would be to run Code | Inspect Code.. specifying only this inspection so that you can see all files in question.

0
Comment actions Permalink

How can I replace all double quotes which don't have interpolation?

0
Comment actions Permalink

You can run Code | Run Inspection by Name and then apply quickfix:


https://www.jetbrains.com/help/ruby/2016.3/resolving-problems.html 

1

Please sign in to leave a comment.