


Without these cookies, our website or some of its functionalities would not work. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. Tabs for indentation, but don't do alignment (my least favorite).These cookies are necessary for our website to function and cannot be switched off in our systems. Spaces for everything (this is quite common, because it's simple to describe, and hard to mess up) Tabs for indentation, spaces for alignment (my favorite, though not overly popular overall) (takes longer, but allows more control - you can make preprocessor defs bold and so forth and so-on)

Walk through the sytle names, and change all styles to have Scale(%) to be =. Go to Options->Preferences->Syntax Formatting, and select Use only color formatting I believe it defaults to a light grey color that's barely noticeable unless you're looking for it. Under Options->File-Type-Options, select 'Visible tabs' and 'Visible spaces' for all your basic file types. button and select a fixed width font (courier new, consolas, etc). In the Options->File-Type-Options, click on the Screen Font. This makes any meaningful alignment almost impossible (and definitely not portable with other editors)

There's numerous articles that describe this in more detail (see here for example).įor source insight, the issue is compounded because by default it changes the font size based on context, meaning spaces are a different width than the characters that might be above it. The crux of the issue is that if you use tabs, and make it look good on your editor, someone else will have different tab spacing on theirs, and the code won't look good on their editor. I believe your problem is that you are trying to align the parameters of a function using tabs.
