solargraph
forem
solargraph | forem | |
---|---|---|
16 | 198 | |
1,847 | 21,573 | |
- | 0.3% | |
7.4 | 9.8 | |
2 months ago | 7 days ago | |
Ruby | Ruby | |
MIT License | GNU Affero General Public License v3.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
solargraph
-
A few words on Ruby's type annotations state
My favorite typing solution so far in ruby is Solargraph https://solargraph.org/.
-
Nice Ruby IDEs
Solagraph: https://solargraph.org
-
Using SyntaxSuggest with Solargraph LSP!
Yay! For those who donβt know solargraph provides a language server protocol (LSP) for Ruby so that your IDE (like vscode) can know more about the code youβre writing https://solargraph.org/.
-
Ruby Delights Built into the Language: No Gems Required
If you're looking for IDE-level language assistance, I can't help you, but since you mentioned nvim: I use regular vim with CoC / Conquer of Completion (vim plugin; LSP server, may not strictly be necessary for nvim), Solargraph (Ruby Gem; language server), and Rubocop (also a Gem) for linting. I previously/still use ALE (vim plugin; Asynchronous Lint Engine) because I haven't gotten CoC+Solargraph to play nice with Rubocop, probably due to something silly.
https://github.com/neoclide/coc.nvim
https://solargraph.org/
https://rubocop.org/
https://github.com/dense-analysis/ale
My impression with all of this running under MacVim... it's plenty responsive. It can take a while for Solargraph to index everything on startup if you're working in a big project; once it loads, it's snappy. (There's probably a way to cache that startup scan.)
-
I need help with lsp-mode setup
I am trying to use lsp-mode for ruby via solargraph and for Rails era templates using web-mode via lsp-tailwindcss and both seems to kinda sorta work but neither one is really giving me all the features that I see that others have.
-
State of the Ruby language server (LSP) ecosystem / looking for suggestions
https://github.com/castwide/solargraph Seems to be the most mature/developed one. Slow on my system, bad documentation. Language docs are shipped as "cores" you imperatively download that float around in your home directory; this is messy and prone to failure. Doesn't have any docs for versions of ruby past 2.7.
-
Trouble With Solargraph Completions
I have recently installed Solargraph and can see that when I open a Ruby file that the LSP is attached to my buffer via `LspInfo`. However whenever I am trying to do some very basic completions or see what kind of methods are available for an object, literally nothing happens. What I am aiming for is something like on the official Solargraph website: https://solargraph.org/
-
Linting and Auto-formatting Ruby Code With RuboCop
If you use Vim or Neovim, you can display RuboCop's diagnostics through coc.nvim. You need to install the Solargraph language server (gem install solargraph), followed by the coc-solargraph extension (:CocInstall coc-solargraph). Afterwards, configure your coc-settings.json file as shown below:
-
anyone here using neovim for ruby on rails projects?
The builtin LSP works well with solargraph to provide autocompletion.
-
Sorbet: Stripe's Type Checker for Ruby
Sorbet and/or RBS seems like they may be the future given how popular typescript is with JS programmers these days. There are some other projects that assist programmers without relying on formal type definitions in the source or shadow typing files:
Solargraph combines inference and insight from YARD docs (standard for many gems, plus Castwide has written more YARD for the standard library) to make some pretty good guesses. Crucially it has plugins that add the insights from popular gems with static analysis (e.g. reek, rubocop). I maintain solargraph-rails, which parses your Ruby to make guesses about (surprise) Rails.
The typeprof gem can help IDE plugins make typing guesses based on your tests. This project is interesting to me because it's going into Ruby 3.1 so I think it reflects awareness from the core ruby team that many programmers are not ready to add types to their code.
solargraph: https://github.com/castwide/solargraph
forem
-
Deploying Forem on Render.com PromptZone.com
The journey of deploying an open-source software platform like forem can be complex and daunting, but with the right tools and services, it can also be remarkably rewarding. This article details my experience deploying Forem, the software behind the Dev.to, on Render.com, deploying Promptzone.com.
-
Lesser Known Features of DEV β Embeds!
In the future, I think we will probs make this uniform with the others. I've logged this request here on GitHub... hmmm, maybe I should embed it here instead. π
-
I fixed the "Save draft" Button on dev.to - No Accidental Publishing Anymore π
I even opened a discussion, which got no responses so far (which I think existed somewhere else or I am the only one with this issue...).
-
What are you learning about this weekend? π§
Whether you're sharpening your JS skills, making PRs to your OSS repo of choice π, sprucing up your portfolio, or writing a new post here on DEV, we'd like to hear about it.
-
Tackling Clickbait on DEV: Strategy and Technical Approach
Add articles clickbait_score as factor in final feed ordering #20493
-
Crushing it: My New Year's Resolutions for 2024
Do more documentation-related and code contributions to Forem's repository
-
πΊπΌ My life update and the Open Source #DEVImpact2023
This year again, I contributed to DEV with multiples ways, I've contributed very little to the repository, moderated the bad posts quite a bit, and welcomed newcomers to the platform. I feel that a place like this should always be so welcoming to users, so why shouldn't I?
-
π #DEVImpact2023: A Year of Challenges, Triumphs, and The Future
docs: making updates to Editor Guide #20258
-
Open Source alternatives to tools you Pay for
Forem - Open Source Alternative to Circle
-
What you learning about this weekend? π§
Whether you're sharpening your JS skills, making PRs to your OSS repo of choice π, sprucing up your portfolio, or writing a new post here on DEV, we'd like to hear about it.
What are some alternatives?
ruby-lsp - An opinionated language server for Ruby
Discourse - A platform for community discussion. Free, open, simple.
sorbet - A fast, powerful type checker designed for Ruby
ComfyJS - Comfiest Twitch Chat Library for JavaScript | NodeJS + Browser Support
steep - Static type checker for Ruby
klipse - Klipse is a JavaScript plugin for embedding interactive code snippets in tech blogs.
vscode-ruby - Provides Ruby language and debugging support for Visual Studio Code
reactor - Phoenix LiveView but for Django
Roda - Routing Tree Web Toolkit
ghost-on-heroku - One-button Heroku deploy for the Ghost 3.2.0 blogging platform.
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Ruby on Rails - Ruby on Rails