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

Enhancement - Move node range caluclation out of loop in completion listener #2952

Conversation

rogancodes
Copy link
Contributor

Motivation

In the Completion listener, we calculate the node range within the each loop for both constant completion candidates and instance variable completion candidates.

Implementation

Moved the range calculation outside the loop, as the node is already accessible outside the loop.

Automated Tests

Not applicable

Manual Tests

Not applicable

@rogancodes rogancodes requested a review from a team as a code owner December 4, 2024 07:59
@st0012 st0012 added chore Chore task server This pull request should be included in the server gem's release notes labels Dec 4, 2024
Copy link
Member

@st0012 st0012 left a comment

Choose a reason for hiding this comment

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

Thank you!

@st0012 st0012 merged commit 4a2c7cd into Shopify:main Dec 4, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore task 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