Skip to content

Conversation

ubidefeo
Copy link
Collaborator

@ubidefeo ubidefeo commented Aug 13, 2025

In order to change the behaviour of the Tab key, this PR rebuilds CodeMirror with different parameters.
The diff is huge because it's entirely built into a static file, so it is advised to just look at static_libs/codemirror.js, which is the source for generating ui/arduino/libs/codemirror.js.

Both build_choo.js and build_codemirror.js have been moved from their original location because they are used to build the final artefacts (not yet automated in package.json).
A new build script is added which will generate static versions of both into the ui/arduino/libs folder.

@ubidefeo ubidefeo requested a review from sebromero August 13, 2025 20:40
@ubidefeo ubidefeo changed the base branch from main to development August 13, 2025 20:41
Signed-off-by: ubi de feo <[email protected]>
Copy link
Collaborator

@sebromero sebromero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ubidefeo ubidefeo merged commit dcac22e into development Aug 26, 2025
1 check passed
@ubidefeo ubidefeo deleted the feature/codemirror-tab-behaviour branch August 26, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants