uiwjs / uiwjs/react-codemirror

How to set default folded sections

Open
#451 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Thank you for the hard work put into this library! It's been wonderful to use. I was wondering if it's possible to set parameters on which blocks should be folded by default? For example, viewing a GeoJSON with the json extension, and I would like the coordinates + bbox keys to be folded by default. Is this possible? 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

The issue names no files, tests, or entry points. Begin by determining whether react-codemirror exposes a CodeMirror 6 configuration for folding selected JSON or GeoJSON sections. Done would be a supported way to set coordinates and bbox folded by default, or a clarified answer that this is not supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.