Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11552

Tab size in code viewer should default to 4 spaces

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The current default tab size in the code viewer is 8 spaces. This is probably a bit big and not what's usual in IDE's.

      We should put that default size to 4 spaces, using the following CSS property should do the trick: tab-size

      We know all browser don't support it but it will already enhance the UX for most of our users!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeremy.davis Jeremy Davis
              Reporter:
              gregoire.aubert Gregoire Aubert
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: