typespec-vs

0.56.0-dev.1 • Public • Published

TypeSpec Language Support for Visual Studio

Repository | Documentation | Issues | Samples

This provides provides TypeSpec language support for Visual Studio.

Features

  • Live diagnostic reporting
  • Syntax highlighting
  • Code completion
  • Code folding
  • Formatting
  • Hover info
  • Rename refactoring
  • Go to definition

Configure TypeSpec 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:
{
  "typespec.tsp-server.path": "${workspaceFolder}/my-nested-project/node_modules/@typespec/compiler"
}

TypeSpec 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 typespec-vs

Homepage

typespec.io

Weekly Downloads

2

Version

0.56.0-dev.1

License

MIT

Unpacked Size

40.7 kB

Total Files

4

Last publish

Collaborators

  • azure-sdk