PhpStorm saving with Linux line ending on Windows
问题 Environment: Windows + PhpStorm Issue : PhpStorm saves file with Windows line endings - and for shell script it's issue so there is need to always convert after copying to server. Question : Is possible to configure PhpStorm to save file with Linux line endings - \n and not \n\r (new line + carriage return)? 回答1: You can safely use \n line ending for .php and most of other files as well -- PHP on Windows will read such files just fine. To set default line ending for all new files: go to