Skip to content
New issue

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

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

Already on GitHub? # to your account

Is it possible to load libs from .sublime-package files? #71

Closed
jfcherng opened this issue Jun 3, 2021 · 3 comments
Closed

Is it possible to load libs from .sublime-package files? #71

jfcherng opened this issue Jun 3, 2021 · 3 comments
Labels
question Asking questions

Comments

@jfcherng
Copy link
Collaborator

jfcherng commented Jun 3, 2021

Question

Just see this from the changelog of version 1.1.146:

Enhancement (from pylance): Added support for libraries packages as zip/egg containers.

.sublime-package is just a zip file but with a different extension.

References

@jfcherng jfcherng added the question Asking questions label Jun 3, 2021
@rchl
Copy link
Member

rchl commented Jun 3, 2021

And the relevant change is microsoft/pyright@e52d1e9

Can't see a way to hook into that and handle *.sublime-package.

@jfcherng
Copy link
Collaborator Author

jfcherng commented Jun 3, 2021

And the relevant change is microsoft/pyright@e52d1e9

Can't see a way to hook into that and handle *.sublime-package.

Thanks. Not sure how it actually works but it hard-coded zip extension in microsoft/pyright@e52d1e9#diff-6f54fd7f4d0b2ea839407213f666d79d1d9e628196952f6c855e4da9ed2f3e78R138.

@jfcherng
Copy link
Collaborator Author

jfcherng commented Jun 3, 2021

Not working after manually add sublime-package into that regex.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Asking questions
Projects
None yet
Development

No branches or pull requests

2 participants