[Bug 223209] New: Format on Save buggy for updating modified lines only

  • From:
  • To:
  • Subject: [Bug 223209] New: Format on Save buggy for updating modified lines only
  • Date: Mon, 03 Dec 2012 21:13:17 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=223209

             Bug #: 223209
        Issue Type: DEFECT
           Summary: Format on Save buggy for updating modified lines only
    Classification: Unclassified
           Product: editor
           Version: 7.3
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Priority: P2
         Component: Formatting & Indentation
        AssignedTo: 

        ReportedBy: 

         QAContact: 



Product Version: NetBeans IDE Dev (Build 201212030001)
Java: 1.7.0_09; Java HotSpot(TM) 64-Bit Server VM 23.5-b02
Runtime: Java(TM) SE Runtime Environment 1.7.0_09-b05
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

Format on Save sometimes leads to data loss, sometimes to incorrectly 
formatted
results. Instead of filing separate bug reports (which is difficult to do 
since
I don't remember which lines I modified), I suggest you (temporary) add code
that formats the code twice:

1. Once only for modified lines.
2. Once for the entire file.

Compare the two. If they differ, automatically file a bug report with 
Exception
Reporter. This will temporarily make this feature slower to use, but will 
speed
up fixing it.

Because I've seen data loss as a result of this feature I've set the priority
to P2.

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 223209] New: Format on Save buggy for updating modified lines only

gtzabari 12/03/2012

[Bug 223209] Format on Save buggy for updating modified lines only

dbalek 12/04/2012

[Bug 223209] Format on Save buggy for updating modified lines only

gtzabari 12/04/2012

[Bug 223209] Format on Save buggy for updating modified lines only

gtzabari 12/28/2012

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close