Closed
Description
We often get feedback from VS/VS Code users that TSServer is slow, but the amount of time it takes to diagnose the issue is a bit much for them (e.g. enabling logging etc.)
The proposal here is for TSServer to provide some of the same information as --listFiles
and --extendedDiagnostics
which you can get from the command line. Editors could then open a buffer that could let them and our teams diagnose issues.
Here's an example of what we could return to the editor:
{
diagnostics: {
// ...
},
compilerOptions: {
// ...
},
files: [
{ filePath: "...", size: 1234 }
]
}
The editor could choose to display this however it wants.