返回提交历史
Modified
XFEExtension.NetCore.VSIX/ReleaseNotes.txt
+3
-3
Added
XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/sta.snippet
+41
-0
Added
XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/staa.snippet
+41
-0
Added
XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/staafull.snippet
+44
-0
Modified
XFEExtension.NetCore.VSIX/XFEExtension.NetCore.VSIX.csproj
+12
-0
Modified
XFEExtension.NetCore.VSIX/source.extension.vsixmanifest
+1
-1
XFEstudio/XFEExtension.NetCore.VSIX
合并更改
e19bc69
代码差异
6 个文件
+142
-4
@@ -1,5 +1,5 @@
1
Fix: ap snippet lose static modifier.
1
Fix: None
2
2
3
Change: None.
3
Change: None
4
4
5
Add: add cu snippet, to fast create current instance.
5
Add: Add sta staa staafull to throw a new StopAction
@@ -0,0 +1,41 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3
<CodeSnippet Format="1.0.0">
4
<Header>
5
<Title>sta</Title>
6
<Shortcut>sta</Shortcut>
7
<Description>StopAction Snippet</Description>
8
<Author>XFEstudio</Author>
9
<SnippetTypes>
10
<SnippetType>Expansion</SnippetType>
11
</SnippetTypes>
12
</Header>
13
<Snippet>
14
<References>
15
<Reference>
16
<Assembly>XFEExtension.NetCore</Assembly>
17
</Reference>
18
</References>
19
<Imports>
20
<Import>
21
<Namespace>XFEExtension.NetCore</Namespace>
22
</Import>
23
</Imports>
24
<Declarations>
25
<Literal>
26
<ID>action</ID>
27
<ToolTip>Action To Invoke</ToolTip>
28
<Default>action</Default>
29
</Literal>
30
<Literal>
31
<ID>message</ID>
32
<ToolTip>Exception Message</ToolTip>
33
<Default>message</Default>
34
</Literal>
35
</Declarations>
36
<Code Language="csharp">
37
<![CDATA[throw new StopAction($action$, "$message$");$end$]]>
38
</Code>
39
</Snippet>
40
</CodeSnippet>
41
</CodeSnippets>
@@ -0,0 +1,41 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3
<CodeSnippet Format="1.0.0">
4
<Header>
5
<Title>staa</Title>
6
<Shortcut>staa</Shortcut>
7
<Description>StopAction Action Snippet</Description>
8
<Author>XFEstudio</Author>
9
<SnippetTypes>
10
<SnippetType>Expansion</SnippetType>
11
</SnippetTypes>
12
</Header>
13
<Snippet>
14
<References>
15
<Reference>
16
<Assembly>XFEExtension.NetCore</Assembly>
17
</Reference>
18
</References>
19
<Imports>
20
<Import>
21
<Namespace>XFEExtension.NetCore</Namespace>
22
</Import>
23
</Imports>
24
<Declarations>
25
<Literal>
26
<ID>action</ID>
27
<ToolTip>Action To Invoke</ToolTip>
28
<Default>action</Default>
29
</Literal>
30
<Literal>
31
<ID>message</ID>
32
<ToolTip>Exception Message</ToolTip>
33
<Default>message</Default>
34
</Literal>
35
</Declarations>
36
<Code Language="csharp">
37
<![CDATA[throw new StopAction(() => $action$, "$message$");$end$]]>
38
</Code>
39
</Snippet>
40
</CodeSnippet>
41
</CodeSnippets>
@@ -0,0 +1,44 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3
<CodeSnippet Format="1.0.0">
4
<Header>
5
<Title>staafull</Title>
6
<Shortcut>staafull</Shortcut>
7
<Description>StopAction Action Full Snippet</Description>
8
<Author>XFEstudio</Author>
9
<SnippetTypes>
10
<SnippetType>Expansion</SnippetType>
11
</SnippetTypes>
12
</Header>
13
<Snippet>
14
<References>
15
<Reference>
16
<Assembly>XFEExtension.NetCore</Assembly>
17
</Reference>
18
</References>
19
<Imports>
20
<Import>
21
<Namespace>XFEExtension.NetCore</Namespace>
22
</Import>
23
</Imports>
24
<Declarations>
25
<Literal>
26
<ID>actions</ID>
27
<ToolTip>Action To Invoke</ToolTip>
28
<Default>actions</Default>
29
</Literal>
30
<Literal>
31
<ID>message</ID>
32
<ToolTip>Exception Message</ToolTip>
33
<Default>message</Default>
34
</Literal>
35
</Declarations>
36
<Code Language="csharp">
37
<![CDATA[throw new StopAction(() =>
38
{
39
$actions$
40
}, "$message$");$end$]]>
41
</Code>
42
</Snippet>
43
</CodeSnippet>
44
</CodeSnippets>
@@ -84,6 +84,18 @@
84
84
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
85
85
<IncludeInVSIX>true</IncludeInVSIX>
86
86
</Content>
87
<Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\sta.snippet">
88
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
89
<IncludeInVSIX>true</IncludeInVSIX>
90
</Content>
91
<Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\staa.snippet">
92
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
93
<IncludeInVSIX>true</IncludeInVSIX>
94
</Content>
95
<Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\staafull.snippet">
96
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
97
<IncludeInVSIX>true</IncludeInVSIX>
98
</Content>
87
99
<Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\cu.snippet">
88
100
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
89
101
<IncludeInVSIX>true</IncludeInVSIX>
@@ -1,7 +1,7 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
3
3
<Metadata>
4
<Identity Id="XFEExtension.NetCore.VSIX.26e90afd-9260-4229-819a-61538e0198f7" Version="0.1.3" Language="zh-CN" Publisher="XFEstudio" />
4
<Identity Id="XFEExtension.NetCore.VSIX.26e90afd-9260-4229-819a-61538e0198f7" Version="0.2.0" Language="zh-CN" Publisher="XFEstudio" />
5
5
<DisplayName>XFEExtension.NetCore.VSIX</DisplayName>
6
6
<Description xml:space="preserve">A Extension VSIX package based on the XFEExtenison.NetCore Nuget Package</Description>
7
7
<License>LICENSE.txt</License>