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 256537 - Imports not ordered according to import
Summary: Imports not ordered according to import
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Import Settings (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-12 08:08 UTC by zaahirlaher
Modified: 2016-02-10 08:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (112.09 KB, text/plain)
2015-11-12 08:08 UTC, zaahirlaher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zaahirlaher 2015-11-12 08:08:23 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Linux version 3.13.0-24-generic running on amd64
Java; VM; Vendor = 1.8.0_65
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.65-b01

Reproducibility: Happens every time

STEPS:
1.)Select Tool -> Options
2.) Select Formatting Tab
3.) Set Language to Java and Category to Imports
4.) In the Import Layout Section,  Check "Separate Static Imports" and "Separate Groups"
5.) In the Import Layout Section, set order of imports.
6.) Click Apply.
7.) Click on Save Tab
8.) Check "Remove Unused imports" and "Organize Imports"
9.) Click OK to close Options.
10.)  Choose java file with appropriate imports, make move imports so that they are not in order specified in point 5.

ACTUAL:
Imports not ordered or separated in groups

EXPECTED:
Imports should be ordered and separated in group
Comment 1 zaahirlaher 2015-11-12 08:08:33 UTC
Created attachment 157299 [details]
IDE log