Skip to content

[Bug]: Inconsistent indent with Tab Key #537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
manngo opened this issue Apr 5, 2025 · 0 comments
Open
3 tasks done

[Bug]: Inconsistent indent with Tab Key #537

manngo opened this issue Apr 5, 2025 · 0 comments

Comments

@manngo
Copy link

manngo commented Apr 5, 2025

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

  1. In Settings, set the tab size to 4.
  2. On an empty line press tab a few times. Note the tab size and the fact that the tab is a single character.
  3. Enter a few lines of code.
  4. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant