vim-rails
vim-rails copied to clipboard
rails.vim: Ruby on Rails power tools
When using ViewComponent, you'll have a `.rb` file in app/components, and a corresponding Rails view whose path is the same except for the file extension. For example: app/components/foo_component.rb app/components/foo_component.html.erb Is...
Hi everybody, I have a strange thing, gf works fine for me e.g. when in a Controller, it jumps to the model, when I have a partial, it jumps to...
I'm using Minitest in a Rails 7.1 app and I was expecting to be able to call navigation commands like `:Etest models` and it work exactly like Rspec navigation commands,...
Hi There! Just started leveraging this plugin, and it's amazing (👏). Thank you for all your hard work on this! Something I noticed, is that with the new Rails view...
First off, thank you so much for your work on vim-rails and your other vim plugins, I use them every day and they are delightful. My issue was that `gf`...
Love the plugin! One small problem I've encountered is that when, in a minitest file, I run `:Runner` and provide a range, the test does not run if it has...
Ever since Vim 8 (released 2016-09-12), it's supported plugin directories natively in `~/.vim/pack/*/start/`. For example: ```sh mkdir -p ~/.vim/pack/my-ruby-stuff/start git clone https://github.com/tpope/vim-rails ~/.vim/pack/my-ruby-stuff/start/vim-rails ``` This is sufficient to install the...
For most of the api only rails application, requests specs are used in favour of controller specs. `:AV` does not recognise requests specs. Could we have a fallback to them?...
Hello! Is there any command I can use to create an alternate or relative file if it's not created yet? If there isn't, it would be cool if you add...
Rspec system specs have largely replaced feature specs for high end testing. It would be nice to have an :Esystem command to edit these specs.