Notepad++ - Show vertical edge line

By xngo on November 28, 2019

Be able to see the vertical edge line is very helpful when you are trying to format your sample code to make it more readable for your blog post. If you limit each line of codes to 80 characters long, then most of your readers don't have to scroll to the right side to see the end of the code. Here is an example showing the same code in 2 different formats. The first block is limit to 80 characters long whereas the second block is not. You can easily see that the first block of code is much more easy to read than the second one.

Code format example with/without vertical edge limit

You can enable the vertical edge line in Notepad++ from Settings > Preferences > Editing. The settings is in the Vertical Edge Settings section.

Notepad++ - Vertical Edge Settings

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.