Bad syntax highlighting of XHP class definitions
Open
Nobody has claimed this yet.
syntax
- Dominant language
- TypeScript
- Stars
- 80
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
class Foo {}
class bar {}
class :biz {}

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the three class-definition examples from the issue in the VS Code Hack extension and compare the highlighting with the attached screenshot. Find the extension's syntax-highlighting implementation, then verify that ordinary classes, lowercase class names, and XHP classes are highlighted correctly.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100