"Use tab character" doesn't always work

jonearles

Member
I have selected "Use tab character" but tab characters are not used consistently. For example, indenting or unindenting a block of code will convert the tabs to spaces. And Automatic indent will use spaces instead of tabs.

Is this an issue with the editor or are there some other settings I need to change? I'm Using 8.0.4.1514.

Thanks,
Jon
 
You will need to enable the "Smart fill" option as well. It will ensure that indents use tab characters whenever possible.
 
AFAIK it won't take SQL indentation (subqueries, decodes etc) into account though, so alignment will still be messed up if the code is later viewed with a different tab setting.
 
Back
Top