Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CheckStyle scan shortcut for IntelliJ Idea

I'm using IntelliJ Idea 15.0.4 with the CheckStyle plugin.

To go to the CheckStyle section, I use Ctrl+Tab and select CheckStyle. The problem is to run the scan, I can do it with the mouse clicking on the Green arrow (see screenshot) but I don't know how to do it with the keyboard.

Someone knows how to do it?

IntellijIdea Checkstyle

like image 475
Antón R. Yuste Avatar asked Apr 01 '16 08:04

Antón R. Yuste


People also ask

How do I run a shortcut code in IntelliJ?

Ctrl Ctrl. We can run anything from anywhere by pressing the Ctrl key twice. No matter where we are in the IDE or which file is open, if we double tap Ctrl the Run Anything window opens.

What is checkstyle IntelliJ?

Jamie Shiell. Compatible with IntelliJ IDEA (Ultimate, Community, Educational), Android Studio. This plugin provides both real-time and on-demand scanning of Java files with CheckStyle from within IDEA.

How do I download checkstyle plugin for IntelliJ?

Install the Checkstyle-IDEA plugin by going to File > Settings (Windows/Linux), or IntelliJ IDEA > Preferences… ​ (macOS). Select Plugins , press Browse Repository , and find the plugin. Restart the IDE to complete the installation.


1 Answers

I found it,

Ctrl + Alt + S (Settings), Keymap. In the end, Plugins -> Checkstyle-IDEA and assign a shortcut for Check Current File.

Very nice!

like image 144
Antón R. Yuste Avatar answered Sep 19 '22 17:09

Antón R. Yuste