Typescript code actions (like Extract Constants, Functions, Move to File) no longer works with the error message “Actual command not found, wanted to execute _typescript.didApplyRefactoring /3255”
Steps to Reproduce
Create a minimal TypeScript project
Execute code actions (e.g. Extract Constants)
See it failed with error message
Expected Behavior
The code action fails with “Actual command not found, wanted to execute _typescript.didApplyRefactoring /3255”
The last number varies depending on the action
Hey, thanks for the detailed report with the version and screenshot. The Actual command not found, wanted to execute _typescript.didApplyRefactoring error is really clear.
This is a known issue we’re tracking. It affects code actions from extensions in general, not just TypeScript. Users reported the same symptoms for Dart, ESLint, and others. It’s tied to changes in recent stable builds. It started in 3.14.21+, so your 3.15.6 is affected too. This isn’t anything in your setup.
A workaround that helps right now is downgrading to 3.14.7 or below. The issue doesn’t happen there. For TS refactorings like Extract Constant/Function and Move to File, there isn’t an alternative via the command palette, so a downgrade is the most reliable option if these actions are critical for your work.