Файли
openidea/docs
LU XIANGRUIтаwildcatDownstairs 72b0c7c48c feat(refactor): Extract Type Alias and Extract Interface for TypeScript (#6040)
tsserver's "Extract to type alias" and "Extract to interface" were reachable only as unnamed server items in Refactor This, and Refactor > Extract Interface… worked only in Java. In TS/JS files, Extract Interface… now runs tsserver's "Extract to interface" (Java keeps the jdtls dialog). The new Refactor > Extract Type Alias… runs "Extract to type alias" ("Extract to typedef" in JavaScript). The new type is then renamed in place, as Introduce Variable does. When tsserver offers no such action, a hint says why. classifyAction maps these tsserver titles so Refactor This lists them under Extract/Introduce. The menu item now lives in ide-host's menu spec.

Closes #6014

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-27 00:09:52 +08:00
..