【问题标题】:Is there a shortcut in Netbeans to create a method?Netbeans 中是否有创建方法的快捷方式?
【发布时间】:2020-05-09 09:39:45
【问题描述】:

Apache Netbeans IDE(例如 PHP)中是否有创建方法(带有输入等)的快捷方式,如在 Visual Studio 中,如以下答案所示:

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


Visual Studio 示例

IDE 提示:

VS 快捷方式会生成这样的方法:

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

抱歉,我从 answer 复制了信息来解释我的问题,因为我当前的 PC 上没有 Visual Studio。

【问题讨论】:

    标签: php netbeans


    【解决方案1】:

    不幸的是,Apache NetBeans IDE 中还没有用于生成方法存根的代码 sn-p 或此类快捷方式。相反,它有许多 Visual Studio 中没有的优点,反之亦然。

    【讨论】:

      猜你喜欢
      • 2014-07-11
      • 2011-01-02
      • 2014-08-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多