Netbeans - Fix PHP Method Code Completion
By default, Netbeans will show static methods after using
$someObject->, which is not correct. This can lead to you writing code incorrectly by accident.
To fix this, follow the steps below:
Go to Tools -> Options .
In the dialogue box that appears:
- Go to the Editor tab.
- Click on the Code Completion sub-tab.
- Select **PHP*** for the Language dropdown.
- Make sure the two checkboxes are not checked.
First published: 3rd July 2021