Giter Site home page Giter Site logo

ajermakovics / eclipse-instasearch Goto Github PK

View Code? Open in Web Editor NEW
170.0 22.0 49.0 342 KB

Eclipse plug-in for fast code search

Home Page: http://marketplace.eclipse.org/content/instasearch

License: Eclipse Public License 2.0

HTML 3.71% Java 96.29%
eclipse search lucene java eclipse-plugin

eclipse-instasearch's Introduction

InstaSearch - Eclipse plug-in for quick code search

InstaSearch is an Eclipse IDE plug-in for performing quick and advanced search of workspace files. It indexes files using Lucene and keeps the index up to date automatically. The search is performed instantly as-you-type and resulting files are displayed in an Eclipse view.

Each file then can be previewed using few most matching and relevant lines. A double-click on the match leads to the matching line in the file.

Download / Installation

In Eclipse please install using the Eclipse Marketplace from the Help menu (how-to)

Alternatively you can install using the update site https://dl.bintray.com/ajermakovics/InstaSearch/

Java 1.7 or newer is required

(Add to favorites on Eclipse Marketplace.)

Use

Once InstaSearch is successfully installed, you'll see a nice little "InstaSearch" search tab appear at the bottom:

Screenshot

You can also click the Search menu option at the top --> InstaSearch...

Main Features

  • Instantly shows search results
  • Shows a preview using relevant lines
  • Periodically updates the index
  • Matches partial words (e.g. case in CamelCase)
  • Opens and highlights matches in files
  • Searches JAR source attachments
  • Supports filtering by extension/project/working set

Screenshot

Search Tips

Lucene query syntax can be used for searching. This includes:

  • Wildcard searches
    • app* initialize
  • Excluding words
    • application -initialize
  • Fuzzy searches to find similar matches
    • application init~
  • Limit by location - directory, projects or working set
    • proj:MyProject,OtherProject application init
    • ws:MyWorkingSet dir:src init
  • Limit by filename, extension or modification time
    • name:app* ext:java,xml,txt modified:yesterday
  • Search by file name initials (e.g. FOS to find FileOutputStream.java)
    • name:FOS

To exclude some folders from search indexing, mark them as Derived in the folder's properties. There are also useful Eclipse Search Tips.

Note: Fuzzy search is started automatically if no exact matches are found

Building and Developing

Build using Maven from project root:

mvn install

To develop you will need Eclipse (3.7+) with Plug-In Development Environment (PDE) installed:

  • Use File -> Import -> Existing Projects to import all instasearch projects
  • To run or debug right click on 'instasearch' project and select Run As -> Eclipse Application

To use the plug-in in existing Eclipse installation do:

  • Right click on instasearch project, Export -> Deployable plug-ins
  • Choose an existing Eclipse installation directory. Restart

Authors/Contributors

Author: Andrejs Jermakovics

Contributors: Holger Voormann, solganik, on github

Contributions are very welcome so feel free to get in touch or create a pull request.

Acknowledgements

YourKit is supporting InstaSearch open source project with its full-featured Java Profiler.
YourKit, LLC is the creator of innovative and intelligent tools for profiling
Java and .NET applications. Take a look at YourKit's leading software products:
YourKit Java Profiler and YourKit .NET Profiler.

with-Eclipse logo

eclipse-instasearch's People

Contributors

adrouin avatar ajermakovics avatar chkpnt avatar derbylock avatar electricrcaircraftguy avatar fabrizioiannetti avatar jlleitschuh avatar odulkanberoglu avatar zaerald avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eclipse-instasearch's Issues

Cannot install into Windriver Workbench (org.apache.commons.lang could not be found)

When trying to install instasearch from the update site into the Eclipse based WindRiver Workbench 3.3 I get the following error:

Cannot complete the install because one or more required items could not be found.
Software being installed: InstaSearch 1.5.6 (it.unibz.instasearch.feature.indigo.feature.group 1.5.6)
Missing requirement: InstaSearch 1.5.6 (it.unibz.instasearch.feature.indigo.feature.group 1.5.6) requires 'org.apache.commons.lang 0.0.0' but it could not be found

I've googled a bit and it seems that in most caes the apache commons lang jar is distributed with the plugins that need it.

Underscore still splits when combined with an additional NOT term

Searching for FOO_BAR returns only matches with FOO_BAR in the document as expected.

Searching for FOO_BAR -baz, "FOO_BAR" -baz or "FOO_BAR" NOT "baz" returns documents with either foo or bar, and not containing baz.

Using the latest version of Instasearch for 3.7 from Eclipse Marketplace.

Modified filter - How to use ?

First of all , Thank you for such a great tool.

After I installed , I tried to test all the options. And I found , no matter what I type , When I use - Modified filter , no results is getting displayed in my window.

Can you please guide me. I dont know whether is it not working or I dont know how to use this filter - Modified :(

All other filters - projects , extensions - Thanks :) Fine

Regex search not working, not supported?

I am doing a search for this cl*ss. I would expect that this would match a cl, then any number of chars and then ss. The results do not reflect this. I can't quite interpret why some matches are returned. For example, in this file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">

    <context:annotation-config />
    <context:spring-configured/>

    <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
        <property name="transactionManager">
            <bean id="jotm" class="org.springframework.data.neo4j.transaction.JotmFactoryBean"/>
        </property>
    </bean>

    <bean class="org.neo4j.test.ImpermanentGraphDatabase" destroy-method="shutdown">
        <constructor-arg>
            <map>
               <entry key="tx_manager_impl" value="spring-jta"/>
            </map>
        </constructor-arg>
    </bean>

    <tx:annotation-driven mode="aspectj" transaction-manager="transactionManager"/>
</beans

There are matches on lines 6, 7, 8, and 13. But clicking on any of these matches only takes me to the first line of the file.

Indexing jar source attachments

It seems that not all text resources from jar source attachments are indexed. If some text resource is placed at java package it doesn't indexed.

I check searching content of xml files that are inside jar source attachments. I find out that search works only if that xml is placed out of java packages (i.e. in root of jar or in special directory like META-INF).

Is it possible to index all resources inside jar source attachments no matter where they are located?

Can't run plugin in Helios

It's installed normally but I can't open instasearch view or instasearch preferences.

In osgi console something strange

plugin-fail

I don't understand why because I see all lucen jars in eclipse\plugins folder

What's wrong?

Provide a way to do exact matches

