In Sublime Text 2 How to view carriage return and

2019-04-17 18:48发布

In notepad++ there is a toolbar button to switch on/off display of EOL characters, i.e. carriage return and line feed.

Can Sublime Text 2 do the similar thing?

3条回答
相关推荐>>
2楼-- · 2019-04-17 18:52

In case anyone is here years later, I found success with the sublime package RawLineEdit.

  1. Install with Package Control
  2. Enter Raw Line Edit: Toggle into the command palette (via Ctrl+Shift+P)

Further documentation of features can be found in the User Guide. Note that this package is only supported in Sublime Text 3.

查看更多
我只想做你的唯一
3楼-- · 2019-04-17 19:04

There is another way to achieve this.

Go to preference -> choose "settings-user"

In the file opened paste this command.

"ensure_newline_at_eof_on_save": true

查看更多
干净又极端
4楼-- · 2019-04-17 19:16
登录 后发表回答