Bug Report
🔎 Search Terms
- refactoring
- quick fix
- code action
🕗 Version & Regression Information
4.2.2
💻 Code
function foo() {
return 1;
}
- In VS Code, place cursor anywhere inside of
foo
🙁 Actual behavior
The lightbulb always shows up. This is because the infer function return type quick fix is always being returned
🙂 Expected behavior
This quick fix should likely only show when refactoring are explicitly requested or if the cursor is at a specific spot in the code (such as the function signature)
/cc @jessetrinity
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
4.2.2
💻 Code
foo🙁 Actual behavior
The lightbulb always shows up. This is because the
infer function return typequick fix is always being returned🙂 Expected behavior
This quick fix should likely only show when refactoring are explicitly requested or if the cursor is at a specific spot in the code (such as the function signature)
/cc @jessetrinity