Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flow] Stop including
source
as supported code actions
Summary: We shouldn't advertise that we support arbitrary `"source"` because we don't. Doing it will just cause vscode to send us irrelevant ones (e.g. those from eslint). The problem will be especially bad for code-actions on save, because save will be blocked by code actions, and during save we might do expensive dependency analysis that blocks our ability to even respond to code-actions that should be ignored. Changelog: [misc] Flow language server will stop advertising that we can handle all code actions kinds prefixed with `"source"`. It can help to prevent VSCode sending flow irrelevant code actions to handle during save. Reviewed By: panagosg7 Differential Revision: D67536771 fbshipit-source-id: 33e4835a5e6c068cbdce6132bac543c85b08df15
- Loading branch information