tusharjoshi / netbeans-php-drupal

Netbeans Drupal Development Tool
Apache License 2.0
107 stars 14 forks source link

Wrong theme function inserted from click in API tree window #16

Closed daij closed 12 years ago

daij commented 12 years ago

I'm using Netbeans 7.0.1 on OSX 10.7.2 and everything seems to be working, except whenever i click any function under the "themes" category in the api tree window, the very first "themes" function is always inserted in my open file. So whichever "themes" function i click, the "xxx_preprocess_aggregator_feed_source" function is always the one that gets inserted.

It works perfectly with any function in the "hooks" category.

Also, none of the functions in the "themes" category have any help available.

Tried uninstalling and reinstalling the latest version of the module, but no change.

EDIT: I am using Drupal 7.

HollyIT commented 12 years ago

Looks like the template parser created the templates that way. I'll get the parser fixed and should have an update out within the next couple of days.

HollyIT commented 12 years ago

I just updated the tool with fixed theme templates. You can either install the new NBM or go over to downloads, download the new template file and extract it to ${HOME}/.netbeans/{version}/DrupalDevel and restart Netbeans.

This only did affect Drupal 7. I checked the D6 templates and they all seem ok.

daij commented 12 years ago

Thank you for the quick solution! I removed the old version and installed the new and everything seems to be working fine now.