... | ... | @@ -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. |
|
|
\ No newline at end of file |
|
|
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`) |
|
|
\ No newline at end of file |