typescript-plugin-yaml
v0.0.5
Published
A Typescript Language Service plugin for YAML
Downloads
8
Maintainers
Readme
Usage
# With PNPM
pnpm add typescript-plugin-yaml -D
# With Yarn
yarn add -D typescript-plugin-yaml
And then add this to tsconfig.json
.
{
"compilerOptions": {
"plugins": [{ "name": "typescript-plugin-yaml" }]
}
}
To use this plugin with Visual Studio Code, you should set your workspace's version of TypeScript, which will load plugins from your tsconfig.json
file. see: Using the workspace version of TypeScript.
Debugging
You can view TS Server log by enter Typescript: Open TS Server log
in Command Palette.
About
This plugin was inspired by typescript-plugin-css-modules and borrows heavily from its approach. Thanks for this awesome project.