问题
How can I add a keybinding in Atom to run rustfmt on the current file? Do I have to create or install a package? Can I attach it to the "Editor: Auto Indent" command? How do I find out which package Auto Indent comes from?
回答1:
There is a package called atom-beautify which seems to have preliminary support for rustfmt.
来源:https://stackoverflow.com/questions/31761199/add-simple-keybinding-in-atom