Skip to content

Commit cf8dfaf

Browse files
authored
Document how to configure the Rails add-on (#3373)
1 parent 7c082ab commit cf8dfaf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: jekyll/rails-add-on.markdown

+15
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,18 @@ The Rails add-on provides 3 ways to run and debug `ActiveSupport` tests using th
150150
### Debug Tests With VS Code
151151

152152
![Debug Tests With VS Code](images/ruby-lsp-rails-debug.gif)
153+
154+
## Settings
155+
156+
The following setting configures aspects of the Rails add-on. Values shown are the defaults.
157+
158+
```jsonc
159+
// Settings for all add-ons
160+
"rubyLsp.addonSettings": {
161+
// Settings for the Rails add-on
162+
"Ruby LSP Rails": {
163+
// Enable prompt for pending migrations
164+
"enablePendingMigrationsPrompt": true
165+
}
166+
}
167+
```

0 commit comments

Comments
 (0)