In Notepad++, I have it set to insert 4 spaces instead of tab. I am working in a file format (robot framework) where it is important that some things be separated by multiple (more than 1) spaces.
Notepad++, when I push tab, will first move the cursor however many of spaces to get to the next multiple of 4, i.e., trying to automatically keep everything lined up, and then tab 4 spaces after. If it just so happens that the last thing I typed ends 1 space character away from the next aligned position, when I tab, it only puts in that single space...and my automation fails. (If it happens to be 2, 3, or 4 spaces away, those cases all work, but really for consistency, it would be nice if 'tab' always meant '4 spaces from the current cursor position'.)
Is there a way to make Notepad++ ignore alignment and always, no matter what, insert exactly 4 spaces if I press tab? I want to preserve auto-indent functionality, but I don't think that should matter for what I'm asking. I'm sure there has to be some setting somewhere that does this, but I'm at a loss on where to look for it.
No comments:
Post a Comment