Spacing options

Post here any ideas/problems/suggestions you have regarding CodeLite's CodeFormatter (AStyle) plugin

Spacing options

Postby foxmuldr on Mon May 11, 2009 5:38 pm

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
foxmuldr
 
Posts: 2
Joined: Sun May 10, 2009 4:56 am

Return to CodeFormatter

Who is online

Users browsing this forum: No registered users and 1 guest

cron