|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Additional Path(s) for Autocomplete to ScanI have a Rails 2.0.2 project that is utilizing engines. The bulk of the code (models and stable controllers) are in the vendor/plugin/engine_name/app directory under their respective directories (e.g. the "controllers" directory contains controllers, "models" contains models, ...). NetBeans doesn't scan these libraries to find any of the code, and as a result, the auto complete feature doesn't point to any of the methods and classes located there. Is there a way to specify additional directories for the auto complete functionality to scan? Also, while we're at it, can this serve as a feature request for NetBeans to automatically scan everything in the plugins directory so the auto complete can be a bit more helpful? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Additional Path(s) for Autocomplete to ScanHi,
Can you please try whether setting the ruby.include_nonlib_plugins property to true would help as a workaround? You can do that by adding -J-Druby.include_nonlib_plugins=true to netbeans_default_options in <nb install dir>/etc/netbeans.conf The problem here is probably that by default the IDE only scans the lib dirs of plugins, so for engines it doesn't work too well. I'll try to address this for 6.8. Let me know whether the property helps, Erno comctrl6 wrote: > I have a Rails 2.0.2 project that is utilizing engines. The bulk of the code (models and stable controllers) are in the vendor/plugin/engine_name/app directory under their respective directories (e.g. the "controllers" directory contains controllers, "models" contains models, ...). > > > > NetBeans doesn't scan these libraries to find any of the code, and as a result, the auto complete feature doesn't point to any of the methods and classes located there. > > > > Is there a way to specify additional directories for the auto complete functionality to scan? > > > > Also, while we're at it, can this serve as a feature request for NetBeans to automatically scan everything in the plugins directory so the auto complete can be a bit more helpful? > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Additional Path(s) for Autocomplete to ScanThis is exactly what I needed. It works perfectly! Thank you so much. It'll make it so much easier now that I can just command-click the method names and classes and don't have to do a search project for every symbol that's in the in the engine. May I suggest a checkbox in the Miscellaneous -> Ruby tab of the preferences that toggles this feature. Much like the "Enable Extended Type Interference" options? For me the scanning step of the initial IDE startup took a bit longer than usual, but this is completely understandable, since all directories in the plugins folder are now being scanned. However, a soft warning, much like the one in the above mentioned options ("May be slow"), would suffice, I think. Thanks again! --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |