bazelbuild / intellij

IntelliJ plugin for Bazel projects
https://ij.bazel.build/
Apache License 2.0
761 stars 303 forks source link

Find in files that aren't included in the .bazelproject #6638

Open evis opened 1 month ago

evis commented 1 month ago

Description of the feature request:

When I use the «Find in files» action, I would like to see results from files that are not included in the .bazelproject file.

Currently, these files are completely excluded from IDEA indexing. I would like to keep them excluded only during the build process, while still allowing them to be indexed for text searches.

Which category does this issue belong to?

No response

What underlying problem are you trying to solve with this feature?

Looking for examples of using various libraries.

Currently, I need to resort to grep or another tool.

What operating system, Intellij IDE and programming languages are you using? Please provide specific versions.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

tpasternak commented 3 weeks ago

Hi, you might want to try using the new view_project_root flag in the project view.

evis commented 3 weeks ago

Thank you for your suggestion! Unfortunately, after trying view_project_root: true, the issue persists: "Find in Files" still doesn't include the excluded files in its search results.

Could there be any additional settings or steps I might have overlooked?

If you need any additional information or logs to help diagnose this issue, please let me know, and I'll be happy to provide them.