Skip to content

Commit 5c39c42

Browse files
Phase 2: Add initial Extensibility SDK settings contribution
1 parent 3f26986 commit 5c39c42

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Vsix/ConverterSettings.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System.Runtime.Serialization;
2+
using Microsoft.VisualStudio.Extensibility;
3+
4+
namespace ICSharpCode.CodeConverter.VsExtension;
5+
6+
[DataContract]
7+
public class ConverterSettings
8+
{
9+
[DataMember]
10+
public bool CopyResultToClipboardForSingleDocument { get; set; }
11+
12+
[DataMember]
13+
public bool AlwaysOverwriteFiles { get; set; }
14+
15+
[DataMember]
16+
public bool CreateBackups { get; set; } = true;
17+
18+
[DataMember]
19+
public int FormattingTimeoutMinutes { get; set; } = 15;
20+
21+
[DataMember]
22+
public bool BypassAssemblyLoadingErrors { get; set; }
23+
}

0 commit comments

Comments
 (0)