Maybe I missed something here, but, is there a way to do exact matches with InstaSearch? (I searched the page: http://code.inf.unibz.it/projects/instasearch/ and didn't find any reference on how to do that).

For that, there are 2 things:

  1. Case-matching

I.e.: if I have a search for "profile", I don't want it to match "Profile".

  1. Match only whole words

I.e.: searching for "profile" I don't want it to find "doProfile" or "profileMe"... sort of what a "\bprofile\b" regexp would do.

I think both of those could be additional options in the search view (close to what the extension filter does), but without it I think the use of InstaSearch becomes very limited.

Missing replace/replace all

Note that I only think this is worth after exact matches is done (#24), but when searching, one of the main things is finding a name for replace, and I think the use of the plugin is very limited without a way to actually make replaces with the found matches.

Update Site Network Down

As titled.
Please fix it as i was unable to install from the site stated above in Eclipse.
Thank you.

Make instasearch mercurial and git aware

Currently instasearch can be configured to periodiacally rescan your workspace. This works well in many cases, but it breaks apart if you use a modern version control system such as mercurial or git which makes it very easy to update (or checkout) different revisions of your code, potentially changing a lot of files in the process.

It would be very nice if instasearch were mercurial and git aware. What I mean by that is that it should detect that the working directory is now pointing to a different revision and in that case it should know that it must rescan the corresponding project. Since checking whether the current revision has changed is very fast in both mercurial (hg id) and git (git log -1 --format="%H") this check could be performed often, and when a change was detected a rescan could be triggered.

Resource out of sync exception while indexing

org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/some.file'.
at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:699)
at org.eclipse.core.internal.resources.File.getContents(File.java:293)
at org.eclipse.core.internal.resources.File.getContents(File.java:282)
at it.unibz.instasearch.indexing.StorageIndexer.indexStorage(StorageIndexer.java:196)
at it.unibz.instasearch.indexing.StorageIndexer$2.run(StorageIndexer.java:270)
at it.unibz.instasearch.indexing.StorageIndexer.runRetryingRunnable(StorageIndexer.java:223)
at it.unibz.instasearch.indexing.StorageIndexer.indexStorageWithRetry(StorageIndexer.java:291)
at it.unibz.instasearch.indexing.WorkspaceIndexer.indexFile(WorkspaceIndexer.java:237)
at it.unibz.instasearch.indexing.WorkspaceIndexer.indexContainer(WorkspaceIndexer.java:363)
at it.unibz.instasearch.indexing.WorkspaceIndexer.indexContainers(WorkspaceIndexer.java:132)
at it.unibz.instasearch.indexing.WorkspaceIndexerJDT.indexContainers(WorkspaceIndexerJDT.java:67)
at it.unibz.instasearch.indexing.WorkspaceIndexer.createIndex(WorkspaceIndexer.java:96)
at it.unibz.instasearch.jobs.IndexingJob.runInWorkspace(IndexingJob.java:44)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Device is disposed error in ADT Bundle (Eclipse 4.2.2)

Instasearch View is not opened, however plugin produces Eclipse Error.

eclipse.buildId=v22.3.0-887826
java.version=1.7.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -product com.android.ide.eclipse.adt.package.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.android.ide.eclipse.adt.package.product

Error
Thu Feb 13 16:47:50 CST 2014
Device is disposed

org.eclipse.swt.SWTException: Device is disposed
    at org.eclipse.swt.SWT.error(SWT.java:4361)
    at org.eclipse.swt.SWT.error(SWT.java:4276)
    at org.eclipse.swt.SWT.error(SWT.java:4247)
    at org.eclipse.swt.widgets.Display.error(Display.java:1258)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4684)
    at it.unibz.instasearch.jobs.IndexUpdateJob.runInWorkspace(IndexUpdateJob.java:204)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

extension searching no longer supported

When trying to do a search by typing something like

test ext:*

We get the following error

java.lang.UnsupportedOperationException
at org.apache.lucene.search.Query.extractTerms(Query.java:170)
at org.apache.lucene.search.BooleanQuery.extractTerms(BooleanQuery.java:455)
at it.unibz.instasearch.indexing.Searcher.convertToPhraseQuery(Searcher.java:420)
at it.unibz.instasearch.indexing.Searcher.createExactQuery(Searcher.java:398)
at it.unibz.instasearch.indexing.Searcher.parseSearchQuery(Searcher.java:363)
at it.unibz.instasearch.indexing.Searcher.searchIndex(Searcher.java:130)
at it.unibz.instasearch.indexing.Searcher.search(Searcher.java:228)
at it.unibz.instasearch.ui.ResultContentProvider.getElements(ResultContentProvider.java:120)
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:1010)
at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1351)
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:391)
at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:917)
at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:620)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:820)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:797)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:644)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:768)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1548)
at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:833)
at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1532)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404)
at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1525)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:280)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1690)
at it.unibz.instasearch.ui.SearchJob.search(SearchJob.java:107)
at it.unibz.instasearch.ui.SearchJob.access$1(SearchJob.java:104)
at it.unibz.instasearch.ui.SearchJob$2.run(SearchJob.java:97)
at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

eclipse.buildId=M20120914-1800
java.version=1.7.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product

Rebuilding the index

Hello,

