Open
Description
Describe the bug
I have set up a Tab Size to 4. I note that pressing the tab key generates a genuine tab, which is what I prefer, so that’s fine.
However, if I highlight some code and indent, either with the tab key or cmd-] the code is indented with two spaces. Apart from not being what I asked for, it will create real problems with Python snippets.
To reproduce
- In Settings, set the tab size to 4.
- On an empty line press tab a few times. Note the tab size and the fact that the tab is a single character.
- Enter a few lines of code.
- Highlight the code and indent using, say, the tab key. Note that the indent is made with two spaces.
I’m using the Mac version, 3.12.
Version
3.12
OS
macOS 15.4
Validations
- Follow our Code of Conduct
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.