-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flow][refactor] Remove autocompleteService's dependence on Export_se…
…arch Summary: The goal is to make autocomplete work in try-flow. Auto imports search, which depends on some C++ code, absolutely won't work in browser. This diff abstracts the code that runs the searching of autoimport results behind functions `search_exported_values` and `search_exported_types`. The implementation remains the same under the current LSP, but for flow.js, these functions can always return an empty list. Changelog: [internal] Reviewed By: panagosg7 Differential Revision: D55548906 fbshipit-source-id: e9fb0f3ea631071d6289d8f53260fe2bce6cb7f3
- Loading branch information
1 parent
9f3a9de
commit 61bb5c6
Showing
4 changed files
with
31 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters