Move snippets under 'NUnit' rather than 'Test'

This commit is contained in:
Chris Maddock 2016-12-22 21:05:27 +00:00
Родитель be099c01d4
Коммит ae62595a88
7 изменённых файлов: 23 добавлений и 12 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -171,6 +171,7 @@ ClientBin/
*.publishsettings
node_modules/
orleans.codegen.cs
*.csproj.bak
# RIA/Silverlight projects
Generated_Code/

Просмотреть файл

@ -22,9 +22,13 @@
</ToolsOptionsCategory>
<ToolsOptionsCategory name="TextEditor">
<ToolsOptionsSubCategory name="CSharp-Specific">
<PropertyValue name="AddImport_SuggestForTypesInNuGetPackages">0</PropertyValue>
<PropertyValue name="AddImport_SuggestForTypesInReferenceAssemblies">0</PropertyValue>
<PropertyValue name="AutoComment">1</PropertyValue>
<PropertyValue name="AutoInsertAsteriskForNewLinesOfBlockComments">1</PropertyValue>
<PropertyValue name="BringUpOnIdentifier">1</PropertyValue>
<PropertyValue name="ClosedFileDiagnostics">1</PropertyValue>
<PropertyValue name="CSharpClosedFileDiagnostics">-1</PropertyValue>
<PropertyValue name="ClosedFileDiagnostics">-1</PropertyValue>
<PropertyValue name="DisplayLineSeparators">0</PropertyValue>
<PropertyValue name="EnableHighlightRelatedKeywords">1</PropertyValue>
<PropertyValue name="ExtractMethod_AllowMovingDeclaration">0</PropertyValue>
@ -86,7 +90,7 @@
<PropertyValue name="Style_PreferIntrinsicPredefinedTypeKeywordInMemberAccess">1</PropertyValue>
<PropertyValue name="Style_QualifyMemberAccessWithThisOrMe">0</PropertyValue>
<PropertyValue name="Style_UseVarWhenDeclaringLocals">1</PropertyValue>
<PropertyValue name="WarnOnBuildErrors">1</PropertyValue>
<PropertyValue name="WarnOnBuildErrors">0</PropertyValue>
<PropertyValue name="Wrapping_IgnoreSpacesAroundBinaryOperators">0</PropertyValue>
<PropertyValue name="Wrapping_IgnoreSpacesAroundVariableDeclaration">0</PropertyValue>
<PropertyValue name="Wrapping_KeepStatementsOnSingleLine">1</PropertyValue>

Просмотреть файл

@ -104,14 +104,20 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippets\CSharp\Test\ntestfixture.snippet">
<Content Include="Snippets\CSharp\NUnit\ntestfixture.snippet">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippets\CSharp\Test\ntest.snippet">
<Content Include="Snippets\CSharp\NUnit\ntest.snippet">
<SubType>Designer</SubType>
<IncludeInVSIX>true</IncludeInVSIX>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Snippets\CSharp\Test\ntestcase.snippet">
<Content Include="Snippets\CSharp\NUnit\ntestcase.snippet">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<None Include="source.extension.vsixmanifest">
<SubType>Designer</SubType>
@ -153,9 +159,9 @@
</TemplateReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Snippets\C++\Test\" />
<Folder Include="Snippets\VisualBasic\Test\" />
<Folder Include="Snippets\XML\Test\" />
<Folder Include="Snippets\C++\NUnit\" />
<Folder Include="Snippets\VisualBasic\NUnit\" />
<Folder Include="Snippets\XML\NUnit\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />

Просмотреть файл

@ -2,16 +2,16 @@
// C++
[$RootKey$\Languages\CodeExpansions\C/C++\Paths]
"NUnit" = "$PackageFolder$\Snippets\C++\Test"
"NUnit" = "$PackageFolder$\Snippets\C++\NUnit"
// C#
[$RootKey$\Languages\CodeExpansions\CSharp\Paths]
"NUnit" = "$PackageFolder$\Snippets\CSharp\Test"
"NUnit" = "$PackageFolder$\Snippets\CSharp\NUnit"
// Visual Basic
[$RootKey$\Languages\CodeExpansions\Basic\Paths]
"NUnit" = "$PackageFolder$\Snippets\VisualBasic\Test"
"NUnit" = "$PackageFolder$\Snippets\VisualBasic\NUnit"
// XML
[$RootKey$\Languages\CodeExpansions\XML\Paths]
"NUnit" = "$PackageFolder$\Snippets\XML\Test"
"NUnit" = "$PackageFolder$\Snippets\XML\NUnit"