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 247717

Summary: Invoking CC for require JS module marks file as "edited"
Product: javascript Reporter: Ondrej Brejla <obrejla>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ondrej Brejla 2014-10-06 09:14:45 UTC
Invoking CC at the end of module name causes that. 

define([
    'base.dt/js/DesignerUtils^', // caret
    'base.dt/js/grid/GridOperations'
], function(DesignerUtils, gridOperations) {
//...
};

Thanks!
Comment 1 Petr Pisl 2014-10-06 09:23:23 UTC
IMHO it's because the cc offers only one item and this item is automatically added to the document.
Comment 2 Petr Pisl 2014-10-06 11:41:58 UTC
The same problem is in php code completion. It looks like problem in csl.