Not seeing refactorings try to intelligently expand based on the current selection #41469
Labels
Bug
A bug in TypeScript
Domain: Refactorings
e.g. extract to constant or function, rename symbol
Fix Available
A PR has been opened for this issue
Milestone
TypeScript Version: 4.2.0-dev.20201109
Search Terms:
Repro
From #37895
ent.createElement('a')
Expected
Based on the discussions in #37895, I'd expect this to return an
extract function
refactoring that extracts the entiredocument.createElement('a')
expression to a functionActual
No such refactoring returned. I confirmed that we tell TS that this refactoring was explicitly requested:
/cc @jessetrinity
The text was updated successfully, but these errors were encountered: