Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(language-service): avoid generating TS suggestion diagnostics for templates #56241

Closed

Conversation

clydin
Copy link
Member

@clydin clydin commented Jun 3, 2024

Angular's template files are not valid TypeScript. Attempting to get suggestion diagnostics from the underlying TypeScript language service will result in a large amount of false positives. Only actual TypeScript files should be analyzed by the underlying TypeScript language service for suggestions.

… templates

Angular's template files are not valid TypeScript. Attempting to get suggestion
diagnostics from the underlying TypeScript language service will result in
a large amount of false positives. Only actual TypeScript files should
be analyzed by the underlying TypeScript language service for suggestions.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Jun 3, 2024
@pullapprove pullapprove bot requested review from alxhub June 3, 2024 16:13
@clydin clydin requested a review from dylhunn June 3, 2024 16:28
@thePunderWoman thePunderWoman added the area: language-service Issues related to Angular's VS Code language service label Jun 3, 2024
@ngbot ngbot bot added this to the Backlog milestone Jun 3, 2024
@clydin clydin added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Aug 2, 2024
@clydin
Copy link
Member Author

clydin commented Aug 2, 2024

Github won't remove additional reviewer. Pullapprove is green.

thePunderWoman pushed a commit that referenced this pull request Aug 2, 2024
… templates (#56241)

Angular's template files are not valid TypeScript. Attempting to get suggestion
diagnostics from the underlying TypeScript language service will result in
a large amount of false positives. Only actual TypeScript files should
be analyzed by the underlying TypeScript language service for suggestions.

PR Close #56241
@thePunderWoman
Copy link
Contributor

This PR was merged into the repository by commit 4bb9d0f.

The changes were merged into the following branches: main, 18.1.x

@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 Sep 2, 2024
and-oli pushed a commit to and-oli/angular that referenced this pull request Sep 30, 2024
… templates (angular#56241)

Angular's template files are not valid TypeScript. Attempting to get suggestion
diagnostics from the underlying TypeScript language service will result in
a large amount of false positives. Only actual TypeScript files should
be analyzed by the underlying TypeScript language service for suggestions.

PR Close angular#56241
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 merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants