Closed ThunderFrame closed 6 years ago
Technically not indentation, but I like it very much. Good idea!
Any thoughts on what would be reasonable limits on the settings for this? 0 to 5 lines between functions with a default of 1?
When I implement this I'll probably also add a setting to remove extra vertical white-space inside of procedures also. My thought is that it should be a separate setting. Something like "Compress blank lines inside of procedures" with a related setting of "Maximum blank lines".
I think 0 to 5 seems reasonable. Personally, I'd never use more than 2, and would default to 1.
Might be worth having a setting for vertical space between declarations, and vertical space within declarations, and maybe settings for leading/trailing vertical space?
I'd make it 0 or 1... maybe have 2 available to pick from, but 5 seems a bit arbitrary and.. well, excessive IMO.
Type
and Enum
blocks, but also Declare
external members, Const
, and variable fields (but not between each Declare
, Const
or variable).@comintern should this one be closed?
@retailcoder - I'd leave it open. The only thing that's currently implemented is spacing between procedures - I'm still planning on adding support for spacing between Type
and Enum
members and declaration blocks.
This should have been closed quite a while ago. Already supported.
My preference is for 1 blank line after a declaration, so that Types/Enums/Procedures are easier to identify visually:
Before:
becomes
After: