rubyfmt
Ruby Autoformatter! (by fables-tales)
coc-solargraph
Solargraph extension for coc.nvim (by neoclide)
rubyfmt | coc-solargraph | |
---|---|---|
5 | 2 | |
1,054 | 199 | |
- | 1.0% | |
6.5 | 0.0 | |
2 months ago | about 2 years ago | |
Rust | TypeScript | |
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.
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.
rubyfmt
Posts with mentions or reviews of rubyfmt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-06.
-
Are you using rubocop-airbnb?
We're using rubyfmt along with a rubocop config which does its best to strip out any styling decisions.
-
Ruby on Rails Auto Formatter
Looked at https://github.com/penelopezone/rubyfmt and other options but none seem to actually work.
-
Linting and Auto-formatting Ruby Code With RuboCop
RubyFmt is a brand-new code formatter that's written in Rust and currently under active development. Like Prettier, it is intended to be a formatter and not a code analysis tool. It hasn't seen a stable release just yet, so you should probably hold off on adopting it right now, but it's definitely one to keep an eye on.
-
I look for a "Rosetta" documentation to found correspondence between languages tooling
Another example: code formatters. You mention gofmt (which you incorrectly put next to Ruby even though it's for Go)... There are lots of code formatters for Ruby, even if you only consider ones directly inspired/influenced by gofmt. A quick google turned up at least three of those: https://github.com/pariz/rubo-format, https://github.com/penelopezone/rubyfmt, and https://github.com/ruby-formatter/rufo. I'm pretty sure rubocop is used in Ruby more than any of those, but rubocop is less directly influenced by gofmt. So what do you choose? The project(s) that's more closely analogous? Or the more popular formatter?
- Penelopezone/Rubyfmt: Ruby Autoformatter
coc-solargraph
Posts with mentions or reviews of coc-solargraph.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-16.
-
Getting intellisense and code completion in nvim or vscode
I've been using coc.nvim along with the coc-solargraph plugin. These work well for me and provide very good code completion and error highlighting. There are some key intellisense features that aren't available (or I don't use them), but these two plugins do well enough for my purposes.
-
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:
What are some alternatives?
When comparing rubyfmt and coc-solargraph you can also consider the following projects:
rufo - The Ruby Formatter
rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide.
rubo-format - gofmt like ruby code formatting in atom
rubocop-rails - A RuboCop extension focused on enforcing Rails best practices and coding conventions.
plugin-ruby - Prettier Ruby Plugin
go-formatter - A curated list of awesome Go frameworks, libraries and software
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
prettier - Prettier is an opinionated code formatter.
starter-workflows - Accelerating new GitHub Actions workflows
Overcommit - A fully configurable and extendable Git hook manager
rubyfmt vs rufo
coc-solargraph vs rubocop
rubyfmt vs rubo-format
coc-solargraph vs rubocop-rails
rubyfmt vs plugin-ruby
coc-solargraph vs plugin-ruby
rubyfmt vs go-formatter
coc-solargraph vs coc.nvim
rubyfmt vs prettier
coc-solargraph vs prettier
rubyfmt vs starter-workflows
coc-solargraph vs Overcommit