Why I switched from Visual Studio Code to RubyMine.

Choosing a development environment that fits you can be hard whether you are a professional developer or only starting your journey. In this post, I will highlight the main differences between text editors and IDEs, and why I switched from Visual Studio Code to Rubymine.

Text editors

In this case, we will refer to programming text editors that are made for writing code. A text editor allows to create and edit a range of programming language files.

Typical features:

Advanced features:

The main drawback of using Visual Studio Code for me was the fact that you always have to search for the plugins, set up them, and hope that they are working the way you want them to work.

Integrated Development Environment (IDE)

IDE is a software application that typically consists of not only a text editor but also includes build automation tools and a debugger.

Features:

After I started using RubyMine as my main development environment, I don’t need to look for plugins, checking if they are reliable. The only thing I did — added shell script for launching Rubymine from the command line.

What I enjoy in using RubyMine most

Let's check how the features of RubyMine makes you faster and more productive.

2. Version control system. RubyMine works with Git and GitHub, Mercurial, Subversion, Perforce, and others from the IDE. Check how easy to add, commit, and push changes on GitHub.

3. Navigate and search through the project. Quickly identify how everything works.

4. Ruby on Rails. RubyMine helps to add new Rails entities, such as models, controllers, and migrations.

In this post, I showed only a couple of examples of how IDE makes the coding process more efficient and pleasant.

To open the project in RubyMine from the command-line follow the instructions.

Here’s an example of my process of setting the command-line interface for RubyMine.

First thing, we need to create a ‘rubymine’ script in the ‘bin’ folder.

$ cd /usr/local/bin

Here you’ll see a list of shell scripts

$ ls

Let’s create a 'rubymine' shell script

$ vim rubymine

And add the following

#!/bin/shopen -na “RubyMine.app” — args “$@”

Then I tried to open my project from the command line, but got the following:

$ cd /my_project
$ rubymine .
zsh: permission denied: rubymine

If you get a 'permission denied' message run the following command:

$ sudo chmod -R 777 /usr/local/bin/rubymine

Try to open it in RubyMine again:

$ rubymine .

Learn more about features and switch to RubyMine today! Happy coding!

Software Engineer | React | JavaScript | Ruby on Rails