mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Update tab size section
@@ -31,16 +31,10 @@ someVariable.someMethod(
|
||||
new LongClassNameWithSomeParameters(int foo, long bar));
|
||||
```
|
||||
|
||||
# Firefox Tab Size in Gitlab
|
||||
# Tab Size in Gitlab
|
||||
|
||||
Create `$HOME/.mozilla/firefox/[your.profile.folder]/chrome/userContent.css` (if it doesn't exist) and add:
|
||||
|
||||
```css
|
||||
@-moz-document domain(code.briarproject.org) {
|
||||
.line {
|
||||
-moz-tab-size: 4;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Restart your browser and enjoy a custom tab size in Gitlab's code and diffs.
|
||||
By default Gitlab expands tabs to 8 characters in source code and diff views
|
||||
rather than 4 that we use in Android Studio. As a result the code
|
||||
looks very different in the browser than in the IDE. You can configure your
|
||||
personal tab width in your Gitlab [profile preferences](https://code.briarproject.org/profile/preferences)
|
||||
(Scroll to `Behavior` → `Tab width`)
|
||||
Reference in New Issue
Block a user