Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8986719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:37:03+00:00 2026-06-15T21:37:03+00:00

These are the typing steps one has to take when creating a new code

  • 0

These are the typing steps one has to take when creating a new code block in Scala-IDE. The pipe character represents the cursor:

def test(x: Int): Int = |

If you start block by typing {, the IDE will automatically add the closing brace and put the cursor in the middle:

def test(x: Int): Int = {|}

Hit return to start a multiline block:

def test(x: Int): Int = {
    |}

Hit return again to create a black line:

def test(x: Int): Int = {

    |}

Use arrow-up to get the cursor back to the previous line:

def test(x: Int): Int = {
    |
    }

How can you avoid the last two keystrokes, but still end up with my cursor on a blank line between the opening and closing brace? I tried, Ctrl+Return, Shift+Return but no such luck.

I use a Microsoft Arc keyboard. In my opinion, it’s the world’s greatest keyboard for typing, but unfortunately also the world’s worst keyboard for using arrow keys, which is why I dearly avoid using arrow keys where possible. May the guy who invented the multi-function rocker arrow key on the Arc get a cramp in his little finger every time I have to use the confounded key.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:37:04+00:00Added an answer on June 15, 2026 at 9:37 pm

    There is no such feature in the editor (yet), but it would be a welcome addition. The best thing about it is to file a ticket.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Vim, one can join two lines by typing capital J. However, these are
These tools basically input a grammar and output code which processes a series of
This is a code block I use in most of my DNN Settings modules
I know that you can align UILabels in the center by typing this code:
I'm seeing a strange build bug a lot. Sometimes after typing some code we
Windows 7 has a wonderful facility called problem steps recorder . You can start
They are both newest version in the time I'm typing these lines. I both
Is there a keyboard command for undoing typing in iPython? Note: I am not
Is there any cost/drawback (apart from typing too much) to adorning a class with
Is there a way to know when the user is done typing on C#

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.