Skip to content

Add highlight for Do Nodes#3710

Merged
vinistock merged 8 commits intoShopify:mainfrom
vicocamacho:feat/add-block-highlight
Aug 18, 2025
Merged

Add highlight for Do Nodes#3710
vinistock merged 8 commits intoShopify:mainfrom
vicocamacho:feat/add-block-highlight

Conversation

@vicocamacho
Copy link
Contributor

Motivation

Re-opening #3061

Originating issue #2929. As I was investigating the mentioned issue I found that some Nodes were missing highlighting: Do and Begin to be specific.

While the report in the issue mentioned above was not an actual bug, after discussing it with @vinistock here #3061 (comment) we agreed that we want to add it.

Automated Tests

Added highlight expectation tests for Do and Begin nodes.

Manual Tests

go to a do..end declaration it should highlight the matching do or end node

image

go to a begin block and it should highlight its matching end node

image

@vicocamacho vicocamacho requested a review from a team as a code owner August 12, 2025 00:13
@graphite-app
Copy link

graphite-app bot commented Aug 12, 2025

How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@vicocamacho vicocamacho changed the title Feat/add block highlight Add highlight for Do Nodes Aug 12, 2025
@vinistock vinistock added enhancement New feature or request server This pull request should be included in the server gem's release notes labels Aug 18, 2025
Copy link
Member

@vinistock vinistock left a comment

Choose a reason for hiding this comment

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

Very nice. Thank you!

@vinistock vinistock merged commit 0a50381 into Shopify:main Aug 18, 2025
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request server This pull request should be included in the server gem's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants