Skip to content

CodeMirror 6 Feature Branch #3814

Closed
15 of 16 issues completed
Closed

Description

@raclim

Note: We're currently in the process of adding in the sub-issues!


The CodeMirror v6 upgrade has been in development over the past few years with many major contributions from folks within the community. Over the past few months @khanniie leading the final push to wrap-up this project! At this stage, we're currently looking for testing, feedback, and support to address remaining issues, which we'll be tracking as sub-issues.

If you'd like to contribute, please work off of thedevelop-codemirror-v6 branch, which is dedicated to this feature. Please note that this is separate from the maindevelop branch.

I also included a link to a Release testing environment built from the develop-codemirror-v6 branch. While I recommend running the branch locally during your development process, feel free to use this as reference!

Links

Please feel free to explore the work so far, check out the sub-issues, or let us know if you have any questions about setting up or working with the branch!

Activity

  1. added
    Feature RequestProposal for adding a new functionality
    Area:EditorFor CodeMirror-related features
    and removed
    Feature RequestProposal for adding a new functionality
    on Jan 28, 2026
  2. avinxshKD commented on Jan 28, 2026

    @avinxshKD
    Contributor

    hey @raclim I'd like to work on this, pls assign it to me? thanks

  3. Jatin24062005 commented on Jan 30, 2026

    @Jatin24062005
    Contributor

    @raclim can i take these enhancements ?

  4. raclim commented on Feb 3, 2026

    @raclim
    CollaboratorAuthor

    Thanks for your interest in these issues @avinxshKD and @Jatin24062005! We're in the process of opening up a few more this week, so please be on the lookout once they've been added!

  5. 2 remaining items

  6. ravuri-nikhil commented on Feb 20, 2026

    @ravuri-nikhil

    Hi @raclim are these issues open to work?

  7. pinned this issue on Mar 10, 2026
  8. rishabhk119 commented on Mar 22, 2026

    @rishabhk119

    Hi @raclim, I'd like to work on this issue.

    I've been exploring the develop-codemirror-v6 branch and have a working implementation in progress. Here's my approach:
    Extracting p5 identifiers from the existing p5Hinter list (already categorized by type: method, constant, variable).
    Using a CM6 ViewPlugin with RangeSetBuilder to efficiently decorate only the visible viewport.
    Applying separate decoration classes (cm-p5-method, cm-p5-constant, cm-p5-variable) so each type gets distinct highlighting.
    Hooking into the existing _editor.scss theme system via getThemifyVariable() so all themes (light, dark, high contrast) are supported automatically.
    The plugin is conditionally registered only for JavaScript files in createNewFileState, keeping it scoped correctly.

    Currently testing locally. Will open a PR on the develop-codemirror-v6 branch shortly.

  9. unpinned this issue on Apr 10, 2026
  10. pinned this issue on Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area:EditorFor CodeMirror-related features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions