Skip to content

Commit b7f7b0c

Browse files
authored
Switch example editor to code instead of mate
It's been almost 10 years since the last TextMate update. 😢 I've seen developers be confused here - "huh, what's mate?" - and while I do not want to be seen as advocating for a particular editor, I would bet that more developers are on VS Code than are still holding on to TextMate.
1 parent 3aa026f commit b7f7b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/command/helpers/editor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def display_hint_if_system_editor_not_specified
1616
if editor.to_s.empty?
1717
say "No $VISUAL or $EDITOR to open file in. Assign one like this:"
1818
say ""
19-
say %(VISUAL="mate --wait" #{executable(current_subcommand)})
19+
say %(VISUAL="code --wait" #{executable(current_subcommand)})
2020
say ""
2121
say "For editors that fork and exit immediately, it's important to pass a wait flag;"
2222
say "otherwise, the file will be saved immediately with no chance to edit."

0 commit comments

Comments
 (0)