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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login