Find in Path is not working

Answered

I am using RubyMine 2019.3.1 on mac

I am using cmd + shift + F to find in path.

I write the text to find ( in whole project) and there are no results.

I tried <File | Invalidate Caches/Restart.. | Invalidate and Restart >, but no effect.

13 comments
Comment actions Permalink

I tried reinstall but no effect.

keymap Declaration or Usages and Implementation(s) is not working.

0
Comment actions Permalink

Hello,

does it happen in all your projects or only certain ones? Does the search work for another files (in case you create a new file and add some code there)?

0
Comment actions Permalink

all project.

new file has not working.

0
Comment actions Permalink

Would it be possible to check also with a new project? In case the problem persists please attach idea.log (Help - Show log in) You can send it also to rubymine-support@jetbrains.com

0
Comment actions Permalink

ok. i have sent.

0
Comment actions Permalink

Does this issue has fixed?

I have the same issue!

1
Comment actions Permalink

You can try removing .idea folder from the project in question (while IDE is closed) and reopening it in RubyMinem.This is the method provided by Olga Kuvardina

1
Comment actions Permalink

I'm not sure this is a bug or not, but I need to "Invalidate cache and restart" to fix this

3
Comment actions Permalink

I was in a situation where *nothing* could be found using this dialog. It just suddently happened in Intellij 2019.3 .  I went to the dialog box and tried different things. Then what I found is that the Dirctory entry was incorrectly set: it was not in the  Project directory but somewhere under Applications.

I then pasted in the root of the project directory and voila'   Find in Path is working again.

 

 

 

0
Comment actions Permalink

If it can help, I have it too under IJ ultimate EA (2020.2 Beta).

A possible source of the problem is that I copy-pasted an existing folder to create my project. Hower I noticed that typing only the 5 first characters *does work*:

6 does not:

1
Comment actions Permalink

Same here. Just moved to 2020.2 and Find in Path does not display results after the 5th letter.

 

Edit: Seems to be an indexing issue. Invalidating Intellij's caches resolves the issue for now.

 

2020-07-30 09:53:50,827 [87156483] ERROR - llij.ide.plugins.PluginManager - null
java.lang.AssertionError
at com.intellij.util.indexing.containers.IdBitSet.nextSetBit(IdBitSet.java:154)
at com.intellij.util.indexing.containers.IdBitSet.access$100(IdBitSet.java:8)
at com.intellij.util.indexing.containers.IdBitSet$Iterator.<init>(IdBitSet.java:179)
at com.intellij.util.indexing.containers.IdBitSet$Iterator.<init>(IdBitSet.java:178)
at com.intellij.util.indexing.containers.IdBitSet.intIterator(IdBitSet.java:112)
at com.intellij.util.indexing.containers.ChangeBufferingList.intIterator(ChangeBufferingList.java:264)
at com.intellij.util.indexing.impl.ValueContainerImpl.getIntIteratorOutOfFileSetObject(ValueContainerImpl.java:322)
at com.intellij.util.indexing.impl.ValueContainerImpl.access$200(ValueContainerImpl.java:43)
at com.intellij.util.indexing.impl.ValueContainerImpl$1.getInputIdsIterator(ValueContainerImpl.java:187)
at com.intellij.util.indexing.impl.MergedValueContainer$1.getInputIdsIterator(MergedValueContainer.java:32)
at com.intellij.util.indexing.InvertedIndexUtil.collectInputIdsContainingAllKeys(InvertedIndexUtil.java:36)
at com.intellij.util.indexing.FileBasedIndexEx.lambda$collectFileIdsContainingAllKeys$13(FileBasedIndexEx.java:456)
at com.intellij.util.indexing.FileBasedIndexEx.lambda$processExceptions$4(FileBasedIndexEx.java:219)
at com.intellij.util.ConcurrencyUtil.withLock(ConcurrencyUtil.java:228)
at com.intellij.util.indexing.FileBasedIndexEx.lambda$processExceptions$5(FileBasedIndexEx.java:219)
at com.intellij.util.indexing.IndexAccessValidator.validate(IndexAccessValidator.java:43)
at com.intellij.util.indexing.FileBasedIndexEx.processExceptions(FileBasedIndexEx.java:219)
at com.intellij.util.indexing.FileBasedIndexEx.collectFileIdsContainingAllKeys(FileBasedIndexEx.java:459)
at com.intellij.util.indexing.FileBasedIndexEx.processFilesContainingAllKeys(FileBasedIndexEx.java:330)
at com.intellij.util.indexing.FileBasedIndexEx.getFilesWithKey(FileBasedIndexEx.java:339)
at com.intellij.find.impl.IdeaIndexBasedFindInProjectSearchEngine$MyFindInProjectSearcher.lambda$searchForOccurrences$0(IdeaIndexBasedFindInProjectSearchEngine.java:82)
at com.intellij.util.indexing.FileBasedIndex.lambda$ignoreDumbMode$0(FileBasedIndex.java:149)
at com.intellij.util.indexing.FileBasedIndexImpl.ignoreDumbMode(FileBasedIndexImpl.java:650)
at com.intellij.util.indexing.FileBasedIndex.ignoreDumbMode(FileBasedIndex.java:148)
at com.intellij.find.impl.IdeaIndexBasedFindInProjectSearchEngine$MyFindInProjectSearcher.searchForOccurrences(IdeaIndexBasedFindInProjectSearchEngine.java:81)
at com.intellij.find.impl.FindInProjectTask.getFilesForFastWordSearch(FindInProjectTask.java:364)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:498)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$attemptComputation$2(NonBlockingReadActionImpl.java:446)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.attemptComputation(NonBlockingReadActionImpl.java:448)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.executeSynchronously(NonBlockingReadActionImpl.java:401)
at com.intellij.openapi.application.impl.NonBlockingReadActionImpl.executeSynchronously(NonBlockingReadActionImpl.java:181)
at com.intellij.find.impl.FindInProjectTask.findUsages(FindInProjectTask.java:111)
at com.intellij.find.impl.FindInProjectUtil.lambda$findUsages$0(FindInProjectUtil.java:225)
at com.intellij.find.impl.FindInProjectUtil.findUsages(FindInProjectUtil.java:230)
at com.intellij.find.impl.FindInProjectExecutor.findUsages(FindInProjectExecutor.kt:33)
at com.intellij.find.impl.FindPopupPanel$20.performInReadAction(FindPopupPanel.java:1211)
at com.intellij.openapi.progress.util.ReadTask.lambda$runBackgroundProcess$0(ReadTask.java:66)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:869)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
at com.intellij.openapi.progress.util.ReadTask.runBackgroundProcess(ReadTask.java:66)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runUnderProgress$5(ProgressIndicatorUtils.java:260)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:56)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:56)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runUnderProgress(ProgressIndicatorUtils.java:258)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.access$100(ProgressIndicatorUtils.java:45)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils$4.run(ProgressIndicatorUtils.java:208)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)

1
Comment actions Permalink

I also experience this problem.

Check if your content root directory of your project is set. If not, just click "Add Content Root" then set the root directory of your project.

-> File > Project Structure > Modules

then save it.

Find in Path will now work properly because the root directory of the project is now set.

 

0
Comment actions Permalink

I had the same issue - pycharm professional edition 2019.3

File -> Invalidate Caches / Restart fixed it.

0

Please sign in to leave a comment.