Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
add using-snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed Oct 31, 2011
1 parent 8b6d1d6 commit d579a21
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -126,6 +126,12 @@ public sealed class SnippetManager
Text = "try {\n\t${Selection}\n} finally {\n\t${Caret}\n}",
Keyword = "try"
},
new CodeSnippet {
Name = "using",
Description = "Using statement",
Text = "using (${resource=null}) {\n\t${Selection}\n}",
Keyword = "try" // using is not a good keyword, because it is usable outside of method bodies as well.
},
}
},
new CodeSnippetGroup {
Expand Down

0 comments on commit d579a21

Please sign in to comment.