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 268137 - multiple import statements without semicolons wrongly indented
Summary: multiple import statements without semicolons wrongly indented
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-21 12:49 UTC by dusty
Modified: 2017-01-21 03:04 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 dusty 2016-09-21 12:49:26 UTC
This code snippet is badly indented because it has no semicolons at the end of two import statements. Indentation is ok when adding them (but they are optional in ES6):

import Ember from 'ember'
        import PaginationBaseRoute from '../pagination-base'

        export default PaginationBaseRoute.extend({
        });
Comment 1 Milutin Kristofic 2017-01-19 12:25:48 UTC
Thank you, that was annoying bug. It's fixed in dev build by http://hg.netbeans.org/jet-main/rev/1ef0a0538fe9
Comment 2 Quality Engineering 2017-01-21 03:04:44 UTC
Integrated into 'main-silver', will be available in build *201701210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1ef0a0538fe9
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #268137 - multiple import statements without semicolons wrongly indented