microsoft / microsoft/vscode-html-languageservice
Processing instruction support
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 284
- Forks
- 138
- Avg merge
- 19h 11m
- Merged PRs (30d)
- 5
Description
This is very cutting edge, but basically Chrome has now shipped the ability to parse processing instructions in HTML, it would be good to start looking at language server support for this.
In particular at a minimum the punctuation and target should be highlighted. It's also intended that data will be treated like attributes so it probably makes sense to also highlight the data as if it were a list of attributes too.
Ideally we also integrate into custom data as well, so that we can have tooltips for both processing instruction targets and their "attributes".
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 reading the linked Chrome processing-instructions feature and the WHATWG DOM discussion to understand the syntax and attribute-like data. Then review the customData documentation to determine how targets and attributes could receive tooltips. Done means punctuation, targets, and data are highlighted, with custom-data tooltip support where feasible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100