返回提交历史
Added
XFEExtension.NetCore.VSIX/CodeSnippets/1033/XFESnippets.xml
+12
-0
Renamed
XFEExtension.NetCore.VSIX/CodeSnippets/CSharp/to.snippet
+0
-0
Added
XFEExtension.NetCore.VSIX/SnippetUtilities.cs
+7
-0
Modified
XFEExtension.NetCore.VSIX/XFEExtension.NetCore.VSIX.csproj
+23
-8
Modified
XFEExtension.NetCore.VSIX/source.extension.vsixmanifest
+19
-21
XFEstudio/XFEExtension.NetCore.VSIX
完成部分实现
0313fb8
代码差异
5 个文件
+61
-29
@@ -0,0 +1,12 @@
1
<?xml version="1.0" encoding="utf-8" ?>
2
<SnippetCollection>
3
<Language Lang="XFESnippets" Guid="{26e90afd-9260-4229-819a-61538e0198f7}">
4
<SnippetDir>
5
<OnOff>On</OnOff>
6
<Installed>true</Installed>
7
<Locale>1033</Locale>
8
<DirPath>%InstallRoot%\CodeSnippets\CSharp\%LCID%\</DirPath>
9
<LocalizedName>Snippets</LocalizedName>
10
</SnippetDir>
11
</Language>
12
</SnippetCollection>
此文件没有可显示的逐行差异。
@@ -0,0 +1,7 @@
1
namespace XFEExtension.NetCore.VSIX
2
{
3
static class SnippetUtilities
4
{
5
internal const string LanguageServiceGuidStr = "26e90afd-9260-4229-819a-61538e0198f7";
6
}
7
}
@@ -46,17 +46,17 @@
46
46
</PropertyGroup>
47
47
<ItemGroup>
48
48
<Compile Include="Properties\AssemblyInfo.cs" />
49
<Compile Include="SnippetUtilities.cs" />
49
50
<Compile Include="XFEExtension.NetCore.VSIXPackage.cs" />
50
51
</ItemGroup>
51
52
<ItemGroup>
52
<Content Include="CodeSnippets\CSharp\cr.snippet">
53
<IncludeInVSIX>true</IncludeInVSIX>
53
<Content Include="CodeSnippets\1033\XFESnippets.xml" />
54
<None Include="CodeSnippets\CSharp\cr.snippet">
54
55
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
55
</Content>
56
<Content Include="CodeSnippets\Normal\to.snippet">
57
<IncludeInVSIX>true</IncludeInVSIX>
56
</None>
57
<None Include="CodeSnippets\CSharp\to.snippet">
58
58
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
59
</Content>
59
</None>
60
60
<None Include="source.extension.vsixmanifest">
61
61
<SubType>Designer</SubType>
62
62
</None>
@@ -65,8 +65,20 @@
65
65
<Reference Include="System" />
66
66
</ItemGroup>
67
67
<ItemGroup>
68
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.0.32112.339" ExcludeAssets="runtime" />
69
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.11.290-preview2" />
68
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.10.40171" ExcludeAssets="runtime" />
69
<PackageReference Include="Microsoft.VisualStudio.Shell.Immutable.10.0">
70
<Version>16.10.31321.278</Version>
71
</PackageReference>
72
<PackageReference Include="Microsoft.VisualStudio.TextManager.Interop">
73
<Version>17.10.40170</Version>
74
</PackageReference>
75
<PackageReference Include="Microsoft.VisualStudio.TextManager.Interop.8.0">
76
<Version>17.10.40170</Version>
77
</PackageReference>
78
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.10.2185">
79
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
80
<PrivateAssets>all</PrivateAssets>
81
</PackageReference>
70
82
</ItemGroup>
71
83
<ItemGroup>
72
84
<Content Include="LICENSE.txt">
@@ -86,6 +98,9 @@
86
98
<IncludeInVSIX>true</IncludeInVSIX>
87
99
</Content>
88
100
</ItemGroup>
101
<ItemGroup>
102
<Folder Include="CodeSnippets\Normal\" />
103
</ItemGroup>
89
104
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
90
105
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
91
106
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
@@ -1,24 +1,22 @@
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="1.0" 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
</Metadata>
8
<Installation>
9
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
10
<ProductArchitecture>amd64</ProductArchitecture>
11
</InstallationTarget>
12
</Installation>
13
<Dependencies>
14
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
15
</Dependencies>
16
<Prerequisites>
17
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
18
</Prerequisites>
19
<Assets>
20
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
21
<Asset Type="Microsoft.VisualStudio.CodeSnippet" Path="CodeSnippets\CSharp\cr.snippet" d:Source="File" />
22
<Asset Type="Microsoft.VisualStudio.CodeSnippet" Path="CodeSnippets\Normal\to.snippet" d:Source="File" />
23
</Assets>
3
<Metadata>
4
<Identity Id="XFEExtension.NetCore.VSIX.26e90afd-9260-4229-819a-61538e0198f7" Version="1.0" 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
</Metadata>
8
<Installation>
9
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
10
<ProductArchitecture>amd64</ProductArchitecture>
11
</InstallationTarget>
12
</Installation>
13
<Dependencies>
14
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
15
</Dependencies>
16
<Prerequisites>
17
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
18
</Prerequisites>
19
<Assets>
20
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
21
</Assets>
24
22
</PackageManifest>