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

[Feature Request] Support * syntax in pyrightConfig extraPaths #1684

Closed
danielgordon10 opened this issue Mar 24, 2021 · 3 comments
Closed

[Feature Request] Support * syntax in pyrightConfig extraPaths #1684

danielgordon10 opened this issue Mar 24, 2021 · 3 comments
Labels
enhancement request New feature or request

Comments

@danielgordon10
Copy link

This would be nice to have if we have a dir with a bunch of libraries installed. It seems like currently we need to provide paths to each directory separately.

@jakebailey
Copy link
Member

See also: microsoft/pylance-release#973

One consideration is that file watching logic for this becomes a little complicated because 1) we may need special handlers for parent directories of globbed items to know when the paths have to be regenerated, and 2) glob patterns may match files which we don't want in extraPaths (besides maybe zips if those ever get supported).

What is your specific use case for this, as opposed to something like using editable installs? Are you trying to have a folder that contains many projects, or some external libs that are collected in some other folder?

@danielgordon10
Copy link
Author

"some external libs that are collected in some other folder" - This

@erictraut
Copy link
Collaborator

Since this feature request is already captured in the pylance repo, I'm going to close this one as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants