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

Summary: multiple import statements without semicolons wrongly indented
Product: javascript Reporter: dusty <dusty>
Component: Formatting & IndentationAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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