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(server): send diagnostic range to the Angular language service wh… #1747

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

ivanwonder
Copy link
Contributor

…en fixing code errors

This will make the fix error code simple, the range the fix error code get is always
the start and end of the diagnostic. For example, <span>{{title}}</span>, the title is
the missing member of component. When the range the user selects is from the start of <span>
to the end of </span>, the fix error code needs to check the start of the diagnostic.

…en fixing code errors

This will make the fix error code simple, the range the fix error code get is always
the start and end of the diagnostic. For example, `<span>{{title}}</span>`, the `title` is
the missing member of component. When the range the user selects is from the start of `<span>`
to the end of `</span>`, the fix error code needs to check the start of the diagnostic.
@ivanwonder ivanwonder marked this pull request as ready for review August 27, 2022 10:44
@ivanwonder
Copy link
Contributor Author

@dylhunn

@dylhunn
Copy link
Collaborator

dylhunn commented Sep 8, 2022

Sorry for the delay -- I was at ng-conf last week. Let me have a look.

@dylhunn dylhunn self-requested a review September 8, 2022 16:36
@dylhunn dylhunn added target: patch This PR is targeted for the next patch release action: merge Ready to merge target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Sep 8, 2022
@dylhunn dylhunn merged commit 8553115 into angular:main Sep 8, 2022
@dylhunn
Copy link
Collaborator

dylhunn commented Sep 8, 2022

@Ivanw

This has merge conflicts with the patch branch -- it will need another rebased PR if you want this to land in a patch version. But we're good for main.

@ivanwonder ivanwonder deleted the send-diagnostic-range-to-ls branch September 17, 2022 03:17
@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 Oct 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge Ready to merge target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants