Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Set tab width for viewing a file

Shahbaz Youssefi July 21, 2013

How does one configure the tab width when browsing a repository? Is there a global option to set when browsing any repository? Is there an option to customize this per repository?

1 answer

1 accepted

1 vote
Answer accepted
jhinch (Atlassian)
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2013

Currently there is no way to configure tab width in Stash as it is currently set via CSS. The current workaround is to use a browser extension which allows you to apply custom styles and apply the following:

.stash-theme pre.code,
.stash-theme .diff-view .source-container {
  -o-tab-size: 8;
  -moz-tab-size: 8;
  tab-size: 8;
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events