Skip to content

Remove data from unused anchor diagnostics#661

Merged
evidolob merged 1 commit intoredhat-developer:mainfrom
remcohaszing:remove-unused-anchor-data
Feb 15, 2022
Merged

Remove data from unused anchor diagnostics#661
evidolob merged 1 commit intoredhat-developer:mainfrom
remcohaszing:remove-unused-anchor-data

Conversation

@remcohaszing
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
@remcohaszing remcohaszing deleted the remove-unused-anchor-data branch June 7, 2024 09:37
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.

4 participants