sublime-better-coffeescript
sublime-better-coffeescript copied to clipboard
Add support for Sublime Text 4 (build 4121)
When I run it I get the error: target of repeat operator is invalid in regex
Found a temporary workaround.
- Open a CoffeeScript file
- Make sure the syntax is set to [ Better CoffeeScript -> CoffeeScript ] even tho it doesn't work
- 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: CoffeeScriptto something else, likename: CoffeeScript-alt, so you don't get confused
- Ctrl+S to save the file to the recommended directory
- Re-open your CoffeeScript file and it should be using the new syntax definition which doesn't have the regex issue.