Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change CRLF to LF for all files in a PyCharm project

Tags:

pycharm

I want to change CRLF to LF for all files in a project that I have opened in PyCharm. I have updated project settings to use LF line separator from "File -> Settings -> Editor -> Code Style" It does not change existing files without opening these.

Is there any way to change CRLF to LF for all existing files in PyCharm?

like image 466
Umair Anwar Avatar asked Dec 06 '25 07:12

Umair Anwar


1 Answers

  • Step 1

Select root node in project view

enter image description here

  • Step 2

Click File menu like the following:

enter image description here

Note: If there are many files the process seems stuck, don't worry, just wait.

like image 128
navylover Avatar answered Dec 10 '25 02:12

navylover



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!