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

Remove data from unused anchor diagnostics #661

Merged

Conversation

remcohaszing
Copy link
Contributor

@remcohaszing remcohaszing commented Feb 13, 2022

What does this PR do?

The anchor name was added as custom data. It’s unnecessary, because the name of the anchor can be determined from other values in the place where it’s used.

What issues does this PR fix or reference?

Because Monaco Editor marker data doesn’t support custom data, this blocks supports code actions in monaco-yaml.

Is it tested? How?

Manually using monaco-yaml and using tests.

The anchor name was added as custom data. It’s unnecessary, because the
name of the anchor can be determined from other values in the place
where it’s used.

Because Monaco Editor marker data doesn’t support custom data, this blocks
support code actions in monaco-yaml.
@coveralls
Copy link

coveralls commented Feb 13, 2022

Coverage Status

Coverage decreased (-0.003%) to 81.147% when pulling ddb4863 on remcohaszing:remove-unused-anchor-data into 2f34acf on redhat-developer:main.

@evidolob evidolob self-requested a review February 14, 2022 09:50
Copy link
Collaborator

@gorkem gorkem left a comment

Choose a reason for hiding this comment

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

Thanks for noticing.

@evidolob evidolob merged commit cecc0e4 into redhat-developer:main Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants