pderichs / sublime_rubocop

A Sublime Text RuboCop plugin.
238 stars 41 forks source link

Key combination for autocomplete current file #54

Open prutheus opened 7 years ago

prutheus commented 7 years ago

Hello!

How can I create a key combination to do:

RuboCop: Autocorrect current file ?

Irostovsky commented 6 years ago

Hi @Prutheus Go to the user key bindings for the rubocop: screen shot 2018-02-08 at 11 34 39 am

and add the mapping for your keyboard shortcut to command:

  { "keys": ["super+shift+a"], "command": "rubocop_auto_correct"}

This works for me.