rsaz / csharp-snippet-productivity

The complete snippet toolbox for C#"
MIT License
19 stars 6 forks source link

Escaping from New Class creation means undefined.cs is created #7

Closed mikael-bergstrom-ntisthlm closed 2 years ago

mikael-bergstrom-ntisthlm commented 2 years ago

Small bug? If you start creating a class/interface and cancel out of it using ESC key, an item named "undefined" is created.

I'm guessing intended/expected behavior would be that nothing be created, and the action be completely cancelled.

rsaz commented 2 years ago

Small bug? If you start creating a class/interface and cancel out of it using ESC key, an item named "undefined" is created.

I'm guessing intended/expected behavior would be that nothing be created, and the action be completely cancelled.

That's by design, I can change that to cancel the operation if user press esc for sure.

rsaz commented 2 years ago

Problem solved and it is in the release 1.2.7