Skip to content

Missing step to confirm TypeSpec Emitter #5579

Description

@xiaohua899

Description

After selecting the language when Generate from TypeSpec, there is no step to confirm the TypeSpec emitter. Go directly to the generate step.

Repro steps

  1. Install the typespec extension.
  2. Install @typespec/compiler: npm install -g @typespec/compiler.
  3. Typing >TypeSpec: Generate from TypeSpec and Click the command.
  4. Choose a project.
  5. Select Emitter Type. (Client Code or Protocol Schema)
  6. Select a language.(e.g. DotNet)

Environment

  • TypeSpec for VS Code extension version: 0.63.0
  • TypeSpec compiler/CLI version: 0.63.0
  • OS: Windows, Linux
  • Emitter Type: Client Code, Protocol Schema
  • Language: Python, Java, JavaScript, .NET

Expected behavior

There should be a prompt Here are libraries to install or update, and TypeSpec emitters to install and their minimum requirements.

image

image

@RodgeFu, @chunyu3 and @msyyc for notification.

Metadata

Metadata

Assignees

Labels

ideIssues for VS, VSCode, Monaco, etc.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions