Rails Partial for VSCode
Quickly create partials from selected code right out of your views.
Inspired by Rails Partial extension for Sublime Text.
How it works
- Select some code you want to move to a partial and press
Alt + P
(or callRails Partial: Create partial
command) - Enter partial name (without underscore and file extension)
- Press
Enter
.
That's it!
Shortcuts
alt + p
- Create a partial from selection