返回提交历史
Added
XFEExtension.NetCore.VSIX/ProjectTemplates/XFEApplication (WinUI3).zip
+0
-0
Modified
XFEExtension.NetCore.VSIX/ReleaseNotes.txt
+2
-2
Modified
XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/acd.snippet
+1
-1
Modified
XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/acl.snippet
+1
-1
Added
XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/op.snippet
+42
-0
Modified
XFEExtension.NetCore.VSIX/XFEExtension.NetCore.VSIX.csproj
+8
-0
Modified
XFEExtension.NetCore.VSIX/XFEExtension.NetCore.VSIXPackage.cs
+0
-1
Modified
XFEExtension.NetCore.VSIX/source.extension.vsixmanifest
+26
-25
XFEstudio/XFEExtension.NetCore.VSIX
更新项目模板和代码片段
本次更改主要包括以下内容: - 更新 `ReleaseNotes.txt`,添加新项目模板说明。 - 将 `acd.snippet` 和 `acl.snippet` 的格式更新为 1.0.1。 - 在 `XFEExtension.NetCore.VSIX.csproj` 中添加对新项目模板 `XFEApplication (WinUI3).zip` 和 `op.snippet` 的引用。 - 更新 `source.extension.vsixmanifest` 的版本号从 0.2.4 到 0.2.6。 - 新增 `op.snippet` 文件,定义 "Observable Property Snippet" 代码片段,支持 MVVM 开发。
3b7b676
代码差异
8 个文件
+80
-30
二进制文件已变更,无法进行逐行预览。
@@ -1,5 +1,5 @@
1
Fix: adapt to new version of XFEExtension.NetCore.AutoConfig
1
Fix: None
2
2
3
3
Change: None
4
4
5
Add: None
5
Add: New Project Template
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3
<CodeSnippet Format="1.0.0">
3
<CodeSnippet Format="1.0.1">
4
4
<Header>
5
5
<Title>acd</Title>
6
6
<Shortcut>acd</Shortcut>
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3
<CodeSnippet Format="1.0.0">
3
<CodeSnippet Format="1.0.1">
4
4
<Header>
5
5
<Title>acl</Title>
6
6
<Shortcut>acl</Shortcut>
@@ -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>op</Title>
6
<Shortcut>op</Shortcut>
7
<Description>Observable Property Snippet</Description>
8
<Author>XFEstudio</Author>
9
<SnippetTypes>
10
<SnippetType>Expansion</SnippetType>
11
</SnippetTypes>
12
</Header>
13
<Snippet>
14
<References>
15
<Reference>
16
<Assembly>CommunityToolkit.Mvvm</Assembly>
17
</Reference>
18
</References>
19
<Imports>
20
<Import>
21
<Namespace>CommunityToolkit.Mvvm.ComponentModel</Namespace>
22
</Import>
23
</Imports>
24
<Declarations>
25
<Literal>
26
<ID>type</ID>
27
<ToolTip>Property Type</ToolTip>
28
<Default>int</Default>
29
</Literal>
30
<Literal>
31
<ID>name</ID>
32
<ToolTip>Property Name (start with small letter)</ToolTip>
33
<Default>myProperty</Default>
34
</Literal>
35
</Declarations>
36
<Code Language="csharp">
37
<![CDATA[[ObservableProperty]
38
private $type$ $name$;$end$]]>
39
</Code>
40
</Snippet>
41
</CodeSnippet>
42
</CodeSnippets>
@@ -61,6 +61,10 @@
61
61
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
62
62
<IncludeInVSIX>true</IncludeInVSIX>
63
63
</Content>
64
<Content Include="ProjectTemplates\XFEApplication %28WinUI3%29.zip">
65
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
66
<IncludeInVSIX>true</IncludeInVSIX>
67
</Content>
64
68
<None Include="source.extension.vsixmanifest">
65
69
<SubType>Designer</SubType>
66
70
</None>
@@ -112,6 +116,10 @@
112
116
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
113
117
<IncludeInVSIX>true</IncludeInVSIX>
114
118
</Content>
119
<Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\op.snippet">
120
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
121
<IncludeInVSIX>true</IncludeInVSIX>
122
</Content>
115
123
</ItemGroup>
116
124
<ItemGroup>
117
125
<Reference Include="PresentationCore" />
@@ -31,7 +31,6 @@ namespace XFEExtension.NetCore.VSIX
31
31
/// XFEExtensionVSIX GUID string.
32
32
/// </summary>
33
33
public const string PackageGuidString = "32b24864-1c8f-44d1-acb3-8bff3496a2f1";
34
35
34
#region Package Members
36
35
37
36
/// <summary>
@@ -1,28 +1,29 @@
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
<Metadata>
4
<Identity Id="XFEExtension.NetCore.VSIX.26e90afd-9260-4229-819a-61538e0198f7" Version="0.2.4" Language="zh-CN" Publisher="XFEstudio" />
5
<DisplayName>XFEExtension.NetCore.VSIX</DisplayName>
6
<Description xml:space="preserve">A Extension VSIX package based on the XFEExtenison.NetCore Nuget Package</Description>
7
<License>LICENSE.txt</License>
8
<ReleaseNotes>ReleaseNotes.txt</ReleaseNotes>
9
<Icon>logoIcon.png</Icon>
10
<PreviewImage>preview1.png</PreviewImage>
11
<Tags>XFE;XFEExtension;Code;Snippet;</Tags>
12
<Preview>true</Preview>
13
</Metadata>
14
<Installation>
15
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
16
<ProductArchitecture>amd64</ProductArchitecture>
17
</InstallationTarget>
18
</Installation>
19
<Dependencies>
20
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
21
</Dependencies>
22
<Prerequisites>
23
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
24
</Prerequisites>
25
<Assets>
26
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
27
</Assets>
3
<Metadata>
4
<Identity Id="XFEExtension.NetCore.VSIX.26e90afd-9260-4229-819a-61538e0198f7" Version="0.2.6" Language="zh-CN" Publisher="XFEstudio" />
5
<DisplayName>XFEExtension.NetCore.VSIX</DisplayName>
6
<Description xml:space="preserve">A Extension VSIX package based on the XFEExtenison.NetCore Nuget Package</Description>
7
<License>LICENSE.txt</License>
8
<ReleaseNotes>ReleaseNotes.txt</ReleaseNotes>
9
<Icon>logoIcon.png</Icon>
10
<PreviewImage>preview1.png</PreviewImage>
11
<Tags>XFE;XFEExtension;Code;Snippet;</Tags>
12
<Preview>true</Preview>
13
</Metadata>
14
<Installation>
15
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
16
<ProductArchitecture>amd64</ProductArchitecture>
17
</InstallationTarget>
18
</Installation>
19
<Dependencies>
20
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
21
</Dependencies>
22
<Prerequisites>
23
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
24
</Prerequisites>
25
<Assets>
26
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
27
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="File" Path="ProjectTemplates" d:TargetPath="ProjectTemplates\XFEApplication (WinUI3).zip" />
28
</Assets>
28
29
</PackageManifest>