Is expected to need to use another IDE for JavaScript when working with Rails. Too cool! JavaScript SupportĬoming from a JavaScript background, and wanting to incorporation technologies like React, and Node.js with Rails, it To top things off even more, with each rails controller you will find an icon next to each method, and clicking on that icon will send you straight to the view, no more moving back and forth between the controller and view folders. What about those functions you find used, but have no idea where it resides? With a single keystroke you can move to the containing file of that method or function, find all uses of that method, function, or even CSS class, and move to those areas. Even better, when you are working on a single file, you can quickly look in the current folder for the containing files, switch to parent folder, and traverse the entire scaffold very quickly. One of the features I use every single day is the Search Everywhere feature, that not only allows me to find files with a single keyword, but also pick a single folder and look to see what files exist there. RubyMine’s built-in quick navigation not only makes for easy to traverse code, but also easy to find code. Sometimes it isn’t easy to jump into a new project that’s already written to start familiarizing yourself with the structure, and finding files alone can be a chore in itself. In summary it is great feature overall, but one with a very steep learning curve. Just when you feel you know what to do, something else from the functionality trips up the startup, making it a light rubix cube of a setup. With the Rails debugging documentation being unclear on how to setup a working Rails setup, it’s hard to get debugging working with a single command when you have several other services to start at the same time (e.g. I have been more than happy with the functionality, as well as being able to create profiles based on per-file, per-folder testing, as well as a default profile for all other tests. Once I was able to get Rspec testing running, I do have to mention that jumping into this feature was pretty confusing due to the amount of capability, as well as how it’s debugger interacts with these processes setting up a Rspec profile took a few hours of my time Google’ing others having issues only to get debugging to work at all with my rails_helper especially when the default behavior hides the. Even so it was refreshing to find such an IDE that allowed me to setup multiple profiles for debugging the actual Rails app while it is running, as well as setting an entirely different profile for my Rspec and Capybara tests. Once I starting working with RubyMine I felt overwhelmed with its ability being one of the more bloated IDEs out there. For me finding almost no Rails support with VSCode really made me reach back out to other IDEs. This is definitely a feature that can make or break the perspective of an IDE. Tab completion for Rails routes based on your code, Ruby and Rails methods based on the object type, even snippets built into tab completion for any required modules are just a few examples of this power. One of the biggest benefits, especially for those fairly new to Ruby/Rails is having the code completion and hinting features. One of the biggest issues of the Idea-based IDEs is just how bloated they are, but there are times when the features simply outweigh this sacrifice. After a month of working with RubyMine I knew this was exactly what I was needing. Looking at the various IDEs available, I decided to give the RubyMine trial a shot even though I was already someone not fond of the Idea IDE for other languages. While you will find me nose-deep in VSCode working with Ruby alone, once I dived into Rails there simply was not enough support. While VSCode is still my go-to for all JavaScript awesomeness, and then starting to use it for Ruby I thought I had an overall winner. When working with JavaScript, I found myself moving from ViM, to Atom, to Brackets, and finally to VSCode.
0 Comments
Leave a Reply. |