I have a problem and don't know how to fix it.
I am using this plugin for a huge project (more than 6000 .C files) and this plugin does not work, any text I enter it only searches in .project and .cproject files. I changed the list of extension of files to be included in the indexing, and an information text is appeared "Rebuilding of index is recommended" but I don't know how to rebuild the index, I can't find option for that, and the Instasearch continues searching only in .project and .cproject files.
I am using:

  • Eclipse IDE for C/C++ Developers
    Version: Indigo Service Release 2
    Build id: 20120216-1857
  • InstaSearch for Eclipse 3.7 Indigo version 1.3.2
  • All files are imported in the project with links (although I think this is not a problem because I created a small project doing the same and it worked).

I don't know if this is a problem or I do something wrong. I would appreciate your help.

Thank you in advance,
Arthur.

Issue after upgrading instasearch to 1.5

Yesterday I updated instasearch to 1.5 on Eclipse 4.2(Juno) and its failing with below.
I have already tried uninstalling and doing a fresh install but to no avail.

org.eclipse.core.runtime.CoreException: Plug-in it.unibz.instasearch was unable to load class it.unibz.instasearch.ui.InstaSearchView.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:62)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:112)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPart(CompatibilityPart.java:249)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:286)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:859)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:839)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:319)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:240)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:896)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:630)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderingEngine.java:518)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:503)
at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:74)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:896)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:630)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:732)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:703)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:697)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:682)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1114)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:98)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:646)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:732)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:703)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:697)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:682)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:59)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:642)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:732)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:703)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:697)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:682)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:59)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:642)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:732)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:703)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:697)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:682)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:59)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java:59)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:642)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:732)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:703)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:697)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:682)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(PerspectiveStackRenderer.java:103)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:98)
at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.postProcess(PerspectiveStackRenderer.java:77)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:646)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:732)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:703)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:697)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:682)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:59)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:642)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:732)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:703)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:697)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:682)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:59)
at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:639)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:642)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:732)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:703)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:697)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:682)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:968)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle it.unibz.instasearch (1165).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:273)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:269)
at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2402)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.osgi.framework.BundleException: Exception in it.unibz.instasearch.InstaSearchPlugin.start() of bundle it.unibz.instasearch.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
... 23 more
Caused by: java.lang.Error: Unresolved compilation problem:
The method getBoolPref(String) of type new Searcher.SearcherConfig(){} must override a superclass method

at it.unibz.instasearch.InstaSearch$1.getBoolPref(InstaSearch.java:153)
at it.unibz.instasearch.indexing.Searcher.initPrefs(Searcher.java:492)
at it.unibz.instasearch.indexing.Searcher.<init>(Searcher.java:110)
at it.unibz.instasearch.InstaSearch.<init>(InstaSearch.java:53)
at it.unibz.instasearch.InstaSearchPlugin.start(InstaSearchPlugin.java:76)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 29 more

Hitting ENTER should expand all found items

Currently instasearch shows a list of files containing the terms you searched, but the files are "collapsed" by default. It would be nice if hitting ENTER would expand all found items.
Alternatively there could be an option or setting to always expand the results automatically.

Juno "Quick Access" like instant search box on toolbar

it would be nice if there would be a "Instant Search" box on the toolbar, just like the "Quick Access" box of Eclipse Juno and Kepler, see attached image.

this would help us to use the instant search more effectively and productively.

thanks
juno_quick_access

Start search using selected text

Eclipse has a default keybord shortcut thats called "Find Text in Workspace" which has Ctrl+Alt+G, which immediately starts a search for is currently selected. This but for Instasearch would be tremendeously useful.

Feature Request: Exact match search

There ought to be a way to force exact matches only rather than falling back to fuzzy search.

Use Case Example: Re-factoring sting constants that hold CSS class names out of code files.
Project Type: Java / Google Web Toolkit (HTML / CSS / javascript)

