Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

287
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda