Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 132117

Summary: space lines added to class/member variable declarations after 'format'
Product: editor Reporter: jimmyjazz <jimmyjazz>
Component: Formatting & IndentationAssignee: issues <issues.netbeans.org>
Status: RESOLVED DUPLICATE QA Contact: issues <issues.netbeans.org>
Priority: P3    
Version: 6.x   
Target Milestone: TBD   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Issue Type: DEFECT Exception Report:

Description jimmyjazz 2008-04-04 22:57:19 UTC
mahlzeit,

only commented declarations are affected
here an example:

public class myclass {
   long len; // comment1
   double dia; // comment2
   ...}

after using 'format' (Alt+Shift+F) it looks like this:

public class myclass {
   long len; // comment1

   double dia; // comment2

   ...}

This behavior occurs in 6.1 beta and in Build 200804041203.

mfg
jimmyjazz
Comment 1 Jiri Prox 2008-04-07 07:12:01 UTC
This is already reported. Thanks for you report anyway

*** This issue has been marked as a duplicate of 131954 ***
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo