Home>

As the title says, rufo of ruby ​​formatter does not work in VScide.
I couldn't solve it with my own skills, so I will ask you a question.

Please teach.

Rufo failed with exit code: 1
What I tried
  • Reinstall gem-rufo
  • Reinstall plugin
  • Check the path containing rufo
  • restart vscode
Supplementary information (FW/tool version, etc.)

VScode version: 1.42.1

gem pass

/Users/xxx username xxx/.rbenv/shims/rufo

settings.json

{
    "workbench.colorTheme": "Cobalt2",
    // ruby ​​completion function
    "solargraph.useBundler": false,
    "editor.fontSize": 16,
    "workbench.iconTheme": "material-icon-theme",
    // rufo-fomatter
    "rufo.exe": "/Users/xxx username xxx/.rbenv/shims/rufo",
    "rufo.useBundler": false,
    "[ruby]": {
        "editor.defaultFormatter": "jnbt.vscode-rufo"
    },
    "editor.fontFamily": "'Ricty Diminished', Menlo, Monaco,'Courier New', monospace",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "terminal.integrated.fontSize": 16,
    "workbench.startupEditor": "newUntitledFile",
}