WebReflection / vscode-literally-html

Adds syntax highlighting for html inside of JavaScript and TypeScript tagged template strings
https://marketplace.visualstudio.com/items?itemName=webreflection.literally-html
MIT License
34 stars 6 forks source link

Proposal: Make the Component Configureable via .vscode/settings.json #14

Closed frank-dspeed closed 4 months ago

frank-dspeed commented 4 years ago

"begin": "(?x)\.(?:[a-zA-Z]+\.)?\b(adopt|bind|bound|for|hyper|hyperHTML|html|raw|render|svg|view|viper|viperHTML|wire)\b(?:\([^\)]?\))?(`)",

WebReflection commented 4 years ago

PR welcome, but also ... I don't understand what is this about.

frank-dspeed commented 4 years ago

this is the regex match code inside your component and it hold as you see a list of tags it should match for we could put that list optional in the .vscode/settings so the user or project settings then the people can configure that them self and this would not need to get updated to get extended for a extra case

WebReflection commented 4 years ago

Thanks for expanding on that. I am really not familiar with how VS Code works, so any PR welcome, thanks.

WebReflection commented 4 months ago

Added a WARNING in the README with suggested alternatives: https://github.com/WebReflection/vscode-literally-html/tree/master?tab=readme-ov-file#warning