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
Solargraph gets stuck when saving file #234
Comments
What are your If you use format on save for other languages, you can disable it for Ruby only in "[ruby]": {
"editor.formatOnSave": false
} I'll still see if I can reproduce the error and make it work correctly. Do you get an error message and/or backtrace in the debug console (Help -> Toggle Developer Tools)? |
I deleted the project folder and started again and it worked fine. I managed to reproduce it though. My new, working
If I add The only message from the console is
when I change |
Do you also have the |
Nope. I cannot even find it on the marketplace actually |
Oh :-) Yes. I do |
Related question that I didn't want to create a new issue for: Is the formatter intended to work with this setting?:
Setting info here: https://code.visualstudio.com/docs/getstarted/settings#_default-settings Solargraph formatting works went it formats the whole file. It seems that rubocop doesn't support 'partial' formatting out of the box. (See: rubocop/rubocop#5477) |
OS: Bigsur Have the exact same problem with two brand new, identical Ruby on Rails Apps (Rails 7).
Result:
|
All of a sudden solargraph has stopped working. It is not allowing me to save any file and it gets stuck at
The only way to proceed is to click cancel. I literally cannot save any file. It has been working fine for years.
This is the content of
.solargraph.yml
. No change from the default oneAny suggestion?
The text was updated successfully, but these errors were encountered: