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

New files are not indexed #204

Closed
Coobaha opened this issue Dec 20, 2019 · 5 comments
Closed

New files are not indexed #204

Coobaha opened this issue Dec 20, 2019 · 5 comments
Assignees

Comments

@Coobaha
Copy link
Contributor

Coobaha commented Dec 20, 2019

plugin version:
v0.84-2019.3

Description

Steps to reproduce:

  1. Create a new file
  2. Navigate to old file, try to use autocompletion for new module

New module becomes visible only after invalidating caches

@Coobaha
Copy link
Contributor Author

Coobaha commented Dec 20, 2019

Or maybe my source modules are not indexed at all... I have only node_modules modules indexed

@Coobaha
Copy link
Contributor Author

Coobaha commented Dec 20, 2019

Issue appears only when bsconfig has namespace

Namespace specification is described here
https://bucklescript.github.io/docs/en/build-configuration.html#name-namespace
https://bucklescript.github.io/bucklescript/docson/#build-schema.json

It can be boolean or custom string

Expected behaviour:

Autocompletion inside own sources should ignore namespace

@Coobaha
Copy link
Contributor Author

Coobaha commented Jan 17, 2020

@giraud could this issue be prioritised when possible? Editor experience with namespace is so bad compared to project without a namespace

@giraud
Copy link
Owner

giraud commented Jan 18, 2020

@Coobaha I'll look at it after current work on master is done

@giraud giraud self-assigned this Feb 4, 2020
giraud added a commit that referenced this issue Feb 20, 2020
@giraud
Copy link
Owner

giraud commented Feb 20, 2020

fixed in 0.86-2019.3

@giraud giraud closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants