You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm building an extension, which uses its own scheme instead of untitled to control process of saving. And as I can see, semanitc diagnostics are being filtered out in my editors, however they're working fine just like as any other inferred project such as in Unittled files.
I'm just curious why even this restriction exists?
My feature request here is to let other extensions contributing system providers use full TS experience by display semantic diagnostics in all schemes.
The text was updated successfully, but these errors were encountered:
This limitations exists because the TypeScript server can't read files that use custom schemes. This means that imports can't be resolved, which causes false errors
But in my case my extension doesn't mean to support file imports. It's something like playground, I just need diagnostics for current file only, for example:
consta=5a='test'// would print nothing, too annoying
@mjbvz this limitation is too strict! I would like to see a way to workaround by configuring builtin TypeScript extension with its API to add support for custom schemes. like api.addScheme()
Hi! I'm building an extension, which uses its own scheme instead of untitled to control process of saving. And as I can see, semanitc diagnostics are being filtered out in my editors, however they're working fine just like as any other inferred project such as in Unittled files.
vscode/extensions/typescript-language-features/src/utils/fileSchemes.ts
Lines 17 to 22 in 1872bc1
I'm just curious why even this restriction exists?
My feature request here is to let other extensions contributing system providers use full TS experience by display semantic diagnostics in all schemes.
The text was updated successfully, but these errors were encountered: