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?
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?
Sublime Text does not currently support displaying EOL characters.
In case anyone is here years later, I found success with the sublime package RawLineEdit.
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.
Sublime Text does not currently support displaying EOL characters.
This might not really helpful for OP question and also the question is 8yrs old and iam assuming he must have got a answer pretty early on.
This is anyone still looking for the answer to show the carriage return in Sublime text 3.
As on May 2021 the current version is 3.2.2
Detailed version of @Sam YC answer
\n
There is a quick workaround, in the search, enable the Regular expression
and the search value use \n
. You will see all the line feed is highlighted.
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
© 2022 - 2024 — McMap. All rights reserved.