Spacing options

Post here any ideas/problems/suggestions you have regarding CodeLite's CodeFormatter (AStyle) plugin
foxmuldr
CodeLite Expert
Posts: 120
Joined: Sun May 10, 2009 6:56 am
Contact:

Spacing options

Post by foxmuldr »

When I write code, I like to visually breakout the code blocks slightly differently than the CodeFormatter options allow today. For example:

----------[ Begin ]----------
if (x == 1)
{
// Some code goes here
// Some more code

}
else
{
// Some code goes here
// Some more code goes here

}

// Code continues here.
----------[ End ]----------

The idea is to have extra blank lines after blocks of code. In this case it keep the "} else {" all grouped together on three lines, and the extra space at the end before the closing brace is there so code can automatically be inserted by positioning the caret there.

- Rick
Best regards,
Rick C. Hodgin
www.Visual-FreePro.org
www.LibSF.org