Misalignment in `ClassName<type>::Function`
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 82k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
When coding in C++, I wrote something like ClassName<type>::Function, and the two colons aren't aligned properly :
I suppose >: and :A are taken together.
A more correct behavior would be to consider :: as a token and to align both colons the same way.
The issue disappears if the first letter of the function is not a capital letter.
Contributor guide
No contributing guide indexed for this repository
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
Start by reproducing the reported C++ example ClassName<type>::Function and compare it with a lowercase function name. Trace the font's programming-ligature handling for ::, >: and :A; done means both colons are aligned consistently in the affected case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- design
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100