Skip to content

Commit 002318e

Browse files
author
Andrew Ferrier
committed
feat: Add support for C#
1 parent 7017ca6 commit 002318e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ statements appropriate to the language being edited, which include:
2323
* `bash`
2424
* `c`
2525
* `cpp` (C++)
26+
* `cs` (C#)
2627
* `dart`
2728
* `go`
2829
* `java`
@@ -281,7 +282,7 @@ If it helps to understand these, you can look at the built-in configurations in
281282
| arduino | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
282283
| bash/sh | :+1: | :+1: | :+1: | :x: | :+1: | :x: | :x: |
283284
| C | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
284-
| C# | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
285+
| C# | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
285286
| C++ | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :x: |
286287
| CMake | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
287288
| dart | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |

lua/debugprint/filetypes.lua

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ return {
2626
mid_var = '" << ',
2727
right_var = " << std::endl;",
2828
},
29+
["cs"] = {
30+
left = 'System.Console.WriteLine($"',
31+
right = '")',
32+
mid_var = "{",
33+
right_var = '}");',
34+
},
2935
["dart"] = {
3036
left = 'print("',
3137
right = '");',

0 commit comments

Comments
 (0)