Pry
rubyfmt
Our great sponsors
Pry | rubyfmt | |
---|---|---|
35 | 5 | |
6,718 | 1,053 | |
0.4% | - | |
7.2 | 6.5 | |
1 day ago | about 2 months ago | |
Ruby | Rust | |
GNU General Public License v3.0 or later | MIT License |
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.
Pry
-
Ruby 3.3
that's surprising considering `pry`[1] is such an amazing debugger IMO.
[1] https://github.com/pry/pry
-
Enhancing development with REPLs - A practical guide
All of my recent tutorials and projects were primarily managed using the default Ruby REPL, irb, and I must say it's been nothing short of amazing. However, what ultimately prompted me to switch to Pry was its offering of better defaults. But what exactly does that mean? Let me demonstrate:
- Free/low cost IDE recommendations please. :)
-
Debugging Help
For older versions: Pry Gem
-
Anyone else working through Michael Hartl's Learn Enough RoR Series that might be able to help me with a failing unit test?
To do that, I would install `pry` into your rails project and then use it look around right before your test fails.https://github.com/pry/pry
- I made a tool to help cleanly copy & paste code from irb/pry sessions
-
shell-maker: Make your own shell in 15 lines of elisp (batteries included)
This means I can be editing a shell script and easily inject arbitrary regions into a shell buffer for immediate testing (point never leaves the window where I am editing, and I can view the shell output in an adjacent window). This is similar to what Robe does with Pry within an inferior Ruby process using comint.
-
Building GitHub with Ruby on Rails
https://pry.github.io/ - also a lot of features from Pry have made it into the default IRB these days, but I still use pry. I don't know the equivalent commands in IRB.
-
Is parallel threading never going to be a thing?
For debugging, while not multi-threaded, to my knowledge, is the pry gem for debugging. There are a few different flavors, for instance, my favorite is pry-byebug.
-
Top 5 Ruby on Rails Gems
Github Link : https://github.com/pry/pry
rubyfmt
-
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
What are some alternatives?
Byebug - Debugging in Ruby 2
rufo - The Ruby Formatter
Hirb - A mini view framework for console/irb that's easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu.
coc-solargraph - Solargraph extension for coc.nvim
irbtools - Improvements for Ruby's IRB console 💎︎
rubo-format - gofmt like ruby code formatting in atom
debug - Debugging functionality for Ruby
plugin-ruby - Prettier Ruby Plugin
pry-remote - Connect to Pry remotely
go-formatter - A curated list of awesome Go frameworks, libraries and software
Amazing Print - Pretty print your Ruby objects with style -- in full color and with proper indentation
prettier - Prettier is an opinionated code formatter.