Hi, Unfortunately, no, there's no ability to control this in any official way at this time. It's something we've considered adding, but we'd want a way to make it configurable in a fine-grained manner (per-path, per-repository, etc.), and we just don't have anything suitable in place for that today.
The only option would be modifying the code (or writing an extension that overrides a variable). The tab size is configured in reviewboard.diffviewer.opcode_generator.DiffOpcodeGEnerator.TAB_SIZE, which is currently set to 8. Christian On Mon, Jul 5, 2021 at 10:51 PM [email protected] <[email protected]> wrote: > (bump?) > > On Monday, 21 June 2021 at 08:08:25 UTC+2 [email protected] wrote: > >> Hi, >> >> In our code, we have tab set to 4 spaces, while in Review Board Diff >> Viewer, tabs are translated to 6 spaces. Is there an option in Review Board >> to set tab to 4 spaces? >> >> Thanks! >> > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "Review Board Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/reviewboard/6ad0eabb-bb1f-4d60-be97-0789b812859cn%40googlegroups.com > <https://groups.google.com/d/msgid/reviewboard/6ad0eabb-bb1f-4d60-be97-0789b812859cn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/CAE7VndnA-GBnTy4qgBgWtJBzQ-gkgexOpQfrfBvaisFXrLAsYg%40mail.gmail.com.
