Skip to content

Add support for Sublime Text 4 (build 4121) #250

Closed
@reubano

Description

@reubano

When I run it I get the error: target of repeat operator is invalid in regex

Activity

changed the title [-]Add support for Sublime Text 4[/-] [+]Add support for Sublime Text 4 (build 4121)[/+] on Dec 14, 2021
taneltm

taneltm commented on Dec 19, 2021

@taneltm

Found a temporary workaround.

  1. Open a CoffeeScript file
  2. Make sure the syntax is set to [ Better CoffeeScript -> CoffeeScript ] even tho it doesn't work
  3. From the menu, select [ Tools -> Developer -> New Syntax from CoffeeScript.tmLanguage.... ]
    • The XML based language definition file will be converted to YAML
    • You can change name: CoffeeScript to something else, like name: CoffeeScript-alt, so you don't get confused
  4. Ctrl+S to save the file to the recommended directory
  5. Re-open your CoffeeScript file and it should be using the new syntax definition which doesn't have the regex issue.
added a commit that references this issue on Aug 25, 2024
38697ca
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @reubano@taneltm@deathaxe

        Issue actions

          Add support for Sublime Text 4 (build 4121) · Issue #250 · SublimeText/CoffeeScript