I need to quickly search for all exact-match instances of a specific hard-coded CSS class name string in order to replace those string constants with a reference to a global static variable. The strings may contain non-alphanumeric characters such as hyphens and underscores which also need to be matched exactly.

Your extension does search the large project very quickly, for which I am grateful, but it matches items which don't match the search string. For example, searching "sidebar_widget_body" returns results for class names like "SidebarWidget" as well as even less exact matches. Fuzzy matching is great in many ways, but there should be a toggle to disable it!

Thanks,
-DaemonF

Exact search misses results

I totally love the speed of this plugin. InstaSearch is a good name!

However, I can't get exact search to work properly. Is it supposed to find phrases with spaces, if they are enclosed in quotes? For instance "new MethodClassifier" does not find anything, even though there are lots of matches in the editor I have open.

screenshot

Instasearch does not work in Eclipse Juno (3.8/4.2)

eclipse.buildId=I20120608-1400
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product --launcher.XXMaxPermSize=256m
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product -debug /home/hafner/Documents/eclipse.debug -data /home/hafner/Workspaces/Jenkins --launcher.XXMaxPermSize=256m

Warning
Wed Jun 27 11:07:45 CEST 2012
Bundle it.unibz.instasearch_1.3.3 [931] was not resolved.

Hyphenated words

I use a programming language that utilizes hyphenated table, field, variable and keyword names. Is there any way to aquire unique matches from InstaSearch when hyphens are present? For example, how can I search for instances of "cust-num" and only get unique matches? Currently results with both "cust" and "num" are returned. Thanks!

Eclipse 3.6 support

The Eclipse 3.6 (Helios) version no longer shows as an install option from the update site or marketplace. The current version will not install on 3.6. Is Eclipse 3.6 still supported?

Cannot delete old index file

java.io.IOException: Cannot delete P:.metadata.plugins\it.unibz.instasearch\searchindex_0.cfs
at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:573)
at it.unibz.instasearch.indexing.StorageIndexer$1.run(StorageIndexer.java:142)
at it.unibz.instasearch.indexing.StorageIndexer.runRetryingRunnable(StorageIndexer.java:226)
at it.unibz.instasearch.indexing.StorageIndexer.deleteIndex(StorageIndexer.java:155)
at it.unibz.instasearch.indexing.WorkspaceIndexer.createIndex(WorkspaceIndexer.java:93)
at it.unibz.instasearch.jobs.IndexingJob.runInWorkspace(IndexingJob.java:44)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Instasearch crashing / hanging Eclipse Juno on Mac OSX 10.8.4

Since upgrading to the latest version, the plugin crashes several times a day. In cases where Eclipse does not become completely unresponsive, it will display a message such as the following: instasearch An internal error occurred during: "Search". Java heap space.

The other (possible?) factor is that I am using git and SourceTree to switch branches, so curious if that confuses the situation for instasearch.

If there's additional key information I can provide about my environment, please let me know. I've come to rely on Instasearch as a critical cornerstone for my development and productivity, and have not been able to find anything to replace it.

Exact searches problem

There still seem to be problems with exact searches, e.g search for: "A_B()".
Typing "A_B()" in instasearch gives the following (wrong) results:

A B
a_b
A
B

I know this was an issue in version 1.0, but it seems to be back (ver. 1.32).

Shortcut to search selected text

I ma not sure if it exists, but I didn't find it anywhere.

It would be very convenient to have a shortcut that directly searches for the selected text.

Greetings
Paolo

Can't install in Eclipse 3.6

Don't have the Marketplace plugin, tried to install from update site (http://code.inf.unibz.it/instasearch/downloads).

Error below:

Cannot complete the install because one or more required items could not be found.
Software being installed: InstaSearch 1.5.5 (it.unibz.instasearch.feature.indigo.feature.group 1.5.5)
Missing requirement: InstaSearch 1.5.5 (it.unibz.instasearch 1.5.5) requires 'bundle org.eclipse.ui 3.7.0' but it could not be found
Cannot satisfy dependency:
From: InstaSearch 1.5.5 (it.unibz.instasearch.feature.indigo.feature.group 1.5.5)
To: it.unibz.instasearch [1.5.5]

Any workaround for this?

only search in open file instead of all files

I am using Instasearch on Eclipse: Indigo Service Release 2
Build id: 20120216-1857. It used to work correctly until recently. Suddenly it stops searching on all files. It will only search the text in currently open file.

Thanks in advance for your help.

Index files in jar dependencies

Hello.

I'm not sure about what realy does the "index jar source attachements" feature...

My need is the ability to index also files in jars (any dependencies in the buildpath in fact) (like intellij does with resource search) even if there is no source attachements (xml,properties from jars...)

I'm opened to contribute if needed/wanted.

Cheers.

Jonathan

Search History

It will be a great add on the plugin if it had search history as the default search engine has.

Make reindex option more prominent

Right now it's a button on the instasearch window. It is not immediatelly obvious what it does, and I had to find this issue tracker, find an old issue and only then was I able to find it.

I suggest making it more prominent (perhaps context menu when you right click on the project, somewhere in project settings, or somewhere in preferences.

Also perhaps cleaning a project or rebuilding a project should reindex it.

UTF-8 support?

Can not search chinese or displaying chinese in the result list.

Searching chinese is not really much a thing but displaying UTF-8 in the search result would be good.

java.lang.IllegalArgumentException: null source

Just install fresh Eclipse IDE for Java EE Developers (eclipse-jee-juno-SR2-win32.zip), than install instasearch plugun using update site - http://code.inf.unibz.it/instasearch/downloads/

After eclipse restarts I've got 2 IllegalArgumentExceptions. When I try to change any setting @ Preferences - > General -> Search -> InstaSearch I get them too.

InstaSearch version - 1.5.2

Here is info from '.log' file:

!SESSION 2013-05-24 12:17:32.592 -----------------------------------------------
eclipse.buildId=M20130204-1200
java.version=1.6.0_45
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.ui.workbench 4 2 2013-05-24 12:17:46.699
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.IllegalArgumentException: null source
at java.util.EventObject.(EventObject.java:38)
at java.util.prefs.PreferenceChangeEvent.(PreferenceChangeEvent.java:54)
at it.unibz.instasearch.prefs.PreferenceChangeDelegate.propertyChange(PreferenceChangeDelegate.java:20)
at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372)
at org.eclipse.ui.preferences.ScopedPreferenceStore$2.preferenceChange(ScopedPreferenceStore.java:194)
at org.eclipse.core.internal.preferences.EclipsePreferences$3.run(EclipsePreferences.java:889)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(EclipsePreferences.java:892)
at org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:905)
at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:789)
at it.unibz.instasearch.InstaSearch.(InstaSearch.java:61)
at it.unibz.instasearch.InstaSearchPlugin.start(InstaSearchPlugin.java:76)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:273)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:269)
at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2412)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

!ENTRY org.eclipse.ui.workbench 4 2 2013-05-24 12:17:46.759
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.IllegalArgumentException: null source
at java.util.EventObject.(EventObject.java:38)
at java.util.prefs.PreferenceChangeEvent.(PreferenceChangeEvent.java:54)
at it.unibz.instasearch.prefs.PreferenceChangeDelegate.propertyChange(PreferenceChangeDelegate.java:20)
at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372)
at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:813)
at it.unibz.instasearch.InstaSearchStartup.earlyStartup(InstaSearchStartup.java:33)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2412)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

