跨行注释未闭合时的代码被高亮为注释了
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Use the CodeSandbox reproduction linked in the issue and click “Expand Down” below line 190 to observe the highlighting problem. Review the related issue #209 and trace the expansion and syntax-highlighting path in react-diff-view. Done means code after an unclosed multiline comment is not incorrectly highlighted as part of the comment.
Written by the indexing model from the issue text.
Description
衔接issues:https://github.com/otakustay/react-diff-view/issues/209
@otakustay 复现demo如下:
https://codesandbox.io/p/sandbox/react-diff-view-with-code-expansion-forked-n9z7l6
辛苦帮忙看下,你点击190行下面的'Expand Down'就能复现
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from otakustay/react-diff-view
-
pinned
Difficulty 1/5 Under an hour Newbie friendliness 62/100
otakustay/react-diff-view#101 · 5 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
otakustay/react-diff-view#238 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
otakustay/react-diff-view#237 ·
-
Accessibility: Add screenreader-only text to table cells for status indicatorsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
otakustay/react-diff-view#232 · 1 comment ·
-
pinned
Difficulty 4/5 3-5 days Newbie friendliness 35/100
otakustay/react-diff-view#185 · 15 comments ·
All issues in otakustay/react-diff-view
Similar issues
-
dx hacktoberfest help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cloudflare/agents#2498 ·
Maintainers usually reply within 1 day
-
Missing repro Platform: Android
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
software-mansion/react-native-reanimated#10816 · 2 comments ·
Maintainers usually reply within 1 day
-
e2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
redhat-developer/rhdh-plugin-export-overlays#4129 ·
Maintainers usually reply within 1 day