cadl-vs

0.40.0 • Public • Published

Cadl Language Support for Visual Studio

This package provides Cadl language support for Visual Studio 2019 and 2022.

See https://github.com/microsoft/cadl#installing-visual-studio-extension for installation instructions.

NOTE: The npm package is used as an implementation detail of the cadl vs command that installs the Visual Studio Cadl extension, and not intended to be used for other purposes.

Configure CADL Visual Studio Extension

  1. Create a file .vs/VSWorkspaceSettings.json at the root of the project.
  2. Add configuration as key value pair in this file. Example:
{
  "cadl.cadl-server.path": "${workspaceFolder}/my-nested-project/node_modules/@cadl-lang/compiler"
}

Cadl wil interpolate a few variables using this pattern ${<name>}. For example ${workspaceFolder}.

Available variables:

  • workspaceFolder: Correspond to the root of your Visual Studio workspace.

Readme

Keywords

Package Sidebar

Install

npm i cadl-vs

Weekly Downloads

1

Version

0.40.0

License

MIT

Unpacked Size

89.1 kB

Total Files

5

Last publish

Collaborators

  • azure-sdk