cadl/packages/typespec-vscode
Timothee Guerin 0dea649cd7
Update dependencies to resolve vulnerabilities and license issue (#3081)
- Remove unused rollup-plugin-dts dep that had problematic license
- Update dependencies to fix vulnerabilies
2024-03-29 21:22:06 +00:00
..
icons Add icon to website and vscode extension (#2829) 2024-01-25 11:25:28 -08:00
scripts 2/3 TypeSpec: Renaming files 2023-02-16 13:07:22 -08:00
src Clean up capitalization, parentheses, and phrasing in docs (#2817) 2024-01-25 10:40:16 -08:00
.vscodeignore Add icon to website and vscode extension (#2829) 2024-01-25 11:25:28 -08:00
CHANGELOG.json Prepare Publish for January Release (#2816) 2024-01-24 11:14:23 -08:00
CHANGELOG.md Remove old message burried in changelog (#2989) 2024-03-05 16:05:57 -08:00
LICENSE 2/3 TypeSpec: Renaming files 2023-02-16 13:07:22 -08:00
README.md Add gif to vscode readme and rerelease (#3003) 2024-03-07 15:46:27 -08:00
ThirdPartyNotices.txt Update dependencies - feb 2024 (#2900) 2024-02-08 15:14:01 -08:00
markdown-typespec.json Adding .cadl & package.json cadlMain back compat support (#1666) 2023-02-24 14:39:43 -06:00
package.json Update dependencies to resolve vulnerabilities and license issue (#3081) 2024-03-29 21:22:06 +00:00
rollup.config.ts VSCode extension: Use rollup for dev build too (#2730) 2023-12-14 10:04:01 -08:00
tsconfig.build.json VSCode extension: Use rollup for dev build too (#2730) 2023-12-14 10:04:01 -08:00
tsconfig.config.json Vitest improvements: vitest-ui, watch mode for deps, debug config (#2791) 2024-01-22 09:56:55 -08:00
tsconfig.json Migrate test framework to vitest (#2769) 2024-01-02 11:40:29 -08:00
vitest.config.ts Vitest improvements: vitest-ui, watch mode for deps, debug config (#2791) 2024-01-22 09:56:55 -08:00

README.md

TypeSpec Language Support for VS Code

Repository | Documentation | Issues | Samples

This provides provides TypeSpec language support for VS Code.

Features

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

Configure

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

Available variables:

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

typespec.tsp-server.path: Configure the server path

There are cases where the TypeSpec project is located in a subfolder. In such cases, the TypeSpec extension is not able to find the tsp compiler automatically and needs a little guidance. This setting provides the ability to configure where the tsp compiler is located.

{
  "typespec.tsp-server.path": "${workspaceFolder}/my-nested-project/node_modules/@typespec/compiler"
}