• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Trusty Style
2# This is a Google-derived style with 4-space indent and a few quirks for
3# systems code.
4BasedOnStyle: Chromium
5
6# 4-space indent, no tabs.
7IndentWidth: 4
8UseTab: Never
9TabWidth: 4
10
11# Double indent arguments when none of them are on the first line.
12ContinuationIndentWidth: 8
13ConstructorInitializerIndentWidth: 8
14
15# Don't indent public/private/protected.
16# It's a little more common to do a half indent, but folks didn't like that.
17AccessModifierOffset: -4
18
19# Don't indent case labels.
20IndentCaseLabels: false
21
22# Don't break strings to make it easier to grep for error messages.
23# Note: this can result in lines that exceed the column limit.
24BreakStringLiterals: false
25