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

[Bug/Question] Strict mode doesn't seem to work good with libraries #856

Closed
sewbacca opened this issue Dec 10, 2021 · 1 comment
Closed
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@sewbacca
Copy link
Contributor

sewbacca commented Dec 10, 2021

Describe the bug
When strict mode is disabled, files are found just find (though also all relative ones, which i want to get rid off). When enabling strict mode, it works fine within the project, but when requiring modules outside of the project, the paths will be suggested, but not found.

To Reproduce
Steps to reproduce the behavior:

  1. Add löve2d library
  2. Require löve, see that its found.
  3. Enable strict mode
  4. Löve won't be resolved
  5. But autocompletion shows löve as an option.

Expected behavior
Finding the module

Environment (please complete the following information):

  • OS: Windows 10
  • No WSL
  • Client: VSCode
@sumneko sumneko added bug Something isn't working duplicate This issue or pull request already exists labels Dec 11, 2021
@sumneko
Copy link
Collaborator

sumneko commented Dec 16, 2021

duplicate with #847

@sumneko sumneko closed this as completed Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants