kicad/Documentation
John Beard 89d198659c Format: Default to switch cases on separate lines by default
Currently, the format enforces single lines when possible, but does
not enforce readable column-based alignment (and, moreover, *removes*
such manually added alignment:

    switch( m_orientation )
    {
    case PIN_RIGHT: m_orientation = PIN_UP; break;
    case PIN_UP: m_orientation = PIN_LEFT; break;
    }

Change this to multi-line by default:

    switch( m_orientation )
    {
    case PIN_RIGHT:
        m_orientation = PIN_UP;
        break;
    case PIN_UP:
        m_orientation = PIN_LEFT;
        break;
    }

If the developer wishes for column-aligned single-line cases, this
is permitted, but much be done manually:

    switch( m_orientation )
    {
    case PIN_RIGHT: m_orientation = PIN_DOWN;  break;
    case PIN_UP:    m_orientation = PIN_RIGHT; break;
    }

CHANGE: the _clang-format file to reflect this, and add note about
manual override in the dev docs.

(cherry picked from commit 272c045c37)
2019-05-07 09:50:22 +01:00
..
changelogs fix misspelled 'an other' -> 'another' 2018-04-08 13:24:37 -04:00
development Format: Default to switch cases on separate lines by default 2019-05-07 09:50:22 +01:00
docset Docs: add docset generation target 2018-12-03 10:14:15 -05:00
KIWAY_Build_Symbols_Defined.txt * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
biu-plan.txt initial work on PCBNew PLUGIN support, in preparation for nanometer board load and save 2011-11-27 22:32:29 -06:00
eagle-plugin-notes.txt Eagle Project Import: Code cleanup and documentation. 2017-10-20 08:58:40 +02:00
kicad_doxygen_logo.png Docs: update doxygen docs logo 2018-08-06 11:06:24 -04:00
notes_about_pcbnew_new_file_format.odt Minor fixes. 2014-02-07 17:09:15 +01:00
s-expressions.txt fix documentation bugs 2011-01-30 14:58:15 -06:00