Skip to content

Commit

Permalink
Change shortcut for 'interface declaration' to 'i' (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Pihrt authored Jul 19, 2022
1 parent 2773c18 commit 53835d7
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Add `Directory.Build.props` ([#23](https://github.com/josefpihrt/roslynator/pull/23)).
- Simplify snippet 'using statement' (`u`) ([#27](https://github.com/josefpihrt/roslynator/pull/27)).
- Use pattern matching to check for null ([#29](https://github.com/josefpihrt/roslynator/pull/29)).
- Change shortcut for 'interface declaration' from `ie` to `i` ([#30](https://github.com/josefpihrt/roslynator/pull/30)).

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<CodeSnippet Format="1.1.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<Header>
<Title>interface</Title>
<Shortcut>ie</Shortcut>
<Shortcut>i</Shortcut>
<Description>interface declaration</Description>
<Author>Josef Pihrt</Author>
<SnippetTypes>
Expand Down
19 changes: 19 additions & 0 deletions src/Snippetica/Snippetica.CSharp/Obsolete_Interface.snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!--Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0.-->
<CodeSnippet Format="1.1.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<Header>
<Title>interface [Obsolete]</Title>
<Shortcut>ie</Shortcut>
<Description>interface declaration [Obsolete]</Description>
<Author>Josef Pihrt</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
<Keywords>
<Keyword>Meta-ExcludeFromReadme</Keyword>
<Keyword>Meta-ExcludeFromSnippetBrowser</Keyword>
</Keywords>
</Header>
<Snippet>
<Code Language="CSharp"><![CDATA[/* Shortcut 'ie' is obsolete, use 'i' instead. */$end$]]></Code>
</Snippet>
</CodeSnippet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!--Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0.-->
<CodeSnippet Format="1.1.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<Header>
<Title>internal interface [Obsolete]</Title>
<Shortcut>iie</Shortcut>
<Description>interface declaration [Obsolete]</Description>
<Author>Josef Pihrt</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
<Keywords>
<Keyword>Meta-ExcludeFromReadme</Keyword>
<Keyword>Meta-ExcludeFromSnippetBrowser</Keyword>
</Keywords>
</Header>
<Snippet>
<Code Language="CSharp"><![CDATA[/* Shortcut 'iie' is obsolete, use 'ii' instead. */$end$]]></Code>
</Snippet>
</CodeSnippet>

0 comments on commit 53835d7

Please # to comment.