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
{{ message }}
Repository navigation
Support External Files Provided by TS Plugin #30411
*out-of-scopePosted issue is not in scope of VS Codefeature-requestRequest for new features or functionalityplan-itemVS Code - planned item for upcomingtypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
We currently allow TSServer plugin extensions to register themselves for custom language modes. The angular extension for example could register the angular plugin with support for the ng-html language. There were a few problems with the current implementation:
We start automatically syncing all ng-html files with TSServer.
If the angular plugin is not active, TS treats these ng-html files as TypeScript code
Potential Fix
On potential fix we discussed previously: add a plugin property on open requests. TypeScript would look at the plugin property and only start validating the file if has the corresponding plugin.
*out-of-scopePosted issue is not in scope of VS Codefeature-requestRequest for new features or functionalityplan-itemVS Code - planned item for upcomingtypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
Activity
mjbvz commentedon Jul 12, 2017
Tracked upstream by microsoft/TypeScript#17151
mjbvz commentedon Jul 24, 2017
Discussions and planning work done for July. Proposed API: microsoft/TypeScript#17151
Moving to August since we need an API change on the TS side to support this. This change would likely come with TS 2.5
mjbvz commentedon Aug 28, 2017
Moving out to at least TS 2.6
mjbvz commentedon Dec 15, 2018
Closing as out of date. Discussion of this feature is at microsoft/TypeScript#17151