PyCharm Edu 2018.3 Help

Configuring Line Separators

With PyCharm Edu, you can set up line separators (line endings) for the newly created files, and change line separator style for the existing files.

Set up line separators for new files

  1. In Settings, go to Editor | Code Style.

  2. From the Line separator list, select the desired line separator style.

    Line Separator for new files

View line ending style for the current file

  1. Open the desired file in the editor, as described in Opening and Reopening Files .

  2. View the Status bar: the current line endings style is denoted by the dedicated icon with the specified style, for example, uiStatusLineEnding.

Change line separator for a file currently opened in the editor

  1. Open the desired file in the editor, as described in Opening and Reopening Files .

  2. On the Status bar, click the line separator spin box and choose the desired line ending style from the list:

    lineSeparatorPopup

    Alternatively, go to File | Line Separators on the main menu, and then select the desired line ending style from the list.

Tips and tricks

Last modified: 5 March 2019