rescript-lang / rescript-lang/rescript-vscode

Make rename work for component names

Open
#242 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
ReScript
Stars
354
Forks
63
Avg merge
11h 29m
Merged PRs (30d)
1

Description

Renaming the module name used in a component does not automatically propagate to JSX, because JSX indirectly refers to the make/makeProps functions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the rename behavior described in the issue and how JSX refers indirectly to the make and makeProps functions. Verify how a component module rename is handled and confirm that the renamed module name propagates to JSX references; no file or test path is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.