

GitHub - CKolkey/quickfix_formatter
source link: https://github.com/CKolkey/quickfix_formatter
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

QuickfixFormatter
Easily integrate the vim quickfix list with your failing rspec tests. Just add this gem, set it as one of your
formatters (--format QuickfixFormatter
)
Installation
Install the gem and add to the application's Gemfile by executing:
$ bundle add quickfix_formatter
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install quickfix_formatter
Usage
Add --format QuickfixFormatter
to .rspec
or in the command line. There are two configurable settings, shown below
with their default values.
quickfix_output_file
is a string that represents the location the quickfix file is written to.
quickfix_silence
, when set to true
, will supress the text that prints after writing the file.
# spec/spec_helper.rb
RSpec.configure do |config|
config.quickfix_output_file = "tmp/quickfix.out"
config.quickfix_silence = false
end
Once rspec
has written the output file, you can load it with :cfile <path to file>
.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/ckolkey/quickfix_formatter.
License
The gem is available as open source under the terms of the MIT License.
Recommend
-
119
En Masse Takes a quickfix list and makes it editable. You can then write each change back to their respective files using your favourite way of writing files, :w or ZZ, for example. Fix multiple
-
144
README.md You've wo...
-
139
vim-ripgrep :Rg <string|pattern> Word under cursor will be searched if no argument is passed to Rg configuration Setting Default
-
142
vim-qf vim-qf—short for vim-quickfix—is a growing collection of settings, commands and mappings put together to make working with the location list/window and the quickfix list/window smoother. F...
-
171
asyncrun.vim - Run Async Shell Commands in Vim 8.0 / NeoVim and Output to Quickfix Window
-
50
A little bit of vimscript never hurt anybody. If you know what I mean.
-
69
README.md ListToggle A simple vim plugin for toggling the display of the quickfix list and the location-list. Install it with
-
35
README.md vim-qlist Vim-qlist is an updated, more powerful, version of the function discussed in
-
7
vim-qf-preview A plugin for the quickfix and location list window to quickly preview the file with the quickfix item under the cursor in a popup window. Requirements Vim >= 8.1.2250 Usage...
-
8
Quickfix AI (Alpha Release) Two powerful AI-powered extensions to simplify your browsing and coding experience. Introduction
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK