csharpextensions icon indicating copy to clipboard operation
csharpextensions copied to clipboard

already exists class file,create new class file no warning

Open fjqingyou opened this issue 6 years ago • 0 comments

Environment data

dotnet --info output: VS Code version: C# Extension version: C# for Visual Studio Code (powered by OmniSharp) 1.14.0 C# Extensions 1.3.0

Steps to reproduce

step1: I Test class have a Test Method, MyTest Mac OS system, have a ”New C# Class" menu, click it step1

step2: vscode show a new file name inputbox, input a existed class name step1

step3: press "enter" key , old Test.cs code been Erase step1

Expected behavior

if existed input name class file, show confirm replace view or intercept it input

Actual behavior

direct replace old file

fjqingyou avatar Apr 16 '18 02:04 fjqingyou