Let's say I have this bit of code in Visual Studio 2010:
If I open this in Notepad++ it looks like this:
See that argument2 it out of alignment.
It is not super clear, but in Notepad++ you can see that I am using spaces and not tabs and the font is Courier New (10 pt), which I believe is monospaced (incidentally I am using the "obsidian" style), but it seems like spaces are taking up less space than the characters (about half as much space if you count the dots under public
. You can see that four of them cover only to the u
).
So what am I missing here - does anyone know how I should configure Notepad++ to display my code aligned like Visual Studio does?
Settings->Style Configurator
, selectDefault Style
and set the font you want (also check if the font is set in any of the other styles in the list).