pasterwriters.blogg.se

Intellij comment shortcut
Intellij comment shortcut









intellij comment shortcut

The following keyboard shortcut will navigate to the declaration of the selected function or type:Īs an example, open HelloWorldWithScalaLogging from Tutorial 10 and place your cursor on the App trait: Then hit Ctrl + H and you will see the Type hierarchy panel open on the right hand side:

intellij comment shortcut

The keyboard shortcut below will open the Type Hierarchy panel for a particular Scala class:Īs an example, open HelloWorldWithScalaLogging from Tutorial 10 and place your cursor on the App trait. To open the selected file, simply hit the enter key. By starting to type build, you will see a list of files which start with build and you can then use the up and down arrow keys to navigate through the list. The keyboard shortcut below will open a dialog where you can type in the resource file you would like to open:Īs an example, say you wanted to open the build.sbt file for our allaboutscala project. By starting to type HelloWorld, you will see a list of Scala classes which starts with HelloWorld and you can then use the up and down arrow keys to navigate through the list. The keyboard shortcut below will open a dialog where you can type in the Scala class you would like to open:Īs an example, say you wanted to open the HelloWorldWithArguments Scala class which we created in Tutorial 6. If you do not have IntelliJ installed or the allaboutscala project, please follow the previous tutorials. Open IntelliJ and our allaboutscala project

#Intellij comment shortcut code

You should take the time to get familiar with these shortcuts as they will help you be more productive when writing your Scala code in IntelliJ.ġ. In this tutorial, we will show some of the most common IntelliJ IDEA navigation keyboard shortcuts.











Intellij comment shortcut