0

我想在两行之间添加空行。我有更多的代码,比如一个例子。

        errorStructObj = new ErrorStruct(0, ErrorStruct.errorMainType.ExceptionError, ErrorStruct.errorEventType.Non_Wcf, ErrorStruct.errorEnvironmentType.Database, ErrorStruct.errorOperationType.Asynchronous, ErrorStruct.messageShownEnvironment.ClientAlert, "EXCCE00004", "Hata! Hata Kodu : EXCCE000004");
        Program.errorStructFactoryNesne.AddErrorStructListeler(4, errorStructObj);
        errorStructObj = new ErrorStruct(0, ErrorStruct.errorMainType.ExceptionError, ErrorStruct.errorEventType.Non_Wcf, ErrorStruct.errorEnvironmentType.Database, ErrorStruct.errorOperationType.Asynchronous, ErrorStruct.messageShownEnvironment.ClientAlert, "EXCCE00005", "Hata! Hata Kodu : EXCCE000005");
        Program.errorStructFactoryNesne.AddErrorStructListeler(5, errorStructObj);
        errorStructObj = new ErrorStruct(0, ErrorStruct.errorMainType.ExceptionError, ErrorStruct.errorEventType.Non_Wcf, ErrorStruct.errorEnvironmentType.Database, ErrorStruct.errorOperationType.Asynchronous, ErrorStruct.messageShownEnvironment.ClientAlert, "EXCCE00006", "Hata! Hata Kodu : EXCCE000006");
        Program.errorStructFactoryNesne.AddErrorStructListeler(6, errorStructObj);
4

1 回答 1

4

在 VS 中按ctrl+shift+H查找选项检查Use Regular expression搜索项类型\n和替换项类型\n\n,按ctrl+A将全部替换。

于 2015-07-28T08:28:03.297 回答