Syntax only server creates inferred project with all the open files w… by sheetalkamat · Pull Request #38561 · microsoft/TypeScript (original) (raw)
I'm finally trying this out with VS Code Insiders! Pretty cool! A couple of thoughts and ideas
From the editor side:
- the startup time still isn't instantaneous for the syntax server, so I'm really never sure whether I can start editing reliably until I try quick info over and over. I think this is something we'll really need to provide a visual indication for before we make it broadly available.
From the TypeScript side:
- I think cross-file go-to-definition was one of the key scenarios we'd like to get to users, so I think we should really try to get that to light up, either here or in a follow-up PR.
- the fact that we show
any
when things aren't resolved in this mode is kind of confusing. For type display purposes, we might want to consider displaying the error type as something like aloading
type.
@CyrusNajmabadi, how does Roslyn work when types haven't been resolved yet in things like quick info and signature help?
For example we have this signature
but CodeActionsState.State
can't be resolved, so signature help looks like this: