kelemen / netbeans-gradle-project

This project is a NetBeans plugin able to open Gradle based Java projects. The implementation is based on Geertjan Wielenga's plugin.
172 stars 57 forks source link

quick opener doesnt work with gradle project #312

Closed svatos-jirka closed 7 years ago

svatos-jirka commented 7 years ago

Hi,

I used nice plugin https://github.com/dzsessona/QuickOpener-NetBeans. But the plugin doesnt work for gradle project. I think, that it is caused missing instance of DataObject in lookup.

Could you help?

From QuicOpener-NetBeans plugin?

@Override protected boolean enable(Node[] activatedNodes) { file = null; if (null != activatedNodes && activatedNodes.length == 1) {

        file = PathFinder.getActiveFile(activatedNodes[0].getLookup().lookup(DataObject.class), false);

//file is NULL } return null != file; }

kelemen commented 7 years ago

I'll see what that plugin does and will try to make an adjustment for interoperability.

kelemen commented 7 years ago

Should be fixed in master. You can try if it works for you by building the project yourself (it should build out-of-the-box).

svatos-jirka commented 7 years ago

Thanks!