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

Support default.setting completion + hover #717

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

aswamy
Copy link
Contributor

@aswamy aswamy commented Jan 16, 2025

What are you adding in this PR?

Fixes #625

  • Renamed PresetsSettingsPropertyCompletionProvider -> ReferencedSettingPropertyCompletionProvider
  • Renamed PresetsSettingsHoverProvider -> ReferencedSettingHoverProvider
  • Updated tests to ensure we can complete presets.settings and default.settings

Before you deploy

  • I included a minor bump changeset
  • My feature is backward compatible

@aswamy aswamy requested a review from charlespwd January 16, 2025 22:55
@aswamy aswamy requested a review from a team as a code owner January 16, 2025 22:55
Copy link
Contributor

@graygilmore graygilmore left a comment

Choose a reason for hiding this comment

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

Could the renames happen in a single commit before any of the functional changes? I'm having a bit of a hard time deciphering what we want reviewed or not.

@aswamy aswamy force-pushed the feature/default-setting-completion branch from 1499af3 to e969f23 Compare January 17, 2025 16:32
@aswamy
Copy link
Contributor Author

aswamy commented Jan 17, 2025

@graygilmore I've broken it up into separate commits. Commit 3 is the bulk of the work - i would hide whitespaces since i've nested tests inside loops or describe blocks.

@aswamy aswamy force-pushed the feature/default-setting-completion branch from fe48498 to 2c87810 Compare January 17, 2025 17:21
Copy link
Contributor

@graygilmore graygilmore left a comment

Choose a reason for hiding this comment

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

👍🏻 🎩

const { stdout } = await exec(`which shopify`);
return stdout.split('\n')[0].replace('\r', '');
if (process.env.NODE_ENV === 'test') {
return;
Copy link
Contributor

Choose a reason for hiding this comment

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

Oooo nice catch

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.

Theme block JSON preset setting + default setting completion/hover
2 participants