tusharjoshi / netbeans-php-drupal

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

Netbeans 7.4RC2 not work #31

Open stefanocallegari opened 11 years ago

stefanocallegari commented 11 years ago

Hi,

I have installed DrupalDevel following the instructions and after I have restarted NB I have seen a new icon "Drupal 6" in the toolbar but it did noting.

But worst, neither Tools->Options nor Tools->Plugins windows have opened itself.

I had to remove the modules by hand.

My system:

Thanks

Stefano

HollyIT commented 11 years ago

The icon on the toolbar is for the search box next to it (which searches api.drupal.org). You need to enable the API windows under Windows->Drupal->API and Drush window in the same place. You also need to set the Drush paths in Tools->Options click the PHP section then the Drupal tab.

I just tested 7.4-RC2 on Mint 14 running OpenJDK 7.0 (7u25-2.3.10-1ubuntu0.12.10.2) and everything works as it's supposed to.

stefanocallegari commented 11 years ago

Il Thu, Oct 03, 2013 at 07:29:00AM -0700, Jamie Holly scrisse:

Thanks.

The icon on the toolbar is for the search box next to it (which searches api.drupal.org). You need to enable the API windows under Windows->Drupal->API and Drush window in the same place. You also need to

Hmmm.... I don't see how activate the API.

I see under Windows the Drupal item and under it API and Drush (that I haven't installed).

If I enter in API it open a window with a list of hooks and themes: is it enought?

set the Drush paths in Tools->Options click the PHP section then the Drupal tab.

My problem is here: Options can't open so I can't configure your plug-in.

When I try, I have this error: "Unexpected Exception" and "org.openide.NotifyDescriptor.isNoDefaultClose()Z" on almost all items under Tools and the Drupal item disappears.

I just tested 7.4-RC2 on Mint 14 running OpenJDK 7.0 (7u25-2.3.10-1ubuntu0.12.10.2) and everything works as it's supposed to.

So like me more o less...

Bye

Assistenza Stefano Callegari Via del Donatore, 33 - I35010 Campodoro (PD) +39 339 649 7593

HollyIT commented 11 years ago

That's it. The API window opens under the file explorer (by default). Once you open a registered .php file, then it will populate with the hooks for that version of Drupal. There are screenshots under Help->Help Contents->Drupal

stefanocallegari commented 11 years ago

Il Thu, Oct 03, 2013 at 08:37:21AM -0700, Jamie Holly scrisse:

That's it. The API window opens under the file explorer (by default). Once you open a registered .php file, then it will populate with the hooks for that version of Drupal. There are screenshots under Help->Help Contents->Drupal

I'm Sorry, what you means "That's it"?

I understand how the plug-in should work, but on my Netbeans it gives the error in previous mail when I try to enter in Tool->Options, Tool->Plugin, Tool->Python Platform, Tool->Ant Variables, Tool->Libraries, Tool->Templates, Tools->DTDs and XML Schemas and Tools->Palette->Code Clips and all these don't open their windows, so I can't configure the whole netbeans.

If I open a drupal module and select a hook from the API list, in the code I get

/**

}

Also the project proprieties doesn't open.

So I think that something is wrong.

May be I need Drush installed?

Do I miss other plug-ins?

During installation, it has required Core-Windows and Native Access.

Do you need more help?

Thanks

Assistenza Stefano Callegari Via del Donatore, 33 - I35010 Campodoro (PD) +39 339 649 7593

HollyIT commented 10 years ago

Looks like this was just hitting Drupal 6 code templates. I rebuilt the templates and have them committed. You can either download the updated NBM and install that, or copy the code template files to your NetBeans installation directory ({netbeans_directory}/DrupalDevel/code). Here's the code files:

https://github.com/HollyIT/NBDrupalDevel/tree/master/release/DrupalDevel/code

stefanocallegari commented 10 years ago

Il mer, ott 09, 2013 at 09:47:45 -0700, Jamie Holly scrisse:

Hi,

Looks like this was just hitting Drupal 6 code templates. I rebuilt the templates and have them committed. You can either download the updated NBM and install that, or copy the code template files to your NetBeans installation directory ({netbeans_directory}/DrupalDevel/code). Here's the code files:

I have installed the last .NBM.

It seems to work well, but to change from D7 to D6 and vice versa I must enter in Tools -> Options -> PHP -> Drupal and set the default version.

In the doc (http://www.hollyit.net/documentation/drupal-development-tool-netbeans/using-code-generation) I see a popup with a selector for the version: I don't see this but opens directly a tree list of the hooks.

There should be the popup?

Missing something?

https://github.com/HollyIT/NBDrupalDevel/tree/master/release/DrupalDevel/code

Thanks

Assistenza Stefano Callegari Via del Donatore, 33 - I35010 Campodoro (PD) +39 339 649 7593

HollyIT commented 10 years ago

There's no more popups. You set the default version of Drupal in Tools->Options->PHP then can set different version per project by right clicking the project in the project explorer, going to properties and the Drupal category.

The instructions on the website are old. The more up to date instructions are included with the tool under Netbeans help.

stefanocallegari commented 10 years ago

Il mer, ott 16, 2013 at 06:32:10 -0700, Jamie Holly scrisse:

There's no more popups. You set the default version of Drupal in Tools->Options->PHP then can set different version per project by right clicking the project in the project explorer, going to properties and the Drupal category.

The instructions on the website are old. The more up to date instructions are included with the tool under Netbeans help.

Thanks. I have configured the version for every projects.

From now, I'll try your plug-in :)

Assistenza Stefano Callegari Via del Donatore, 33 - I35010 Campodoro (PD) +39 339 649 7593