XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.VSIX

【VSIX】XFEExtension的Visual Studio扩展

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFEExtension.NetCore.VSIX

change-change the sta staa staafull to stp stpa stpafull add-Add vm code snip, so that you can add a ViewModel to the current class quickly

450834a
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

7 个文件 +63 -12
Modified XFEExtension.NetCore.VSIX/ReleaseNotes.txt +2 -2
@@ -1,5 +1,5 @@
1 Fix: fix sta and staa and staafull's action
1 Fix: change the sta staa staafull to stp stpa stpafull
2 2
3 3 Change: None
4 4
5 Add: None
5 Add: Add vm code snip, so that you can add a ViewModel to the current class quickly
Renamed XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/stp.snippet +2 -2
@@ -2,8 +2,8 @@
2 2 <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3 3 <CodeSnippet Format="1.0.0">
4 4 <Header>
5 <Title>sta</Title>
6 <Shortcut>sta</Shortcut>
5 <Title>stp</Title>
6 <Shortcut>stp</Shortcut>
7 7 <Description>StopAction Snippet</Description>
8 8 <Author>XFEstudio</Author>
9 9 <SnippetTypes>
Renamed XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/stpa.snippet +2 -2
@@ -2,8 +2,8 @@
2 2 <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3 3 <CodeSnippet Format="1.0.0">
4 4 <Header>
5 <Title>staa</Title>
6 <Shortcut>staa</Shortcut>
5 <Title>stpa</Title>
6 <Shortcut>stpa</Shortcut>
7 7 <Description>StopAction Action Snippet</Description>
8 8 <Author>XFEstudio</Author>
9 9 <SnippetTypes>
Renamed XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/stpafull.snippet +2 -2
@@ -2,8 +2,8 @@
2 2 <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3 3 <CodeSnippet Format="1.0.0">
4 4 <Header>
5 <Title>staafull</Title>
6 <Shortcut>staafull</Shortcut>
5 <Title>stpafull</Title>
6 <Shortcut>stpafull</Shortcut>
7 7 <Description>StopAction Action Full Snippet</Description>
8 8 <Author>XFEstudio</Author>
9 9 <SnippetTypes>
Added XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/vm.snippet +47 -0
@@ -0,0 +1,47 @@
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>vm</Title>
6 <Shortcut>vm</Shortcut>
7 <Description>View Model 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 Editable="false">
22 <ID>viewmodelname</ID>
23 <ToolTip>视图模型</ToolTip>
24 <Default>ViewModel</Default>
25 </Literal>
26 <Literal>
27 <ID>name</ID>
28 <ToolTip>View Model Name</ToolTip>
29 <Default>ViewModel</Default>
30 </Literal>
31 <Literal>
32 <ID>get</ID>
33 <ToolTip>get property</ToolTip>
34 <Default>get</Default>
35 </Literal>
36 <Literal>
37 <ID>set</ID>
38 <ToolTip>set property</ToolTip>
39 <Default>set</Default>
40 </Literal>
41 </Declarations>
42 <Code Language="csharp">
43 <![CDATA[public static $classname$$viewmodelname$ $name$ {$get$; $set$;}$end$]]>
44 </Code>
45 </Snippet>
46 </CodeSnippet>
47 </CodeSnippets>
Modified XFEExtension.NetCore.VSIX/XFEExtension.NetCore.VSIX.csproj +7 -3
@@ -84,15 +84,15 @@
84 84 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
85 85 <IncludeInVSIX>true</IncludeInVSIX>
86 86 </Content>
87 <Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\sta.snippet">
87 <Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\stp.snippet">
88 88 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
89 89 <IncludeInVSIX>true</IncludeInVSIX>
90 90 </Content>
91 <Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\staa.snippet">
91 <Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\stpa.snippet">
92 92 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
93 93 <IncludeInVSIX>true</IncludeInVSIX>
94 94 </Content>
95 <Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\staafull.snippet">
95 <Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\stpafull.snippet">
96 96 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
97 97 <IncludeInVSIX>true</IncludeInVSIX>
98 98 </Content>
@@ -108,6 +108,10 @@
108 108 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
109 109 <IncludeInVSIX>true</IncludeInVSIX>
110 110 </Content>
111 <Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\vm.snippet">
112 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
113 <IncludeInVSIX>true</IncludeInVSIX>
114 </Content>
111 115 </ItemGroup>
112 116 <ItemGroup>
113 117 <Reference Include="PresentationCore" />
Modified XFEExtension.NetCore.VSIX/source.extension.vsixmanifest +1 -1
@@ -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.2.1" Language="zh-CN" Publisher="XFEstudio" />
4 <Identity Id="XFEExtension.NetCore.VSIX.26e90afd-9260-4229-819a-61538e0198f7" Version="0.2.2" 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>