Skip to content

feat(language-service): provide external file list to TypeScript#16417

Closed
chuckjaz wants to merge 1 commit into
angular:masterfrom
chuckjaz:ts_plugin_update
Closed

feat(language-service): provide external file list to TypeScript#16417
chuckjaz wants to merge 1 commit into
angular:masterfrom
chuckjaz:ts_plugin_update

Conversation

@chuckjaz
Copy link
Copy Markdown
Contributor

Also ensures that it only calls base language service for files
that it contains.

What kind of change does this PR introduce? (check one with "x")

[x] Feature

What is the current behavior? (You can also link to an open issue here)

The templates referenced by the project are not communicated to TypeScript.

What is the new behavior?

The templates referenced by the project can be queried by TypeScript's plugin system to allow directing requests about those files to the plugin.

This relies on microsoft/TypeScript#15308 or similar change landing to be enabled.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

Also ensures that it only calls base language service for files
that it contains.
// Create the proxy
const proxy: ts.LanguageService = Object.create(null);
const oldLS: ts.LanguageService = info.languageService;
let oldLS: ts.LanguageService = info.languageService;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add comment / link for the bug in TS

@chuckjaz chuckjaz added the action: merge The PR is ready for merge by the caretaker label Apr 28, 2017
@mhevery mhevery closed this in f4b771a Apr 28, 2017
asnowwolf pushed a commit to asnowwolf/angular that referenced this pull request Aug 11, 2017
…ular#16417)

Also ensures that it only calls base language service for files
that it contains.

PR Close angular#16417
juleskremer pushed a commit to juleskremer/angular that referenced this pull request Aug 28, 2017
…ular#16417)

Also ensures that it only calls base language service for files
that it contains.

PR Close angular#16417
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants