# Issue with nextflows vs code parser reading my .venv file

**URL:** <https://community.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611>\
**Category:** Ask for help\
**Tags:** nextflow, nf-core, vscode\
**Created:** [March 16, 2026, 9:38am UTC](https://community.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611 "2026-03-16T09:38:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Mas\_Ponte](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/david_mas_ponte/32/1154_2.png) [@David\_Mas\_Ponte](https://community.seqera.io/u/David_Mas_Ponte)\
**Post date:** [March 16, 2026, 9:38am UTC](https://community.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611/1 "2026-03-16T09:38:16Z")

</div>

Hi,

I have a uv venv in my pipelines for running nf-core directly there. Note that this generates a `.venv` folder with all the packages when you run `uv run sync`.

I have the nextflow extension installed in vs code (1.6.1). The issue that I keep having is that the parsing? of the extension also reaches the `.venv` directory and starts complaining. The thing is that there is no real nextflow code in there.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/seqera/original/2X/5/51970ab8eb13b982236fba488e2cd3f2fda081c9.png)

Is there a way to exclude .venv from the nextflow parsing? sorry if I missed some documentation, I am not super familiar with vs code extensions.

---

<div class="post-metadata">

**Author:** ![mahesh.binzerpanchal](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/mahesh.binzerpanchal/32/253_2.png) [@mahesh.binzerpanchal](https://community.seqera.io/u/mahesh.binzerpanchal)\
**Post date:** [March 16, 2026, 12:59pm UTC](https://community.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611/2 "2026-03-16T12:59:05Z")

</div>

If you click on the cog (settings) of the Nextflow extension, the 5th item down should be `Nextflow > Files: Exclude`. There should already be three items there, `.git`, `.nf-test`, and `work`. I also add my `.pixi` folder there too. So click the “Add item” and put `.venv` there.

---

<div class="post-metadata">

**Author:** ![David\_Mas\_Ponte](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/david_mas_ponte/32/1154_2.png) [@David\_Mas\_Ponte](https://community.seqera.io/u/David_Mas_Ponte)\
**Post date:** [March 16, 2026, 2:06pm UTC](https://community.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611/3 "2026-03-16T14:06:37Z")

</div>

Awesome! That was embarrassingly easy to change! Thanks a lot!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/system/32/2402_2.png) [@system](https://community.seqera.io/u/system)\
**Post date:** [March 23, 2026, 2:07pm UTC](https://community.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611/4 "2026-03-23T14:07:34Z")

</div>

Closed on March 23, 2026, 2:07pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![ewels](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/ewels/32/1_2.png) [@ewels](https://community.seqera.io/u/ewels)\
**Post date:** [May 20, 2026, 9:32am UTC](https://community.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611/5 "2026-05-20T09:32:44Z")

</div>

Just opened a PR to add these to the extension defaults:

> <https://github.com/nextflow-io/vscode-language-nextflow/pull/196>
>
> Added '.venv' and '.pixi' to the default exclusion list.
> 
> See https://communit…y.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611

---

<div class="post-metadata">

**Author:** ![ewels](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/ewels/32/1_2.png) [@ewels](https://community.seqera.io/u/ewels)\
**Post date:** [May 20, 2026, 9:33am UTC](https://community.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611/6 "2026-05-20T09:33:01Z")

</div>

Opened on May 20, 2026, 9:33am UTC



---

<div class="post-metadata">

**Author:** ![ewels](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/ewels/32/1_2.png) [@ewels](https://community.seqera.io/u/ewels)\
**Post date:** [June 1, 2026, 6:00am UTC](https://community.seqera.io/t/issue-with-nextflows-vs-code-parser-reading-my-venv-file/2611/7 "2026-06-01T06:00:11Z")

</div>

Closed on June 1, 2026, 6:00am UTC

This topic was automatically closed after 11 days. New replies are no longer allowed.
