LukeFinch / LukeFinch/Figma-Rename-Styles

Allow to remove characters

Open
#4 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Summary
I am trying to remove these characters - `(Primary)` from the `Find` field, by not adding anything in the `Replace` field

### Outcome
What ends up happening is the plugin wants to replace it with `()`

### Expectation
I'd like for it to replace it with no characters, essentially deleting them.

See my screenshot for reference:
![Screen Shot 2022-04-01 at 11 47 49 AM](https://user-images.githubusercontent.com/1559447/161298425-9c808b7f-aa27-4a96-a020-8e428a070f61.png)

Thanks!

Contributor guide

No contributing guide indexed for this repository

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 plugin's Find and Replace field handling, especially how an empty Replace value is interpreted. Reproduce the `(Primary)` case shown in the issue and verify that an empty replacement removes the matched characters without adding parentheses.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.