Skip to content

Conversation

kyliau
Copy link
Contributor

@kyliau kyliau commented May 5, 2020

This commit adds a Compiler interface that wraps the actual ngtsc
compiler. The language-service specific compiler manages multiple
typecheck files using the Project interface, creating and adding
ScriptInfos as necessary.

This commit also adds overrideInlineTemplate() method to the mock
service so that we could test the Compiler diagnostics feature.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@kyliau kyliau added area: language-service Issues related to Angular's VS Code language service target: major This PR is targeted for the next major release labels May 5, 2020
@ngbot ngbot bot modified the milestone: needsTriage May 5, 2020
@pullapprove pullapprove bot requested review from ayazhafiz and josephperrott May 5, 2020 06:33
@kyliau kyliau force-pushed the ivy-ls-compiler branch 2 times, most recently from 74f1954 to ccedb48 Compare May 5, 2020 07:02
@kyliau kyliau force-pushed the ivy-ls-compiler branch 2 times, most recently from 95306b6 to 1acc580 Compare May 5, 2020 22:12
@kyliau kyliau force-pushed the ivy-ls-compiler branch from 1acc580 to 6b93d43 Compare May 5, 2020 22:48
@kyliau kyliau changed the title feat(language-service): [ivy] temporary compiler interface feat(language-service): [ivy] mock compiler interface May 6, 2020
@kyliau kyliau force-pushed the ivy-ls-compiler branch 2 times, most recently from 65ec034 to fd1c68d Compare May 6, 2020 21:48
@kyliau kyliau changed the title feat(language-service): [ivy] mock compiler interface feat(language-service): [ivy] wrap ngtsc to handle typecheck files May 6, 2020
@kyliau kyliau force-pushed the ivy-ls-compiler branch 3 times, most recently from d857305 to 0c6bc01 Compare May 6, 2020 22:12
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

This commit adds a Compiler interface that wraps the actual ngtsc
compiler. The language-service specific compiler manages multiple
typecheck files using the Project interface, creating and adding
ScriptInfos as necessary.

This commit also adds `overrideInlineTemplate()` method to the mock
service so that we could test the Compiler diagnostics feature.
@kyliau kyliau force-pushed the ivy-ls-compiler branch from 0c6bc01 to 3095f6f Compare May 7, 2020 04:33
@kyliau kyliau added the action: merge The PR is ready for merge by the caretaker label May 7, 2020
@angular-automatic-lock-bot
Copy link

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 Jun 8, 2020
profanis pushed a commit to profanis/angular that referenced this pull request Sep 5, 2020
…ngular#36930)

This commit adds a Compiler interface that wraps the actual ngtsc
compiler. The language-service specific compiler manages multiple
typecheck files using the Project interface, creating and adding
ScriptInfos as necessary.

This commit also adds `overrideInlineTemplate()` method to the mock
service so that we could test the Compiler diagnostics feature.

PR Close angular#36930
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 area: language-service Issues related to Angular's VS Code language service cla: yes target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants