This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240649 - Use statement badly indented
Summary: Use statement badly indented
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-18 22:16 UTC by Guile
Modified: 2014-01-27 16:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guile 2014-01-18 22:16:36 UTC
Here is the code I wrote, in the indent I want and which seems correct

<?php

namespace {

    use A;
    use B;
    use C;

}


Here is how the formatting tool indent it

<?php

namespace {

    use A;
use B;
use C;

}

It removes spaces on the following "use" statements
Comment 1 Ondrej Brejla 2014-01-19 16:03:54 UTC
Reproducible.
Comment 2 Ondrej Brejla 2014-01-20 10:48:29 UTC
Fixed in web-main #2c1d98e68e46
Comment 3 Quality Engineering 2014-01-21 02:58:18 UTC
Integrated into 'main-silver', will be available in build *201401210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2c1d98e68e46
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #240649 - Use statement badly indented
Comment 4 mmolda 2014-01-27 16:03:14 UTC
Verified. Thanks for reporting.

Product Version: NetBeans IDE Dev (Build 201401270001)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b50
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b108
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)