Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Add shopify-dev link to suggestion title #700

Merged
merged 1 commit into from
Jan 10, 2023
Merged

Conversation

mgmanzella
Copy link
Contributor

@mgmanzella mgmanzella commented Jan 9, 2023

Closes #699

Summary

  • Update the markdown template to link to shopify-dev in the suggestion title
  • Add shopify-dev urls to all entry possibilities for intelligent code completion

Tophatting

Open a theme and test the following scenarios. Type the following and at the cursor type Ctrl-Space. When a suggestion appears, click the title link. Confirm the link is a sensible suggestion for what you typed. Object properties can be deep linked but tag parameters cannot

Object

{{ address█ }}

Object property

{{ address.cit█ }}

Tag

{% if█ %}

Filter

{{ cart | external_video_tag█ }}

Filter parameter

TODO -- I can't seem to find an example for this case where we suggest a filter parameter?

@mgmanzella mgmanzella marked this pull request as ready for review January 9, 2023 22:45
@mgmanzella mgmanzella requested a review from a team January 9, 2023 22:45
Copy link
Contributor

@karreiro karreiro 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, @mgmanzella! Great stuff 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Intelligent Code Completion] Add shopify-dev doc links to suggestion titles
2 participants