1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #6314 duplicate

Change tab size from 8 to 4 spaces in the Web UI (BB-7457)

Maxim Novikov
created an issue

When developers use tab for indentation, they mainly do that to have the indent size in their IDEs adjustable (to configure it as one prefers). Usually people use 2 or 4 spaces for tabs in the editor. Currently BitBucket converts tabs to 8 spaces to show them in its Web UI. It does not look convenient, especially when you have a couple of nested blocks in your code. It would be much better to have 4 spaces for tabs on the Web, not 8 (too much for indentation).

Comments (8)

  1. Maxim Novikov reporter

    PS I do not think it should be difficult to implement, but it would definitely improve UX I believe for those guys who prefer using tabs in code instead of spaces.

  2. Scott Bamford

    We use 4-character tabs with all of our source code and would like to centralize daily review of changes via bit-bucket repository tracking. Taking time to align your code and then present to the group with mis-alignments doesn't work unfortunately.

  3. Log in to comment