Issue #6314 duplicate

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

csbubbles
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. csbubbles 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. ddeath

    Hey guys, just so you know read comments of this duplicate issue. There are some good solutions for that problem if you do not want to add to each url ts query param.

  4. Log in to comment