Skip to content

Commit 92affbe

Browse files
authored
add instructions to exclude files in search (#12550)
* add instructions to exclude files in search * Add screenshot * fix path * Update screenshot * Add missing step
1 parent 9789ffd commit 92affbe

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Loading

docs/contributing-to-airbyte/monorepo-python-development.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,16 @@ The following setup steps are written for PyCharm but should have similar equiva
8888

8989
You should now have access to code completion and proper syntax highlighting for python projects.
9090

91-
If you need to work on another connector you can quickly change the current virtual environment in the bottom toolbar.
91+
If you need to work on another connector you can quickly change the current virtual environment in the bottom toolbar.
92+
93+
### Excluding files from venv
94+
95+
By default, the find function in IntelliJ is not scoped and will include all files in the monorepo, including all the libraries installed as part of a connector's virtual environment. This huge volume of files makes indexing and search very slow. You can ignore files from the connectors' virtual environment with the following steps:
96+
97+
1. Open the project structure using `cmd-;`
98+
2. Navigate to the "Project Settings / Modules" section in the right-side of the menu
99+
3. Select the top level `airbyte` module so the change is applied to all submodules
100+
4. Add the following filter to the `Exclude files` option: `connectors/**/.venv`
101+
5. Press OK to confirm your options.
102+
103+
![](../.gitbook/assets/monorepo-exclude-files.png)

0 commit comments

Comments
 (0)