[meta] Choose and alter wildcard scope to reflect replacement length
RFC
What do you folks think about changing the subscopes of `constant.other.wildcard` from the character used to the semantic meaning? This would let color schemes distinguish on what a wildcard does rather than what character it uses.
- Remove `.asterisk`, `.questionmark`, `.underscore`, `.percent`, etc.
- Replace with something like this (feel free to suggest better words)…
+ `.character` to indicate "This represents one char"
+ `.string` to indicate "This represents a variable-length string"
### Possible downsides
- Is it important to distinguish wildcards that mean zero-or-more characters versus ones that mean one-or-more characters?
- Wildcards (if any) that mean a particular length of characters above one.
7 条评论