microsoft / microsoft/vscode-html-languageservice
Global attribute name as a pattern
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 284
- Forks
- 138
- Avg merge
- 19h 11m
- Merged PRs (30d)
- 5
Description
Can I declare a custom html attribute that would match ANY attribute that starts with "h-"?
I wasn't able to find anything relating to pattern matching on a name in the docs or any kind of placeholder support, à la code-snippets.
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
No files or tests are named in the issue. Start by locating how custom HTML attributes are configured and matched in the language service, then check related tests for attribute-name handling. Done means a configured pattern such as h- matches every attribute beginning with that prefix, with coverage for the matching behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100