Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

IDE Features Trainer: A New Way to Learn Your IDE

DZone's Guide to

IDE Features Trainer: A New Way to Learn Your IDE

IntelliJ IDEA has rolled out its IDE Features Trainer. Geared toward newcomers but helpful for advanced users, it rolls out lessons to get the most out of your IDE.

· Java Zone
Free Resource

Find your next Integration job at DZone Jobs. See jobs focused on integration, or create your profile and have the employers come to you!

The family of education resources for IntelliJ IDEA welcomes a new member! Now, in addition to “What’s new” videos, documentation, blog posts and screencasts, the IDE Features Trainer plugin is available to help you learn the shortcuts for the most used IDE actions. The current version includes 5 modules: Editor Basics, Completion, Refactoring, Code Assistance and Navigation, each consisting of several lessons.

Let’s take a look at how this works. All plugin info and controls (like tasks and learning progress) are located in the Learn tool window, located near the 1: Project stripe button. To begin learning, set focus to this tool window and choose a module. You will be automatically redirected to the task of the first lesson (or, if you’re resuming learning, the task where you left off).

IDE Feature Trainer screenshow


Each lesson consists of a sequence of tasks. In most of them, you’ll need to invoke the correct action shortcut to progress, while a few may require you to write a certain piece of code.

By default, lessons open tasks in scratch files. Some lessons, however, require a specially pre-configured project (‘Learning project’) to work correctly with the JDK. Fortunately, the plugin itself will warn you about this and will create the necessary project automatically.

Collapse lesson in action

Who Should Use This Plugin?

We’ve created this plugin primarily for newcomers to IntelliJ IDEA or those who have recently migrated from another IDE. Its goal is to give you basic shortcuts so you can use the IDE efficiently, right now. Which is not to say that advanced users won’t find it useful – there are always more things to discover in an IDE like IntelliJ IDEA!

There are a few other useful plugins worth mentioning that help you learn languages in IntelliJ IDEA. There’s one for Python and one for Kotlin. For more advanced users we recommend taking a look at IntelliJ Code Golf. That one helps increase your accuracy in transforming one piece of code to another using a minimum of refactorings.

Installation

Like all other plugins for IntelliJ IDEA, you may find it at JetBrains Plugin Repository. Search for the IDE Features Trainer plugin and install it. After a restart, IntelliJ IDEA’s Welcome screen will add a Learn… button. Click it to start IntelliJ IDEA with the learning tool window opened.

Welcome Screen 

Can I Add My Own Lessons?

Indeed, the plugin project is hosted on GitHub and pull requests are welcome! Modules and lessons are described as XML files. To add a custom lesson, create an XML file in a corresponding directory and add a description tag to the XML file of the module.

Each command in your XML file can be one of the following:

  1. Print some text in the Learn tool window,
  2. Show some code in the editor,
  3. Move the caret, or
  4. Show a task in the Learn tool window (and check user actions here).

All lessons should end with a <Win/> tag.

What Next?

First, we would be happy to hear your feedback on this, to help us make IDE learning smoother and more useful. Please share your experience with the course, for example by clicking the ‘Send feedback’ button in the Modules view.

Second, we would like to extend our course with more lessons for learning advanced actions or even UI. Stay tuned for more news about this.

And finally, at some point, we plan to make a convenient tool for creating new lessons and modules.

If you notice any kind of strange behavior or outright bugs, please report them to the bug tracker.

Thank you, and enjoy learning IntelliJ IDEA!

Find your next Integration job at DZone Jobs. See jobs focused on integration, or create your profile and have the employers come to you!

Topics:
java ,intellij idea ,ide ,plugin

Published at DZone with permission of Sergey Karashevich. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}