M
M
mobileDeveloper2013-04-18 16:53:38
Java
mobileDeveloper, 2013-04-18 16:53:38

How to copy a block of text up in IntelliJ IDEA?

I'm trying to work in Idea. Eclipse has two combinations Ctrl+Alt+Up and Ctrl+Alt+Down that copy the selected block or current line up/down. In Idea, Ctrl+D (Duplicate Line or Block) does the same, but the block is only copied downwards.
Question from the title: how in Idea to copy a block / line up in one combination?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
EugeneOZ, 2013-04-18
@EugeneOZ

Please clarify what is the difference?
For example, text:

function {
a,
b,
c
}

If I copy "b," down (Ctrl+D), I get
function {
a,
b,
b,
c
}

If you copy "up", you get
function {
a,
b,
b,
c
}

What is the difference?

G
Grigory Peretyaka, 2013-04-19
@Peretyaka

Fedora:
CTRL + SHIFT + up/down arrows

J
johnsmyers, 2021-01-08
@johnsmyers

After tried this method you can easily copy a block of text up. CTRL + SHIFT + up / down arrows are the short key in the computer and in this keys you can easily handle the computer related office work.This keys is very helpful for the office work. exams4success.com provides about more detail in the key which you can easily handle the office work. https://www.exams4success.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question