sublime-better-coffeescript icon indicating copy to clipboard operation
sublime-better-coffeescript copied to clipboard

Add support for Sublime Text 4 (build 4121)

Open reubano opened this issue 4 years ago • 1 comments

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

reubano avatar Dec 14 '21 17:12 reubano

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.

taneltm avatar Dec 19 '21 18:12 taneltm