In Netbeans I want to be able too return back to my previous position after selecting Go to Declaration
(ctrl + click
on variable). Similar to the option in Microsoft Visual Studio .Net IDE when I click (ctrl + -
) - it will return to the previous position I was in.
Editing and Refactoring Code in NetBeans To add a keyboard shortcut for a command: Choose Tools | Options and click the Keymap panel. In the Actions panel, navigate to a command that you want to change, and click Add. In the Add Shortcut dialog box, type in the key combination that you want to use and click OK.
Visual Studio Code has a broader approval, being mentioned in 1104 company stacks & 2298 developers stacks; compared to NetBeans IDE, which is listed in 61 company stacks and 45 developer stacks.
In Netbeans, go to menu option Tools -> Options -> Editor -> Hints (Tab) -> Make Sure Language Java is selected -> in the tree select "Error Fixes" - "Surround with try-catch".
Tested, for the 7.1.1 version, it is ALT+LEFT.
Another useful shortcut is ctrl-q
which takes you to the last edit point.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With