Cpp Coding Standards/FORMAT/NoTabs

From Apache OpenOffice Wiki
Jump to: navigation, search

No Tabs

Various editors have different ways to turn on the "use spaces not tabs" setting. See Category:Developer_Tools for advice on configuring your favorite editor to use spaces instead of tabs.

in-line markup

I reckon it's best to set the appropriate directives in the files you own, along the line of e.g. sw/source/filter/ww8/ww8par.cxx

where the last line is

   /* vi:set tabstop=4 shiftwidth=4 expandtab: */

I'm not sure if the corresponding

   /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */

near the top is sufficient to "do the right thing" for emacs ?

Personal tools