uiwjs / uiwjs/react-codemirror
How can we render `ReactNode`s as output to Codemirror extensions?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
Since this package is dedicated to integration with React, I figured this would be a good place to ask instead of Codemirror.
How can we render ReactNodes in response to extension output? A few places this would be useful are linters, autocomplete, and tooltips.
Codemirror supports very basic output for each one of these - it mostly expects string parameters and then stubs it into the generated DOM elements. But it would be very nice to be able to supply replacement components or a renderCompletion etc. to apply custom icons, formatting, styling, images, etc. - similar to the more rich functionality that exists in something like VSCode:
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reviewing the existing React–CodeMirror integration and the CodeMirror output APIs used by linters, autocomplete, and tooltips. Define the supported rendering scope and acceptance criteria for ReactNode output; the issue names no files or tests, so locating the relevant entry points is part of the work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100