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.
Qt Project -> Project Tab -> Source Files -> Right Click -> Context Menu -> Add Existing Items from folders... -> Add Folder ... -> Select -> Ignored Folders Pattern (empty) -> Add Only *.cpp and *.h files are added, the rest files are ignored. The rest must be ignored only if "Ignored Patterns" are filled but with empty "Ignored Patters" all the files must be added recursively. Now we have to add manually all the files for every folder with Add existing item... which is quite annoying. In general it is quite a killing thing, that there is a "logical folders" concept is on. Why do they prohibit to just mirror filesystem structure?! Now we always have to manually syncronize filesystem structure and project file structure.
Ability to mirror filesystem folders in Projects view is a good enhancement, and I suggest you to file it separately. As a temporary workaround please use Files view. As for the addition of *.cpp and *.h files only, what else do you want to add to Source Files logical folder? Qt files like *.ui and *.qrc?
> Ability to mirror filesystem folders in Projects view > is a good enhancement, and I suggest you to file it > separately. As a temporary workaround please use > Files view. yes, we already do use it, but comfort is not so great. > As for the addition of *.cpp and *.h files only, what > else do you want to add to Source Files logical folder? > Qt files like *.ui and *.qrc? yes, and also *.qml, *.css, *.js, *.html and *.sql files by the way, if it is possible, would be so great to add feature to *.qml context menu "Run", cause *.qml is self-run file like *.html in browser for now we have to manually start *.qml files via Windows Exlorer
Created attachment 95059 [details] Suggested patch
> Suggested patch I'm new to the community and I don't know all the protocol procedures, required from my side in this situation. If I have to click somewhere, vote, write a letter or something - just let me know. I will do, cause we all do very important activity.
Nothing is required from your side, thank you :) I'll test the fix and, if it doesn't have negative side effects, integrate it soon.
>I'll ... integrate it soon Great! Will it be enougn to just "Check updates", or some special actions sould be undertaken to start using your fix?
Fix changesets: http://hg.netbeans.org/cnd-main/rev/4fc4fdfb3e66 http://hg.netbeans.org/cnd-main/rev/659c4da03ed2 The fix has evolved significantly since yesterday :) The behavior of Add Existing Items from Folders is now affected by the following: - NetBeans global file filter: Tools -> Options -> Miscellaneous -> Ignored Files Pattern (this is exactly as it was before the fix) - CND-specific setting: Tools -> Options -> C/C++ -> Project Options -> Show binary files in Project view (this behavior is added by the fix) - project-specific setting: project properties -> General -> Ignored Folders Pattern (this is exactly as it was before the fix) - Exclude Pattern field in the "Add Files" dialog (this behavior is added by the fix, because the value of this field was not used at all previously) The fix will be available in development builds (http://bits.netbeans.org/download/trunk/nightly/latest/) soon and eventually in NetBeans 6.9. If QA nominates this bug for the next NB6.8 patch, it will be delivered to you as an update when patch 2 is released. But I can't guarantee that it will happen. Please file your request about *.qml files as a separate enhancement.
Alexey Vladykin did a great job and did it fantasticly fast, cause it is important! Huge respect!