rescript-lang / rescript-lang/rescript-vscode
exthost warning: Code actions of kind 'quickfix 'requested but returned code action is of kind 'refactor.rewrite'.
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
In the Output > Log (Extension Host) panel of VSCode:
[2022-07-31 14:38:18.978] [exthost] [warning] chenglou92.rescript-vscode - Code actions of kind 'quickfix 'requested but returned code action is of kind 'refactor.rewrite'. Code action will be dropped. Please check 'CodeActionContext.only' to only return requested code actions.
[2022-07-31 14:38:20.184] [exthost] [warning] chenglou92.rescript-vscode - Code actions of kind 'quickfix 'requested but returned code action is of kind 'refactor.rewrite'. Code action will be dropped. Please check 'CodeActionContext.only' to only return requested code actions.
[2022-07-31 14:38:20.211] [exthost] [warning] chenglou92.rescript-vscode - Code actions of kind 'quickfix 'requested but returned code action is of kind 'refactor.rewrite'. Code action will be dropped. Please check 'CodeActionContext.only' to only return requested code actions.
In latest master (https://github.com/rescript-lang/rescript-vscode/commit/b6efb50d39768938b10dbf88f2e3c7beac9c7444) with autoRunCodeAnalysis, inlayHints and codeLens enabled.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the warning in the VSCode Output > Log (Extension Host) panel using the latest master commit with autoRunCodeAnalysis, inlayHints, and codeLens enabled. Start by tracing the extension's code-action handling and CodeActionContext.only usage. Done means requested quickfix actions are returned as requested and the refactor.rewrite warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100