A VueLanguagePlugin to support <template lang="pug"> for @vue/language-server.
Usage
Install
$ npm i -D @vue/language-plugin-pugAdd to
tsconfig.json{ "vueCompilerOptions": { "plugins": ["@vue/language-plugin-pug"] } }
A VueLanguagePlugin to support <template lang="pug"> for @vue/language-server.
A VueLanguagePlugin to support <template lang="pug"> for @vue/language-server.
Install
$ npm i -D @vue/language-plugin-pug
Add to tsconfig.json
{
"vueCompilerOptions": {
"plugins": ["@vue/language-plugin-pug"]
}
}
fast-diff with custom character-by-character alignment algorithm (#5849) (#5851)tags to slots and exposed (#5862) - Thanks to @aj-dev!exposed (#5868) - Thanks to @aj-dev!ts.CompletionEntryData (#5869) - Thanks to @KazariEX!v-for type inference (#5836)v-for key type with Object.keys (#5837) - Thanks to @serkodev!<!-- @strictTemplates --> magic comment (#5845)<script src=""> (#5838)createIfBranch (#5844) - Thanks to @serkodev!ComponentType helper<script> and <style> tag (#5830) - Thanks to @serkodev!preferences and formatOptions in tsserver (#5829)scriptId (#5811) - Thanks to @serkodev!Identifier.text property (#5810)__VLS_Slots generation<script setup> (#5805)createParsedCommandLineByJson parsed incorrect options since v3.1.5 (https://github.com/vuejs/language-tools/pull/5768#issuecomment-3569623037)vue.server.path compatible with Windows (#5772)getVIfNode to support v-else-if directives (#5765) - Thanks to @serkodev!{} instead of its string value for style="..." (#5781) - Thanks to @KazariEX!v-bind="$attrs" loses navigation when inferTemplateDollarAttrs is disabled (#5783)const props = completion in StringLiteral (#5786)$el type for generic components using inferComponentDollarEl (#5794)<script> content generates before <script setup> (#5795)bypassDefineComponent hack for better JS support (#4876) (#5379)Prettify<T> caused generic props gets inferred as unknown (#5667) - Thanks to @so1ve!< as operator in SFC scripts (#5801) - Thanks to @serkodev!isTypeScriptDocument in VSCode for typescript.preferences.autoImportSpecifierExcludeRegexes config support (#5364)vapor attr (#5496):class - Thanks to @KazariEX!debugger from virtual code for tsslint compatibilityref="xxx"rawType and __internal__.tsLs (#5808)createResolveModuleName (https://github.com/volarjs/volar.js/pull/293) (#5644) - Thanks to @serkodev!serverInfo to initialized result (#5767) - Thanks to @kada49!template (#5755) - Thanks to @serkodev and @KazariEX!vue-tsc crash during single file checks (#5768) - Thanks to @KazariEX!@ts-expect-error directive on components with loose props checks (#5750) - Thanks to @serkodev and @KazariEX!v-else (#5753) - Thanks to @serkodev and @KazariEX!<template> (#5734) - Thanks to @KazariEX!lang="html" (#5728) - Thanks to @serkodev!propTypes has no elements (#5704) - Thanks to @so1ve!vue-tsc broken link to example boilerplate in README.md (#5721) - Thanks to @heyakyra!--tsdk command line arg (#5691)Ref by RefSymbol property (#5687) - Thanks to @KazariEX!__vue__ in project instead of program (#5690)$scopedSlots support for Vue 2__VLS_export (#5696) - Thanks to @KazariEX!writeGlobalTypes without side effects__vue__ in project instead of program (#5690)--tsdk command line arg (#5691)vue.server.path setting (#5647)VueVirtualCode in constructor (#5635) - Thanks to @KazariEX!typescriptServerPlugin languages without FS hackfile scheme files (#5653) - Thanks to @KazariEX!@typescript-eslint/no-unnecessary-condition (#5630):class expression with parens - Thanks to @KazariEX!target option (#5583) - Thanks to @gxres042!vue-component-type-helpers to lib/helpers (#5600)configFileName default value (#5606)js/ts.hover.maximumLength and typescript.experimental.expandableHover (#5577)exclude config suggestion from global types error message (#5579) - Thanks to @Ciallo-Chiakivue-component-type-helpers to current version (#5589) - Thanks to @kingyue737!compileSFCStyle to provide style related infomation (#5548) - Thanks to @KazariEX!v-for (#5553) - Thanks to @KazariEX!modelModifiers for explicitly declared default model name (#5558) - Thanks to @KazariEX!.value insertionclass scope fallback for component semantic tokens (#5559) - Thanks to @KazariEX!globalTypesPath for FS filesrestartExtensionHostskipTemplateCodegen when exposing $slots - Thanks to @KazariEX!checkUnknownEvents and checkUnknownComponents in sfc (#5537) - Thanks to @KazariEX!node_modules based on file's directory (#5525) - Thanks to @KazariEX!globalTypesPath option for non-npm like environment (#5505) - Thanks to @KazariEX!/ or ) - Thanks to @KazariEX!colorizedBracketPairs config for plaintext<component> without is prop as normal component - Thanks to @KazariEX!@vue/typescript-plugin last (#5483)name value of <slot> - Thanks to @KazariEX!allowJs to reactivity analyze host - Thanks to @KazariEX!md for markdown (#5497) - Thanks to @KazariEX!module from template completion - Thanks to @KazariEX!minimatch to picomatch (#5499) - Thanks to @KazariEX!.d.${ext}.ts file exists (volarjs/volar.js#277)v-else (#5470) - Thanks to @KazariEX!getModeForUsageLocation to calculate the resolution modestrictVModel option (#5229) - Thanks to @KazariEX!v-on syntax (#5275) - Thanks to @KazariEX!strictCssModules option (#5164) - Thanks to @KazariEX!ComponentAttrs type for attribute extractiontypescript.sortImports, typescript.removeUnusedImports commands (#5444)zh-CN, zh-TW, ru and ja (#5330, #5340, #5404) - Thanks to @KazariEX, @PurplePlanen and @zyoshoka!typescript-language-features module loading race condition (#5260)defineModels (#5273) - Thanks to @KazariEX!data- attribute completion from sfc level nodes - Thanks to @KazariEX!undefined from optional prop type with default in template (#5339) - Thanks to @Dylancyclone!navigation: true (#5378) - Thanks to @KazariEX!v-for (#5399) - Thanks to @KazariEX!semantic code feature on first argument of useCssModule and useTemplateRef - Thanks to @KazariEX!updateFile (#5438) - Thanks to @Akryum!Prettify<T> breaks generics inferencing (#5424) - Thanks to @so1ve!var instead of let to declare attrsVar that may be hoisted - Thanks to @KazariEX!directory path in package.json (#5283) - Thanks to @zyoshoka!vue_language_server_path in nvim setup example (#5391) - Thanks to @menuRivera!typescript.tsdk initialization option (#5409)defineProp support (#5415) - Thanks to @KazariEX!complete to suggest for claritySee changelog v2
See changelog v1
See changelog v0