TIP 3: Insert a new line using a keyboard shortcut

Nuthan Murarysetty
2 min readMay 4, 2020

--

Insert a new line using a keyboard shortcut
Insert a new line using a keyboard shortcut

Hello, my dear readers, One more tip for you in visual studio for your productivity.

Let’s think how do we insert a new line either top/bottom of the current line.

Before going to learn this new tip first understand the following points,

  1. If you want to insert a new line at the bottom of the current line then place our cursor at the end of the current line and press ENTER key. The cursor moved and create a new line.
  2. If you want to create a new line at the top of the current line then place our cursor at the beginning of the current line and press ENTER key. The cursor still in current line but it adds a new line top to it.
  3. If you place the cursor in the middle of any text then it divides the text into two lines but it’s not a new line. So, Our tip is to fix this problem.

Now you are going to learn how to fix the point 3 and is very helpful to create a new line either top/bottom from beginning/middle/end of the current line using a short cut key.

If you want a new line at the top of the current line then press CTRL + SHIFT + ENTER.

If you want a new line at the bottom of the current line then press CTRL+ ENTER.

That’s it folks and hope you learnt a new tip from this article.

Expecting you to share your valuable comments and as well clap it. So that I got to know someone read my articles and liked as well.

Happy Coding : )

--

--

Nuthan Murarysetty
Nuthan Murarysetty

Written by Nuthan Murarysetty

I love sharing things what I know to others and passionate in photography.

No responses yet