在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mjbvz/vscode-lit-html开源软件地址:https://github.com/mjbvz/vscode-lit-html开源编程语言:JavaScript 64.6%开源软件介绍:Adds syntax highlighting and language support for html inside of JavaScript and TypeScript tagged template strings, such as used in lit-html and other frameworks. Features
UsageThe lit-html extension adds highlighting and IntelliSense for lit-html template strings in JavaScript and TypeScript. It works out of the box when you use VS Code's built-in version of TypeScript. If you are using VS Code 1.30 or older and are using a workspace version of typescript, you must currently configure the TS Server plugin manually by following these instructions ConfigurationYou can either configure this plugin using a TagsThis extension adds html IntelliSense to any template literal tagged with import {html} from 'lit-html'
const a = html`
<div></div>
` You can enable IntelliSense for other tag names by settings "lit-html.tags": [
"html",
"template"
] FormattingThe plugin formats html code by default. You can disable this by setting "lit-html.format.enabled": false |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论