mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 07:09:56 +01:00
Update tab size section
@@ -31,16 +31,10 @@ someVariable.someMethod(
|
|||||||
new LongClassNameWithSomeParameters(int foo, long bar));
|
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:
|
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
|
||||||
```css
|
looks very different in the browser than in the IDE. You can configure your
|
||||||
@-moz-document domain(code.briarproject.org) {
|
personal tab width in your Gitlab [profile preferences](https://code.briarproject.org/profile/preferences)
|
||||||
.line {
|
(Scroll to `Behavior` → `Tab width`)
|
||||||
-moz-tab-size: 4;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Restart your browser and enjoy a custom tab size in Gitlab's code and diffs.
|
|
||||||
Reference in New Issue
Block a user