Project
IntelliJ IDEA
Priority
Normal
Type
Feature
Fix versions
No Fix versions
State
Obsolete
Assignee
Denis Zhdanov
Subsystem
Code Formatting and Code Style
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Etienne Studer
    5 years ago (17 Apr 2007 02:36)
  • Updated by   Denis Zhdanov
    2 years ago (13 May 2010 15:46)
  • Jira: IDEADEV-28929
    (history, comments)
 
IDEA-38124 Codestyle feature: After '{'
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
In the 'Blank Lines' tab, analogous to the Before '}' setting, provide an After '{' setting.

This would allow to have blank lines at the beginning of methods, etc. removed.
Comments (1)
 
History
 
Linked Issues (?)
 
Denis Zhdanov
  Denis Zhdanov
13 May 2010 15:46
2 years ago
You can achieve desired behaviour using the following setup:
  • 'Code Style -> Alignment and Braces -> Keep When Reformatting -> Line Breaks' is unchecked;
  • 'Code Style -> Blank Lines -> In Code' set to 0;
Related Changes
Resolved Date
2 years ago (13 May 2010 15:46)
Type
ExceptionFeature
State
OpenObsolete
Assignee
Denis Zhdanov (denis.zhdanov)Denis Zhdanov
Subsystem
<lost change>Code Formatting and Code Style