0

Is there a shortcut in the Apache Netbeans IDE (e.g. for PHP) to create a method (with inputs etc.) like in Visual Studio, as shown in the following answer:

Is there a shortcut in Visual Studio to create a method?


Visual Studio example

IDE hint:

enter image description here

The VS shortcut generates a method like this:

    private static void MySomeMethod(int a, string b)
    {
        throw new NotImplementedException();
    }

Sorry, I copied the infos from the answer to explain my question, because I don't have Visual Studio on my current PC.

Rene
  • 976
  • 1
  • 13
  • 25

2 Answers2

2

ALT + Enter works for me (tested on Linux)

ALT+Enter

generated code

romaind
  • 461
  • 1
  • 3
  • 10
1

Unfortunately, there's no code snippet or such shortcuts for generating a method stub available in Apache NetBeans IDE yet. Rather, there are many advantages available in it which aren't in Visual Studio and vice versa.

Rohan Bari
  • 7,482
  • 3
  • 14
  • 34