Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not index anything in 8.1 #46

Closed
unikitty37 opened this issue Apr 29, 2016 · 7 comments
Closed

Does not index anything in 8.1 #46

unikitty37 opened this issue Apr 29, 2016 · 7 comments
Labels
Milestone

Comments

@unikitty37
Copy link

Version 1.2 worked perfectly with NB 8.0.2. Since updating to 1.3.0.5 and NB 8.1, I have been unable to match any file, regardless of what pattern I type.

Regardless of the size of the project, clicking the Reindex button produces the "indexing project files" spinner for only the briefest fraction of a second. It appears as if it is not actually doing anything.

This is in the UI log at startup:

WARNING [org.netbeans.core.modules]: had to upgrade dependencies for module net.sickill.off: added = [module org.netbeans.modules.projectuiapi.base/1 > 1.78.0, module org.netbeans.api.templates > 1.0, module org.openide.util.ui > 9.3, module org.openide.filesystems.nb, module org.openide.filesystems.compat8, module org.netbeans.modules.editor.document > 1.0] removed = []; details: [#243100: Separate desktop-independent utilities, Separate projectuiapi into desktop and NetBeans independent and dependent parts, Separation of Parsing and Indexing APIs, Separation of desktop and cleanup, Templates API has been separated into its own module.]

and when I switch project in the OFF window I get this:

INFO [net.sickill.off.netbeans.NetbeansProject]: [OFF] ImportWorker started...
INFO [net.sickill.off.netbeans.NetbeansProject]: [OFF] SourceGroups: [/home/johny/repos/common, /home/johny/NetBeansProjects/common]
INFO [net.sickill.off.common.OffListModel]: [OFF] refiltering model
INFO [net.sickill.off.netbeans.NetbeansProject]: [OFF] ImportWorker finished.

but still no files match.

The settings for 8.1 were automatically imported from 8.0.2, if that makes a difference (but I have uninstalled and reinstalled the plugin multiple times, including from a manual download of the .nbm file — I assume this would clear the prefs and any cached data.)

Do you have any idea what the problem is? I've had to revert to NB 8.0.2 just to get some work done…

@markiewb
Copy link
Collaborator

markiewb commented May 1, 2016

@TinyClanger: There is no need to switch back to NB 8.0.2. 1.2 is compatible to 8.1 too. Get it here https://github.com/sickill/off-plugin/releases/download/v1.2/off-netbeans-1.2.nbm

I assume this would clear the prefs and any cached data.

No such plugin specific feature is implemented. Start with a clean/new userdir if you want the default configuration.

This is in the UI log at startup:

Nothing serious. Filed as #47

I have been unable to match any file

INFO [net.sickill.off.netbeans.NetbeansProject]: [OFF] SourceGroups: [/home/johny/repos/common, /home/johny/NetBeansProjects/common]
looks strange. Which project type are you using? Can you provide such a sample project?

@unikitty37
Copy link
Author

The project is a PHP project, created from existing sources. The PHP files are in /home/johny/repos/common, but the actual nbproject folder is saved in /home/johny/NetBeansProjects/common.

grab1

I've attached a copy of the project: common.zip

@markiewb markiewb added the bug label May 3, 2016
@markiewb markiewb added this to the 1.3.1 milestone May 3, 2016
markiewb added a commit that referenced this issue May 3, 2016
…re the source dir was not within the project dir (use source roots for filtering instead)
@markiewb
Copy link
Collaborator

markiewb commented May 3, 2016

@TinyClanger : Please try https://github.com/sickill/off-plugin/releases/tag/v1.3.1.0-SN and give me feedback

@unikitty37
Copy link
Author

That's working now — thanks!

@markiewb
Copy link
Collaborator

markiewb commented May 5, 2016

@Chris2011: Can you please also try the new version https://github.com/sickill/off-plugin/releases/tag/v1.3.1.0-SN ? If it still works for your use cases, I will release and publish the version

@markiewb
Copy link
Collaborator

Hopefully it works better. I will release and publish it now.

@Chris2011
Copy link
Collaborator

Sry, didn't have time to test. Will test the new release soon. Thx. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants