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.
I put caret on #include directive and pressed Ctrl-R. Rename dialogue appeared, but it said that new name is not a valid identifier, until I removed parenthesis ans trailing ".h". When I did it, "Refactor" button became enabled, but when I pressed it, the file name in #include changed, but the file was not renamed. So we should either fix this or disable such rename.
fixed, change set: http://hg.netbeans.org/cnd-main/rev/0a564bf8e802
Integrated into 'main-silver', will be available in build *201607150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0a564bf8e802 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #257146 Renaming a file from #include directive does not work