There is a new ruby formatter in town called syntax_tree. I'm attempting to use its write cli : https://github.com/ruby-syntax-tree/syntax_tree#write
It works fine in my shell:
❯ bundle exec stree write ./spec/features/foo.rb
❯ stree write ./spec/features/foo.rb
❯ which stree
There isn't a plugin, so I'm attempting to hook it up as an external tool:
When I run the tool though, it just opens a run tab, shows `/Users/me/.rbenv/shims/stree write /Users/me/foos/spec/foo.rb`, then just hangs and I have to ctrl+C to kill it. Nothing gets formatted. Is there something I'm missing? If I replace stree with echo under program, things work fine and it doesn't hang.