Skip to content

Tag JSX component usages as references #384

Description

@monneyboi

The JavaScript tags.scm captures regular function calls, but not JSX component usages. This means code-navigation consumers cannot find usages such as:

<Button />
<UI.Button>...</UI.Button>

Would it make sense to capture capitalized JSX element names as @reference.call, while ignoring intrinsic elements such as <button />? Opening and self-closing elements could be captured, without also capturing closing elements.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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