solargraph VS hexpm

Compare solargraph vs hexpm and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
solargraph hexpm
16 16
1,847 1,033
- 0.3%
7.4 7.5
2 months ago 15 days ago
Ruby Elixir
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of solargraph. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-24.
  • A few words on Ruby's type annotations state
    1 project | /r/ruby | 5 May 2023
    My favorite typing solution so far in ruby is Solargraph https://solargraph.org/.
  • Nice Ruby IDEs
    2 projects | /r/ruby | 24 Mar 2023
    Solagraph: https://solargraph.org
  • Using SyntaxSuggest with Solargraph LSP!
    3 projects | /r/ruby | 28 Dec 2022
    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
    9 projects | news.ycombinator.com | 20 Dec 2022
    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
    2 projects | /r/emacs | 17 Nov 2022
    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
    11 projects | /r/ruby | 2 Oct 2022
    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
    1 project | /r/neovim | 29 Sep 2022
    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
    12 projects | dev.to | 29 Jun 2022
    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?
    10 projects | /r/neovim | 14 Jun 2022
    The builtin LSP works well with solargraph to provide autocompletion.
  • Sorbet: Stripe's Type Checker for Ruby
    6 projects | news.ycombinator.com | 29 Mar 2022
    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

hexpm

Posts with mentions or reviews of hexpm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-15.
  • How to merge Tailwind class in Elixir Phoenix
    3 projects | dev.to | 15 Jul 2023
    I was thinking of porting this library to Elixir. But first, I searched on hex.pm and Surprising. I found two packages that support merging tailwind classes: twix and tails
  • Examples of idiomatic Phoenix contexts usage with domain modeling?
    2 projects | /r/elixir | 29 Jun 2023
    I often reference https://github.com/hexpm/hexpm which is the code behind hex.pm.
  • Phoenix 1.7.0 Released: Built-In Tailwind, Verified Routes, LiveView Streams
    13 projects | news.ycombinator.com | 5 Mar 2023
    Feel free to take a look at the package manager and let me know if there are any libraries that you need that are missing. https://hex.pm/

    I can assure you I'm not spending my time inventing new libraries. In the past 3 or so years of working in Elixir there have been maybe 2 or 3 cases where I was looking for a library and couldn't find a suitable one. Writing my own code to cover those cases took a few hours. This should hardly be a deal breaker for anyone if you take into account dozens, maybe even hundreds of hours the ecosystem could save you in the long run if your project is a good fit for it.

  • How to install Phoenix (Elixir) with Tailwind CSS and Flowbite
    6 projects | dev.to | 27 Feb 2023
    Before getting started you need to have both Elixir, the Hex package manager, the PostgreSQL relational database server and Node.js installed on your local computer to be able to follow through this guide.
  • Another person that doesn't understand processes. I have questions
    2 projects | /r/elixir | 16 Oct 2022
    We can then look at that function and see that ultimately it calls Supervisor.start_link(...) on a bunch of children. That means that one process's only job is to start up all those child processes and "supervise" them, meaning if any of them crash it will be notified and be able to handle that. I note that one of the processes runs the code in the module Hexpm.RepoBase which means it's in charge of managing database connections, and one runs the code in the module HexpmWeb.Endpoint which is the process in charge of managing the Phoenix side of things, handling incoming requests, spinning up new processes to handle each one, and directing them to the right controllers and stuff. Then there's a bunch of other modules listed, for things like rate limiting, billing reports, and other stuff. You can look in the codebase for those listed modules if you're interested, but the thing to note is that by putting the module name there, what happens is the supervisor will spawn a new process and run the start_link function of that module within that new process.
  • Run tests automatically on save
    2 projects | dev.to | 26 Sep 2022
    I was looking for a solution to run tests automatically every time I save any changes. The best way so far for me is the following hex package:
  • Code repositories that help you to become a better Elixir programmer
    7 projects | /r/elixir | 11 Sep 2022
    API server and website for Hex https://github.com/hexpm/hexpm
  • A Guide to Secure Elixir Package Updates
    4 projects | dev.to | 29 Mar 2022
    Dependency Current Latest Status bunt 0.2.0 0.2.0 Up-to-date cowlib 2.11.0 2.11.0 Up-to-date credo 1.6.1 1.6.3 Update possible db_connection 2.4.1 2.4.1 Up-to-date decimal 2.0.0 2.0.0 Up-to-date earmark_parser 1.4.19 1.4.20 Update possible postgrex 0.15.13 0.16.2 Update not possible To view the diffs in each available update, visit: https://hex.pm/l/AsY7q
  • Deploying Elixir: Creating Your Own Elixir Package
    3 projects | dev.to | 6 Mar 2022
    Now it’s time to decide on a name for your package. In this guide I will be creating a new Ueberauth package. If you were to go on http://hex.pm and look at other Ueberauth packages, you notice there is a certain pattern followed. This will make the decision easy for us on what to call our Uberauth package that will implement the Patreon OAuth flow.
  • Auto Generate [Fake Usernames With Elixir]
    1 project | dev.to | 17 Jan 2022
    Go to the website https://hex.pm and search for the faker library to grab the latest version, so you can copy that to your mix config file, at the time of the making of this tutorial the latest version is 0.17.0, add the following to your project dependencies inside your mix.exs file:

What are some alternatives?

When comparing solargraph and hexpm you can also consider the following projects:

ruby-lsp - An opinionated language server for Ruby

magnetissimo - Web application that indexes all popular torrent sites, and saves it to the local database.

sorbet - A fast, powerful type checker designed for Ruby

hello_phoenix - Application template for SPAs with Phoenix, React and Redux

steep - Static type checker for Ruby

changelog.com - Changelog is news and podcast for developers. This is our open source platform.

vscode-ruby - Provides Ruby language and debugging support for Visual Studio Code

elixir_koans - Elixir learning exercises

Roda - Routing Tree Web Toolkit

butler_tableflip - Flipping tables with butler

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.

stranger - Chat anonymously with a randomly chosen stranger