Auto-indent behavior issue
-
Reproduction steps:
New file, Language -> C.
struct bob boo[4] = { {1, 2}, {
Pressing the final { in the above example adds an extra tab character that it should not:
struct bob boo[4] = { {1, 2}, {
I fiddled with the settings but it seems to just be broken in every mode?
-
Yep, it’s annoying. I was going to suggest setting the Language to C++ as a workaround, but it does the same thing there. :-(
-
I thought it may have something to do with SCI_SETINDENTATIONGUIDES but using NppExec to examine my current with Language C (
SC_IV_LOOKFORWARD
) and then setting toSC_IV_LOOKBOTH
, I get the same results as you in both modes.Cheers.