See line breaks and carriage returns in editor

后端 未结 8 2280
臣服心动
臣服心动 2020-12-04 05:33

Does anyone know of a text editor on Linux that allows me to see line breaks and carriage returns? Does Vim support this feature?

8条回答
  •  执念已碎
    2020-12-04 06:19

    You can view break lines using gedit editor.

    First, if you don't have installed:

    sudo apt-get install gedit
    

    Now, install gedit plugins:

    sudo apt-get install gedit-plugins
    

    and select Draw Spaces plugin, enter on Preferences, and chose Draw new lines

    Using VSCode you can install Line endings extension.

    Sublime Text 3 has a plugin called RawLineEdit that will display line endings and allow the insertion of arbitrary line-ending type

    shift + ctrl + p and start type the name of the plugin, and toggle to show line ending.

提交回复
热议问题