See https://github.com/microsoft/TypeScript/issues/37713 as a pre-requisite for this issue! ____ https://github.com/microsoft/TypeScript/pull/38561 implements the core idea proposed in https://github.com/microsoft/TypeScript/issues/37713. Beyond that, there is still a set of UX issues that we should probably address: - [x] make cross-file go-to-definition work in the syntax-only server (https://github.com/microsoft/TypeScript/issues/39037) - [ ] make find-all-refs work on unresolved locals (https://github.com/microsoft/TypeScript/issues/38836) - [ ] better display experience for error types on the syntax server (https://github.com/microsoft/TypeScript/issues/39032) - [ ] expand when `isNewIdentifierLocation` on the syntax server (https://github.com/microsoft/TypeScript/issues/39033) - [ ] consider loose completions on the syntax server on unresolved/error types (https://github.com/microsoft/TypeScript/issues/39034)
See #37713 as a pre-requisite for this issue!
#38561 implements the core idea proposed in #37713.
Beyond that, there is still a set of UX issues that we should probably address:
isNewIdentifierLocationon the syntax server (Expand whenisNewIdentifierLocationis set in the syntax server #39033)