File tree 1 file changed +22
-9
lines changed
1 file changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,27 @@ jobs:
56
56
body : |
57
57
## Install
58
58
59
- Add the following entry to your `plugins` array in *.dprintrc.json*:
59
+ In *.dprintrc.json*:
60
60
61
- ```jsonc
62
- {
63
- // etc...
64
- "plugins": [
65
- "https://plugins.dprint.dev/roslyn-${{ steps.get_tag_version.outputs.TAG_VERSION }}.exe-plugin@${{ steps.get_plugin_file_checksum.outputs.CHECKSUM }}"
66
- ]
67
- }
68
- ```
61
+ 1. Specify the plugin url and checksum in the `"plugins"` array.
62
+ ```jsonc
63
+ {
64
+ // etc...
65
+ "plugins": [
66
+ "https://plugins.dprint.dev/roslyn-${{ steps.get_tag_version.outputs.TAG_VERSION }}.exe-plugin@${{ steps.get_plugin_file_checksum.outputs.CHECKSUM }}"
67
+ ]
68
+ }
69
+ ```
70
+ 2. Ensure .cs and .vb file extensions are matched in an "includes" pattern.
71
+ 3. Add a "roslyn" configuration property if desired.
72
+
73
+ ```jsonc
74
+ {
75
+ // ...etc...
76
+ "roslyn": {
77
+ "csharp.indentBlock": false,
78
+ "visualBasic.indentWidth": 2
79
+ }
80
+ }
81
+ ```
69
82
draft : true
You can’t perform that action at this time.
0 commit comments