Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij New line on current line shortcut

Tags:

Is there a keyboard shortcut to start a new line on the currently selected line?

I.e. The current line goes down one line and the cursor is on a blank line.

There is Shift + Enter which starts a new line but on the next line. I want the current line.

like image 857
JavaRocky Avatar asked May 26 '10 00:05

JavaRocky


People also ask

What is the shortcut for new line?

To add spacing between lines or paragraphs of text in a cell, use a keyboard shortcut to add a new line. Click the location where you want to break the line. Press ALT+ENTER to insert the line break.

What is Ctrl Shift O in IntelliJ?

In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package.

What is Ctrl Shift R in IntelliJ?

shift+F6. rename. ctrl+shift+r. ctrl+shift+N. find file / open resource.

What is Ctrl Alt L in IntelliJ?

Sometimes code formatting can get out of sync, but there's an easy fix in IntelliJ IDEA. You can use ⌘⌥L (macOS), or Ctrl+Alt+L (Windows/Linux) to reformat a selection of code according to your reformat settings.


1 Answers

CTRL+ALT+ENTER was the right shortcut for me (version 12.1.6).

like image 153
Bryan Rink Avatar answered Sep 26 '22 02:09

Bryan Rink