Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans - tabs are not typed in empty lines

Tags:

netbeans

Tab key doesn't work in empty lines in Netbeans. If I type something(e.g. a dot), then it works.
How to enable tab key in empty lines?

like image 427
op ol Avatar asked Oct 24 '25 06:10

op ol


1 Answers

Make sure you have the latest JDK installed and used by Netbeans.
Currently 17.0.1 (01.2022).

I was using Netbeans 12.6 with jdk 1.8.0_261. When pressing TAB on an empty line nothing happened but in the bottom right corner you can see a notification that a unexpected MethodNotFound Exception is thrown. Installing JDK 17.0.1 fixed it. Make sure your IDE actually uses the new JDK by going to
Tools -> Java Platforms and the JDK 17 is the default one.

like image 170
L. Messing Avatar answered Oct 25 '25 21:10

L. Messing



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!