Skip to content
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

Poll: is vscode-solargraph reliable/performant for medium-size Rails apps? #249

Closed
machty opened this issue Jul 6, 2022 · 2 comments
Closed

Comments

@machty
Copy link

machty commented Jul 6, 2022

I have a 2015 Apple MacBook Pro (and a new M1 MBP on the way, fortunately), and a few teammates of mine have M1 Macbook Airs. All of us encounter the same thing: for our Rails 6 project that we maintain, Vscode + solargraph starts off just fine, but after a few minutes, it just seems to get bogged down, and linting starts to take 5 seconds, then 10 seconds, and then eventually stuff crashes.

Of course, I'd like to get to the bottom of this, but I kind of wanted to take a poll of vscode-solargraph users:

Poll Question:

As a vscode-solargraph user on a Rails codebase: does vscode-solargraph work reliably-enough for you that it's A. fast enough, B. gives correct results, C. doesn't slow down other operations, like running tests or reloading Zeitwerk rails code after a code change, and D. you're not constantly thinking about whether Solargraph is about to crash or in need of a reload?

If vscode-solargraph is satisfactory in this regard, please add a 👍 to this issue, and if it is not, or in general you're using vscode-solargraph in some partially functional manner, please add a 👎 .

I'm asking because before I do some perf work on our vscode-solargraph setup, I want to know what's actually possible to attain, or if maybe the underlying technology is still going to be too slow / clunky for things to be fast.

@castwide
Copy link
Owner

castwide commented Jul 7, 2022

Performance tips: https://solargraph.org/guides/performance
Solargraph and Rails: https://solargraph.org/guides/rails
Troubleshooting: https://solargraph.org/guides/troubleshooting
solargraph-rails plugin (work in progress): https://github.com/iftheshoefritz/solargraph-rails

If you want to report a bug, request a feature, or ask a specific question, please feel free to open a new issue or post a discussion.

@castwide castwide closed this as completed Jul 7, 2022
@machty
Copy link
Author

machty commented Jul 7, 2022

TIL GH Discussions have Polls now; moved this issue here: #251

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

2 participants