Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions snippets/csharp-mode/read
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Frede Brændstrup <frederikbraendstrup@gmail.com>
# name: Console.Read(...);
# key: cr
# --
Console.Read(${1:Read});
6 changes: 6 additions & 0 deletions snippets/csharp-mode/readline
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Frede Brændstrup <frederikbraendstrup@gmail.com>
# name: Console.ReadLine(...);
# key: crl
# --
Console.ReadLine(${1:Read});
13 changes: 13 additions & 0 deletions snippets/csharp-mode/trycatch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# -*- mode: snippet -*-
# contributor : Frede Brændstrup <frederikbraendstrup@gmail.com>
# name: try{...} catch (ex) {...}
# key: tc
# --
try
{
$0
}
catch (${1:Exception} ex)
{
${2:Console.WriteLine(ex.ToString());}
}
6 changes: 6 additions & 0 deletions snippets/csharp-mode/write
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Frede Brændstrup <frederikbraendstrup@gmail.com>
# name: Console.Write(...);
# key: cw
# --
Console.Write(${1:Write});
6 changes: 6 additions & 0 deletions snippets/csharp-mode/writeline
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor : Frede Brændstrup <frederikbraendstrup@gmail.com>
# name: Console.WriteLine(...);
# key: cwl
# --
Console.WriteLine(${1:Write});