Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #11605

Re: Indentation styles for namespaces?

From drew@furrfu.invalid (Drew Lawson)
Newsgroups comp.lang.c++
Subject Re: Indentation styles for namespaces?
Date 2011-11-18 18:09 +0000
Organization Center for Unverified Assertions
Message-ID <ja6703$1214$1@raid.furrfu.com> (permalink)
References <slrnjc0dmk.1bk.grahn+nntp@frailea.sa.invalid> <j9pkga$rq4$1@dont-email.me>

Show all headers | View raw


In article <j9pkga$rq4$1@dont-email.me>
	"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> writes:
>On 13.11.2011 22:29, Jorgen Grahn wrote:

>> - Is there some popular editor or IDE which prefers not to?
>
>No.

The previous-block and next-block movement shortcuts in vi look (by
default, historically, ...) for the opening brace to be at the start
of a line.

But using those comes down to a user prefrence, not a preference
of the editor itself.

I don't like indenting namespaces in implimentation files because
it amounts to indenting almost the entire file.  It doesn't seem
to serve a purpose.

-- 
 Drew Lawson

 I only came in search of answers, never planned to sell my soul
 I only came in search of something left that I could call my own

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Indentation styles for namespaces? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-11-13 21:29 +0000
  Re: Indentation styles for namespaces? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2011-11-14 00:39 +0100
    Re: Indentation styles for namespaces? drew@furrfu.invalid (Drew Lawson) - 2011-11-18 18:09 +0000
  Re: Indentation styles for namespaces? Marcel Müller <news.5.maazl@spamgourmet.com> - 2011-11-14 10:14 +0100
    Re: Indentation styles for namespaces? Miles Bader <miles@gnu.org> - 2011-11-17 08:15 +0900

csiph-web