Skip to content

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

Closed
clydin wants to merge 1 commit into
angular:mainfrom
clydin:ls/override-suggestion-diagnostics
Closed

fix(language-service): avoid generating TS suggestion diagnostics for templates#56241
clydin wants to merge 1 commit into
angular:mainfrom
clydin:ls/override-suggestion-diagnostics

Conversation

@clydin

@clydin clydin commented Jun 3, 2024

Copy link
Copy Markdown
Member

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

clydin commented Aug 2, 2024

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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
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 2, 2024
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