返回提交历史
Modified
XFEExtension.NetCore.VSIX/ReleaseNotes.txt
+3
-3
Modified
XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/ap.snippet
+1
-1
Added
XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/cu.snippet
+42
-0
Modified
XFEExtension.NetCore.VSIX/XFEExtension.NetCore.VSIX.csproj
+4
-0
Modified
XFEExtension.NetCore.VSIX/source.extension.vsixmanifest
+1
-1
XFEstudio/XFEExtension.NetCore.VSIX
fix-修复ap中缺少的static修饰 add-新增cu语法
5f9be2b
代码差异
5 个文件
+51
-5
@@ -1,5 +1,5 @@
1
Fix: ac snippet not working
1
Fix: ap snippet lose static modifier.
2
2
3
Change:
3
Change: None.
4
4
5
Add:
5
Add: add cu snippet, to fast create current instance.
@@ -30,7 +30,7 @@
30
30
</Declarations>
31
31
<Code Language="csharp">
32
32
<![CDATA[[AutoPath]
33
private readonly string $name$;$end$]]>
33
private static readonly string $name$;$end$]]>
34
34
</Code>
35
35
</Snippet>
36
36
</CodeSnippet>
@@ -0,0 +1,42 @@
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>cu</Title>
6
<Shortcut>cu</Shortcut>
7
<Description>Current Instance Snippet</Description>
8
<Author>XFEstudio</Author>
9
<SnippetTypes>
10
<SnippetType>Expansion</SnippetType>
11
</SnippetTypes>
12
</Header>
13
<Snippet>
14
<Declarations>
15
<Literal Editable="false">
16
<ID>classname</ID>
17
<ToolTip>类名</ToolTip>
18
<Function>ClassName()</Function>
19
<Default>ClassNamePlaceholder</Default>
20
</Literal>
21
<Literal>
22
<ID>name</ID>
23
<ToolTip>Property Name</ToolTip>
24
<Default>Current</Default>
25
</Literal>
26
<Literal>
27
<ID>get</ID>
28
<ToolTip>get property</ToolTip>
29
<Default>get</Default>
30
</Literal>
31
<Literal>
32
<ID>set</ID>
33
<ToolTip>set property</ToolTip>
34
<Default>set</Default>
35
</Literal>
36
</Declarations>
37
<Code Language="csharp">
38
<![CDATA[public static $classname$? $name$ {$get$; $set$;}$end$]]>
39
</Code>
40
</Snippet>
41
</CodeSnippet>
42
</CodeSnippets>
@@ -84,6 +84,10 @@
84
84
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
85
85
<IncludeInVSIX>true</IncludeInVSIX>
86
86
</Content>
87
<Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\cu.snippet">
88
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
89
<IncludeInVSIX>true</IncludeInVSIX>
90
</Content>
87
91
</ItemGroup>
88
92
<ItemGroup>
89
93
<Reference Include="PresentationCore" />
@@ -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.2" Language="zh-CN" Publisher="XFEstudio" />
4
<Identity Id="XFEExtension.NetCore.VSIX.26e90afd-9260-4229-819a-61538e0198f7" Version="0.1.3" 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>