Skip to content

plug and play? #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
masterkain opened this issue Aug 9, 2022 · 1 comment
Closed

plug and play? #54

masterkain opened this issue Aug 9, 2022 · 1 comment

Comments

@masterkain
Copy link

masterkain commented Aug 9, 2022

hello,
I installed the extension, which prompted to install syntax_tree gem, done and the Syntax Tree logs shows Starting language server: stree lsp --print-width=80 with no errors so I guess something is running.

but how to actually format Ruby files? I disabled my previous prettier format on save but I can't find instructions if there's something to configure, because actually on save it does nothing.

any way I can help tracking down the issue?

@masterkain
Copy link
Author

set up

  "[ruby]": {
    "editor.defaultFormatter": "ruby-syntax-tree.vscode-syntax-tree",
    "editor.formatOnSave": true
  },

seems to work, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant