Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

netbeans 7.3.1 no options under code formatting

I have just installed Netbeans 7.3.1 under GNU/Linux, Archlinux kernel version: arch-pc 3.10.10-1-ARCH x86_64

I have activated the PHP plugin and i want to setup the formatting options, for this I'm going to Tools->Options->Editor->Formatting, but the problem is that in here I have no code to select and setup the formatting, can this be a bug or I am doing something wrong?

This is how it looks when i get there:

Netbeans 7.3.1 no formatting options

The list under Language: has options Item 1 to Item 4 and the same for Category: Item 1 to Item 4.

like image 851
Starlays Avatar asked Jun 06 '26 13:06

Starlays


2 Answers

The only way I was able to bring the option back up was to go to a deactivated language (PHP in my case) and click the button to activate it to get the available options.

After doing this, I clicked back on the "Formatting" tab and the options were all there again.

like image 127
whotyjones Avatar answered Jun 10 '26 10:06

whotyjones


I have found a solution:

  1. Go to: https://netbeans.org/kb/docs/java/editor-formatting-screencast.html
  2. Download the zip under: NetBeans Sample Code Library
  3. Import project: File>Import Project>From zip...
  4. Go to Tools>Options>Editor>Formatting and you have the settings back

I do not know why it worked but it worked. Hope that this will help you.

like image 38
Starlays Avatar answered Jun 10 '26 10:06

Starlays



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!