Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Optimization] Lack of interruption function during generation process when uising TypeSpec VS Code Extension #5669

Open
jianingwang123 opened this issue Jan 20, 2025 · 0 comments
Labels
ide Issues for VS, VSCode, Monaco, etc.

Comments

@jianingwang123
Copy link
Member

Description:
When using the TypeSpec VS Code Extension, there is a lack of interruption functionality during the generation process. If I mistakenly select an unwanted language or other options, I cannot cancel midway and have to wait for the generation process to complete automatically.

Image

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.
  6. Select a language, mistakenly select an unwanted language.
  7. Have to wait for the generation process to complete automatically.

Environment:

  • TypeSpec VS Code Extension version: 0.64.0
  • TypeSpec compiler/CLI version: 0.64.0
  • OS: Windows, Linux

Expected behavior:
Users can interrupt the generation process themselves during the generation.

@RodgeFu, @msyyc and @chunyu3 for notification.

@markcowl markcowl added the ide Issues for VS, VSCode, Monaco, etc. label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide Issues for VS, VSCode, Monaco, etc.
Projects
None yet
Development

No branches or pull requests

2 participants