Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@winstliu
Copy link
Contributor

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

Implements #497 using a single match instead of multiple begin/ends. Taken from the previous JSDoc implementation. Regexes are still a bit ugly, but less hacky than #497.

Alternate Designs

🔥 embedded JS highlighting in JSDoc as a whole.

Benefits

Arrays in JSDoc optional values should receive proper JavaScript highlighting.

Possible Drawbacks

Messy regexes = large potential for regressions. @Alhadis wrote some wonderful tests though.

Applicable Issues

#497

/cc @Alhadis - would you mind reviewing this? I'm still working on HTML caption support but thought that this was a good place to request a review.

@winstliu winstliu merged commit 14e02bd into master Jun 8, 2017
@winstliu winstliu deleted the wl-jsdoc-changes branch June 8, 2017 03:17
@Alhadis
Copy link
Contributor

Alhadis commented Jun 8, 2017

Sorry for not hearing your ping, mate. Crippling depression, etc, etc... I've probably missed other things at other repositories, too. :(

@winstliu
Copy link
Contributor Author

winstliu commented Jun 8, 2017

Don't think so. This was the only one I specifically pinged you on.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants