jashkenas / jashkenas/coffee-script-tmbundle
Syntax highlighting broken for division operator; thinks a regex has started.
- Dominant language
- JavaScript
- Stars
- 826
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
_I don't know if this is the right place to do this. The [TM2 bundle repository](https://github.com/textmate/coffee-script.tmbundle/) doesn't have an issue tracker attached to it._
From Bartłomiej Kubiak on the [Textmate mailing list](http://lists.macromates.com/textmate/2013-March/036070.html):
```
CoffeeScript bundle has broken syntax highlighting
when using division operator ("/") - badly interprets it
as start of regexp…
```

[This](https://github.com/textmate/coffee-script.tmbundle/commit/2caf1de072f4592474707955123cf7763e26ef9d) might be the culprit.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting commit 2caf1de072f4592474707955123cf7763e26ef9d in the CoffeeScript TextMate bundle and reproduce the division-operator example from the linked report. Trace the syntax rule that interprets "/" as a regular-expression start; done means division is highlighted correctly without breaking regular-expression highlighting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100