Skip to content

Snippets that are supposed to work within jsx need a jsx scope #113

@KnifeFed

Description

@KnifeFed

For example, gatsby-link doesn't work inside jsx because it doesn't have that scope. I think jsx should be the only scope for such snippets, i.e.:

 "gatsby-link": {
    "scope": "jsx",
    "prefix": ["gatsby link"],
    "body": ["<Link to=\"${1:/blog}\">${2:Text}</Link>"]
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions