Skip to content

Conversation

cyfung1031
Copy link

@cyfung1031 cyfung1031 commented Mar 16, 2025

This is a feature similar to VSCode that we can see the brackets when cursor moves.

  • Screenshot 2025-03-17 at 2 02 43
  • Screenshot 2025-03-17 at 2 02 53

For most highlighters, they will mark the brackets as an independent token so we can easily match them without knowing their exact tokens (i.e. token information before HTML rendering is not required)

@antonmedv
Copy link
Owner

Very nice!

One core feature of codejar - the size. Can we try to implement this as addition to codejar? Maybe in separate file (codejar/matching-brackets.ts). This waty to can add a lot of functionality while still keep the size of the codejat small.

We can add some modifications to codejar to keep make adding integrations possible.

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