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.
When creating a symfony project, the /cache folder is not accessible in the Project View. I think this is a 'feature' but there must be a way to disable it: When using scaffolding (symfony <orm>:generate-admin) the resulting base module is generated in the cache folder: /cache/<application>/<env>/modules/auto<module>. However as the cache folder is hidden: - it is not possible to examine the code (you can workaround this one by using the file view), - however code completion would not work anymore because the generated module (/<application>/modules/<module>) extends the base module classes which are located inside the cache folder. Solution: do not hide the /cache folder or at least make this configurable. Thanks, Victor
I see - hmm, but then it can happen that some classes will be indexed twice, won't they? If I'm right, then the only solution I can see right now is to add option to the project properties. Thanks for reporting.
Tomas, I don't think any class would be indexed twice: - when a module a generated in cache, the base class are generated there. Your actual module (the one in your /app/modules folder) extends those base classes but do not redefine them. - otherwise the cache contain html fragment and some php code but no other classes. However I still think it's a good option to make this optional.
(In reply to comment #0) > When creating a symfony project, the /cache folder is not accessible in the > Project View. > > I think this is a 'feature' but there must be a way to disable it: > > When using scaffolding (symfony <orm>:generate-admin) the resulting base module > is generated in the cache folder: > /cache/<application>/<env>/modules/auto<module>. > > However as the cache folder is hidden: > - it is not possible to examine the code (you can workaround this one by using > the file view), > - however code completion would not work anymore because the generated module > (/<application>/modules/<module>) extends the base module classes which are > located inside the cache folder. > > Solution: do not hide the /cache folder or at least make this configurable. > > Thanks, > Victor Agree, very strange decision to hide "cache" folder. Many parts of auto-generated code located there.
Notice, that if switch to Files window (press "ctrl+2") "cache" folder is visible.
Fixed, one can uncheck "Ignore cache Directory" in Project Properties dialog. http://hg.netbeans.org/web-main/rev/e3772e31cc46
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e3772e31cc46 User: Tomas Mysik <tmysik@netbeans.org> Log: #178895: [symfony] the cache folder should not be hidden
v/c Product Version: NetBeans IDE Dev (Build 100408-3b9f0af64f40)