rubberduck-ai / rubberduck-vscode

Use AI-powered code edits, explanations, code generation, error diagnosis, and chat in Visual Studio Code with the official OpenAI API.
https://marketplace.visualstudio.com/items?itemName=Rubberduck.rubberduck-vscode
MIT License
602 stars 75 forks source link

When using `Generate Unit Test` multiple tabs are opened at the same time #75

Open dtoma-plenty opened 1 year ago

dtoma-plenty commented 1 year ago

Describe the bug

When using Generate code or Generate Unit Test multiple tabs are opened in the same time

How to reproduce

In an Angular application, open a component's TS file, select all the lines then right click and select Generate Unit Test

Expected behavior

Generate Unit Test should only open one tab

Screenshots

Screenshot 2023-03-15 at 17 13 05

Additional information

lgrammel commented 1 year ago

Thanks for reporting, this happened to me as well. I'll look into it.