[Python] How can you convert all single-quoted strings to double-quoted strings in PyCharm?

Discussão em 'Python' iniciado por Stack, Março 25, 2025.

  1. Stack

    Stack Membro Participativo

    I want to do some code cleanup and make all of the strings within a module consistently double-quoted strings. My problem is there are tons of them and going through by hand (alt+enter, arrow, enter) is tedious and my regex-Fu is weak. (keep running into oddball cases where single quotes are in doc strings, etc)

    Is there some faster way to convert all single-quoted strings to double-quoted strings in Pycharm?

    Continue reading...

Compartilhe esta Página