Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

294
Views
NetBeans 12.6 does not indent new lines while typing

I used to develop Java in an older version of NetBeans that indents new lines while we are typing, but recently I installed 12.6 version and the behavior changed.

I am expecting that while I am typing and insert a new line, NetBeans automatically indents the new line. But, to my surprise, the new line is set to the far left.

I will try to be more visual. In the example below, the pipe "|" is my cursor. So, when I insert a new line, the cursor moves all the way to the left, like in example 1. But, what I want to happen is that NetBeans automatically positions the cursor in the proper location, like in Example 2, where the cursor is in the same indent as the line that has "more code".

Example 1 - What is happening:

if (variable == true) {
    code
    more code
|

Example 2 - What I need to happen:

if (variable == true) {
    code
    more code
    |

How can I configure this behavior?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Downgrading to 12.4 did the trick. Now NetBeans indenation is working as expected.

Once againd, I thank you all guys!

Best Regards!

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!