microsoft / microsoft/vscode-custom-data
support templating languages: `gohtml`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 240
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
Description
With the new emergence of htmx, no extension currently handles perfectly the htmx data extension on VSCode because the customData field is not extendable on those templating languages, even though we are writing a lot of HTML inside.
In a package.json, I would expect this to work:
"contributes": {
"html": {
"customData": [
"./html.htmx-data.json"
]
},
"gohtml": {
"customData": [
"./html.htmx-data.json"
]
}
}
Empirical tests on my fork of a fully working extension for html files: https://github.com/otovo/htmx-tags/compare/main...grouville:htmx-tags:main show that it does not
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
Start with the package.json contributes example and the linked htmx-tags comparison, then inspect how this repository represents HTML customData and templating-language support. Confirm whether gohtml can accept the same customData entry and validate the behavior against the htmx example; the issue names no test or implementation file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100