Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we have a "by project" npm.exclude #133446

Closed
albu77 opened this issue Sep 20, 2021 · 2 comments
Closed

Can we have a "by project" npm.exclude #133446

albu77 opened this issue Sep 20, 2021 · 2 comments
Assignees

Comments

@albu77
Copy link

albu77 commented Sep 20, 2021

When we add some path to exclude for npm in the setting.json (in my case to not showing the npm scripts contained in a folder in the npm scripts section of the sidebar) It is part of the user Vscode config but for me there should be some way of adding a path exclusion relative to the project itself.
But perhaps this option already exist but couldn't find it

@IllusionMH
Copy link
Contributor

IllusionMH commented Sep 20, 2021

Have you tried to add it to workspace settings? .vscode/settings.json supposed to store project/folder related settings and can be shared in Git (or VCS of your choice) with teammates.

See https://code.visualstudio.com/docs/getstarted/settings#_creating-user-and-workspace-settings and https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations

@albu77
Copy link
Author

albu77 commented Sep 21, 2021

No I didn't try because Ididn't know this basic features. Too stupid I am.
So I've created .vscode/settings.json and move my npm setting there and sure it works...
Sorry to have bothered you with such a basic detail.

@albu77 albu77 closed this as completed Sep 21, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants