This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77039 - Auto generate javadoc on /** + Enter
Summary: Auto generate javadoc on /** + Enter
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
: 107001 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-30 05:15 UTC by pzgyuanf
Modified: 2007-09-18 16:58 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzgyuanf 2006-05-30 05:15:03 UTC
other IDEs supply this:
- Cursor above the method/class declaration
- input "/**" then enter "Enter" key
- according the declaration, the javadoc template appeared, some thing like this:
    /**
     * $cursor here
     *
     * @param value
     * @return
     */
    public static String fromInt(int value) {
        return Integer.toString(value);
    }
Comment 1 Jan Pokorsky 2006-05-30 10:19:45 UTC
Thanks, I suppose to add this feature to the next release.
Comment 2 Jiri Prox 2007-06-18 15:15:13 UTC
*** Issue 107001 has been marked as a duplicate of this issue. ***
Comment 3 Jan Pokorsky 2007-09-18 16:58:37 UTC
done

/cvs/javadoc/src/org/netbeans/modules/javadoc/hints/GenerateJavadocAction.java,v  <--  GenerateJavadocAction.java
initial revision: 1.1
done
Checking in javadoc/src/org/netbeans/modules/javadoc/hints/Analyzer.java;
/cvs/javadoc/src/org/netbeans/modules/javadoc/hints/Analyzer.java,v  <--  Analyzer.java
new revision: 1.3; previous revision: 1.2
done
Checking in javadoc/src/org/netbeans/modules/javadoc/resources/mf-layer.xml;
/cvs/javadoc/src/org/netbeans/modules/javadoc/resources/mf-layer.xml,v  <--  mf-layer.xml
new revision: 1.69; previous revision: 1.68
done
Checking in java/editor/src/org/netbeans/modules/editor/java/JavaKit.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaKit.java,v  <--  JavaKit.java
new revision: 1.45; previous revision: 1.44
done
Checking in javadoc/nbproject/project.xml;
/cvs/javadoc/nbproject/project.xml,v  <--  project.xml
new revision: 1.25; previous revision: 1.24