!ENTRY org.eclipse.ui.workbench 4 2 2013-05-24 12:27:20.553
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.IllegalArgumentException: null source
at java.util.EventObject.(EventObject.java:38)
at java.util.prefs.PreferenceChangeEvent.(PreferenceChangeEvent.java:54)
at it.unibz.instasearch.prefs.PreferenceChangeDelegate.propertyChange(PreferenceChangeDelegate.java:20)
at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372)
at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:813)
at org.eclipse.jface.preference.BooleanFieldEditor.doStore(BooleanFieldEditor.java:178)
at org.eclipse.jface.preference.FieldEditor.store(FieldEditor.java:680)
at org.eclipse.jface.preference.FieldEditorPreferencePage.performOk(FieldEditorPreferencePage.java:343)
at it.unibz.instasearch.prefs.InstaSearchPreferencePage.performOk(InstaSearchPreferencePage.java:134)
at org.eclipse.jface.preference.PreferencePage.performApply(PreferencePage.java:432)
at org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferencePage.java:281)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

Search using a Working Set filter - does not work

Hello,
I am using version 1.5.2 on the latest Eclipse IDE (Juno SP2). Without using any filter - the search seems to work . Trying to use the pre-defined Wroking set - result in 0 results.
My project has folders, all linked to locations on my HD.
See screenshots:
http://www.imagebam.com/remove/260000034/00921848e83b7d73d54c17dc1d338e89
http://www.imagebam.com/remove/260000038/49f32ea210cd3c09a2c29bf82278efe9
http://www.imagebam.com/remove/260000039/a57f6ca1f8d877ddb7c2e176efa2ab03

Any help ? Tips?

Error in Eclipse Error Log: "Index: 394, Size: 7"

I've started getting this error on Eclipse startup:

java.lang.IndexOutOfBoundsException: Index: 394, Size: 7
at java.util.ArrayList.rangeCheck(ArrayList.java:571)
at java.util.ArrayList.get(ArrayList.java:349)
at org.apache.lucene.index.FieldInfos.fieldInfo(FieldInfos.java:288)
at org.apache.lucene.index.FieldInfos.fieldName(FieldInfos.java:277)
at org.apache.lucene.index.TermBuffer.read(TermBuffer.java:86)
at org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:129)
at org.apache.lucene.index.SegmentMergeInfo.next(SegmentMergeInfo.java:69)
at org.apache.lucene.index.DirectoryReader$MultiTermEnum.next(DirectoryReader.java:994)
at org.apache.lucene.search.FilteredTermEnum.next(FilteredTermEnum.java:75)
at org.apache.lucene.search.FilteredTermEnum.setEnum(FilteredTermEnum.java:56)
at org.apache.lucene.search.WildcardTermEnum.<init>(WildcardTermEnum.java:67)
at org.apache.lucene.search.WildcardQuery.getEnum(WildcardQuery.java:49)
at org.apache.lucene.search.MultiTermQuery$ConstantScoreAutoRewrite.rewrite(MultiTermQuery.java:227)
at org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:382)
at org.apache.lucene.search.WildcardQuery.rewrite(WildcardQuery.java:63)
at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:438)
at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:438)
at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:438)
at it.unibz.instasearch.indexing.Searcher.parseSearchQuery(Searcher.java:370)
at it.unibz.instasearch.indexing.Searcher.searchIndex(Searcher.java:118)
at it.unibz.instasearch.indexing.Searcher.search(Searcher.java:224)
at it.unibz.instasearch.indexing.Searcher.warmup(Searcher.java:327)
at it.unibz.instasearch.indexing.Searcher.onIndexUpdate(Searcher.java:340)
at it.unibz.instasearch.InstaSearch.<init>(InstaSearch.java:56)
at it.unibz.instasearch.InstaSearchPlugin.start(InstaSearchPlugin.java:73)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:268)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:264)
at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Eclipse 3.7.2, Linux 64 bit, Instasearch 1.3.2

Missing shortcut to go to next match (Ctrl+Dot)

First off, let me say that InstaSearch seems like a really nice project, now, one major think for me is that navigating the results is not very streamlined. It'd be nice if InstaSearch provided a go to next match as the default search results does.

The default binding for that when on the InstaSearch should be Ctrl+. (i.e.: Ctrl+Dot) to match the default behavior from the editor and other views.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.