Skip to content

Commit

Permalink
Change version to 0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Pihrt committed Nov 14, 2021
1 parent dd2553e commit 16e8b69
Show file tree
Hide file tree
Showing 28 changed files with 1,726 additions and 396 deletions.
22 changes: 22 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Release Notes

## 0.9.2 (2021-11-14)

### New Snippets for C#

* Lambda expression without parameters (l0)
* DateTimeOffset (dto)
* KeyValuePair (kvp)
* Record (rd)
* Record struct (rdst)
* Readonly record struct (rrdst)
* Attribute a
* AttributeUsage (au)
* Conditional (c)
* DebuggerDisplay (dd)
* DebuggerStepThrough (dst)
* DefaultValue (dv)
* Description (d)
* Flags (f)
* Obsolete (o)
* Required (r)
* TypeConverter (tc)

## 0.9.1 (2019-04-14)

* Put back snippets that were accidentally removed in 0.9.0 (ifxtp, ifx, ifxn, xn, xsne, xsnw).
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
Group|Count| |
-----|-----|---:
[Snippetica.Cpp](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Cpp/README.md)|120|[Browse](http://pihrt.net/snippetica/snippets?engine=vs&language=cpp)
[Snippetica.CSharp](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.CSharp/README.md)|696|[Browse](http://pihrt.net/snippetica/snippets?engine=vs&language=csharp)
[Snippetica.CSharp](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.CSharp/README.md)|719|[Browse](http://pihrt.net/snippetica/snippets?engine=vs&language=csharp)
[Snippetica.Html](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Html/README.md)|221|[Browse](http://pihrt.net/snippetica/snippets?engine=vs&language=html)
[Snippetica.VisualBasic](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.VisualBasic/README.md)|650|[Browse](http://pihrt.net/snippetica/snippets?engine=vs&language=vb)
[Snippetica.VisualBasic](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.VisualBasic/README.md)|651|[Browse](http://pihrt.net/snippetica/snippets?engine=vs&language=vb)
[Snippetica.Xaml](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Xaml/README.md)|91|[Browse](http://pihrt.net/snippetica/snippets?engine=vs&language=xaml)
[Snippetica.Xml](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Xml/README.md)|9|[Browse](http://pihrt.net/snippetica/snippets?engine=vs&language=xml)
[Snippetica.Xml.CodeSnippet](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Xml.CodeSnippet/README.md)|22|[Browse](http://pihrt.net/snippetica/snippets?engine=vs&language=xml)
Expand All @@ -30,11 +30,11 @@ Group|Count| |
Group|Count| |
-----|-----|---:
[Snippetica.Cpp](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Cpp/README.md)|120|[Browse](http://pihrt.net/snippetica/snippets?engine=vscode&language=cpp)
[Snippetica.CSharp](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.CSharp/README.md)|212|[Browse](http://pihrt.net/snippetica/snippets?engine=vscode&language=csharp)
[Snippetica.CSharp](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.CSharp/README.md)|235|[Browse](http://pihrt.net/snippetica/snippets?engine=vscode&language=csharp)
[Snippetica.Html](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Html/README.md)|221|[Browse](http://pihrt.net/snippetica/snippets?engine=vscode&language=html)
[Snippetica.Json](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Json/README.md)|18|[Browse](http://pihrt.net/snippetica/snippets?engine=vscode&language=json)
[Snippetica.Markdown](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Markdown/README.md)|47|[Browse](http://pihrt.net/snippetica/snippets?engine=vscode&language=markdown)
[Snippetica.VisualBasic](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.VisualBasic/README.md)|187|[Browse](http://pihrt.net/snippetica/snippets?engine=vscode&language=vb)
[Snippetica.VisualBasic](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.VisualBasic/README.md)|188|[Browse](http://pihrt.net/snippetica/snippets?engine=vscode&language=vb)
[Snippetica.Xml](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Xml/README.md)|9|[Browse](http://pihrt.net/snippetica/snippets?engine=vscode&language=xml)

*\(Generated with [DotMarkdown](http://github.com/JosefPihrt/DotMarkdown)\)*
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public override string GetVersion(Language language)
{
case Language.CSharp:
case Language.VisualBasic:
return "0.9.1";
return "0.9.2";
case Language.Cpp:
case Language.Xml:
case Language.JavaScript:
Expand Down
2 changes: 1 addition & 1 deletion src/Snippetica.VisualStudio.Dev/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Language|Count | Snippet Browser
--------|-----:|:---------------:
[Snippetica.CSharp.Dev](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.CSharp.Dev/README.md)|127|[browse](http://pihrt.net/snippetica/snippets?engine=vs&language=csharp)
[Snippetica.CSharp.Dev](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.CSharp.Dev/README.md)|118|[browse](http://pihrt.net/snippetica/snippets?engine=vs&language=csharp)
[Snippetica.VisualBasic.Dev](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.VisualBasic.Dev/README.md)|25|[browse](http://pihrt.net/snippetica/snippets?engine=vs&language=vb)
[Snippetica.Cpp.Dev](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Cpp.Dev/README.md)|25|[browse](http://pihrt.net/snippetica/snippets?engine=vs&language=cpp)
[Snippetica.Html.Dev](http://github.com/josefpihrt/snippetica/blob/master/src/Snippetica.VisualStudio/Snippetica.Html.Dev/README.md)|6|[browse](http://pihrt.net/snippetica/snippets?engine=vs&language=html)
Expand Down
14 changes: 6 additions & 8 deletions src/Snippetica.VisualStudio.Dev/Snippetica.CSharp.Dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,16 @@

Shortcut|Title
--------|-----
a|[array type](ArrayOfTType.snippet)
ae|[Assembly attribute](AssemblyAttribute.snippet)
ae|[attribute](Attribute.snippet)
ae|[Conditional attribute](ConditionalAttribute.snippet)
ae|[DebuggerDisplay attribute](DebuggerDisplayAttribute.snippet)
ae|[DebuggerStepThrough attribute](DebuggerStepThroughAttribute.snippet)
ae|[Flags attribute](FlagsAttribute.snippet)
ae|[Obsolete attribute](ObsoleteAttribute.snippet)
aa|[Assembly attribute](AssemblyAttribute.snippet)
afe|[await foreach statement](AwaitForEach.snippet)
bk|[break statement](BreakStatement.snippet)
ce|[continue statement](ContinueStatement.snippet)
cosne|[conditional operator (string.IsNullOrEmpty)](ConditionalOperatorStringIsNullOrEmpty.snippet)
cosnw|[conditional operator (string.IsNullOrWhiteSpace)](ConditionalOperatorStringIsNullOrWhiteSpace.snippet)
coxsne|[conditional operator (!string.IsNullOrEmpty)](ConditionalOperatorNotStringIsNullOrEmpty.snippet)
coxsnw|[conditional operator (!string.IsNullOrWhiteSpace)](ConditionalOperatorNotStringIsNullOrWhiteSpace.snippet)
daxn|[Debug.Assert != null](DebugAssertNotNull.snippet)
df|[Debug.Fail](DebugFail.snippet)
ifemtp|[if Enum.TryParse](IfEnumTryParse.snippet)
ifnre|[if equal to null return](IfEqualToNullReturn.snippet)
ifnred|[if equal to null return default](IfEqualToNullReturnDefault.snippet)
Expand Down Expand Up @@ -76,10 +71,13 @@ lf|[local function](LocalFunction.snippet)
na|[new array ](NewArrayOfT.snippet)
ns|[namespace](Namespace.snippet)
oe|[override modifier](OverrideModifier.snippet)
ra|[return await](ReturnAwait.snippet)
re|[return statement](ReturnStatement.snippet)
reco|[return conditional operator](ReturnConditionalOperator.snippet)
red|[return default](ReturnDefault.snippet)
rn|[return new](ReturnNew.snippet)
rnthis|[return new containing type](ReturnNewThis.snippet)
ts|[TimeSpan type](TimeSpan.snippet)
tw|[throw statement](ThrowStatement.snippet)
u|[FileStream Variable](FileStreamVariable.snippet)
u|[MemoryStream Variable](MemoryStreamVariable.snippet)
Expand Down
63 changes: 18 additions & 45 deletions src/Snippetica.VisualStudio.Dev/Snippetica.VisualStudio.Dev.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,27 +83,6 @@
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Content Include="Snippetica.CSharp.Dev\AssemblyAttribute.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\Attribute.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ConditionalAttribute.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\DebuggerDisplayAttribute.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\DebuggerStepThroughAttribute.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\FlagsAttribute.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ObsoleteAttribute.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\DirectoryCreateDirectory.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
Expand Down Expand Up @@ -185,6 +164,12 @@
<Content Include="Snippetica.CSharp.Dev\PathHasExtension.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\AssemblyAttribute.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\AwaitForEach.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\BreakStatement.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
Expand All @@ -206,6 +191,9 @@
<Content Include="Snippetica.CSharp.Dev\DebugAssertNotNull.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\DebugFail.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\IfEnumTryParse.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
Expand Down Expand Up @@ -290,6 +278,12 @@
<Content Include="Snippetica.CSharp.Dev\OverrideModifier.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ReturnAwait.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ReturnConditionalOperator.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ReturnDefault.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
Expand All @@ -308,6 +302,9 @@
<Content Include="Snippetica.CSharp.Dev\ThrowStatement.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\TimeSpan.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\VariableAsTIfNotNull.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
Expand All @@ -317,30 +314,6 @@
<Content Include="Snippetica.CSharp.Dev\YieldReturnNewThis.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ArrayOfThisType.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ArrayOfTType.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ArrayOfBooleanType.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ArrayOfInt32Type.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ArrayOfObjectType.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ArrayOfStringType.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ArrayOfInt64Type.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ArrayOfDateTimeType.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Snippetica.CSharp.Dev\ThisIfNotTryGetValue.snippet">
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
Expand Down
Loading

0 comments on commit 16e8b69

Please sign in to comment.