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.
Properties associated with a file can only be changed one file at a time. This includes - include directories - preprocessor definitions - whether to exclude the file from code assistance - the kind of tool used to compile the file Multiple files can be selected in the Projects view, but the properties cannot be updated when more than one is selected. Similarly, when modifying properties (even on a single file), its quite likely you would want to make the same property modification in all configurations. This is not possible. All of this pushes the user to modifying the configuration.xml file by hand.
> Similarly, when modifying properties (even on a single file), its quite likely you would want to make the same property modification in all configurations. This is not possible. Yes, it is. Select "All Configurations" from drop-down combo box.
So to be clear, you can modifiy properties on a single file across multiple configurations, but you cannot modify properties on multiple files on *any* configurations, single or multiple.
See also CR 6995901
CR 6995901 closed as not a bug....
>>modifying properties (even on a single file), its quite likely you would want to >> make the same property modification in all configurations. This is not possible. >Yes, it is. Select "All Configurations" from drop-down combo box. I think we are talking about different things. Lets's say I have 4 files in my project: - a.cc - b.cc - c.cc - d.cc Let's say I want to change the state of "exclude from code assistance" for a.cc and b.cc. If I select both in the "projects" pane, then right click on the selection, the "properties" menu item is disabled. The same thing would be true for any other property specific to files: tool, command line, additional dependencies, includes, defines, etc. The "all configurations" you refer to works only for all files in all configurations, not for some files. You see the distinction?
... and the result is that changing one property on N files requires N dialog sessions. A laborious thing.
Too late for 7.0, so bumped it to 7.3. And still an inconvenience. Please confirm the last detailed description above on how you can't apply properties to multiple files or configurations.
*** Bug 168755 has been marked as a duplicate of this bug. ***
*** Bug 249286 has been marked as a duplicate of this bug. ***
Is there any chance this feature will be implemented? Is there any technical inconvenience related to it?
Fixing in 282632:2673b7505048, 282633:3240cca04fd0 Changes: * Allow multiple file selection. All files should belong to the same project. Need to implement the same for folders.
Integrated into 'main-silver', will be available in build *201501130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2673b7505048 User: Ilia Gromov <ilia@netbeans.org> Log: Fixing Bug #145951 - can't apply properties to multiple files or configurations
Fixing in 282649:fe35fa64a32f Changes: * Added the same support for folders and fixed couple of NPE after the last fix
Additional fix in 282651:8bdb9eeb6213
Integrated into 'main-silver', will be available in build *201501140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fe35fa64a32f User: Ilia Gromov <ilia@netbeans.org> Log: Fixing Bug #145951 - can't apply properties to multiple files or configurations - Select muplitle folders
Additional fix: http://hg.netbeans.org/cnd-main/rev/8a23b7dc7a73 Changes: * Fixed NPE
Integrated into 'main-silver', will be available in build *201501200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8a23b7dc7a73 User: Ilia Gromov <ilia@netbeans.org> Log: Fixing Bug #145951 - can't apply properties to multiple files or configurations