This is an automated email from the ASF dual-hosted git repository. vieiro pushed a commit to branch reviews/nbm-java-hint in repository https://gitbox.apache.org/repos/asf/netbeans-website.git
commit 89ff3cbed57ebc63d3615e839018e31273bf6a5d Author: Antonio Vieiro <[email protected]> AuthorDate: Mon Feb 7 13:40:13 2022 +0100 nbm-java-hint review Minor formatting/numbering and links. --- netbeans.apache.org/src/content/tutorials/nbm-java-hint.asciidoc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/netbeans.apache.org/src/content/tutorials/nbm-java-hint.asciidoc b/netbeans.apache.org/src/content/tutorials/nbm-java-hint.asciidoc index cb196fd..50131e0 100644 --- a/netbeans.apache.org/src/content/tutorials/nbm-java-hint.asciidoc +++ b/netbeans.apache.org/src/content/tutorials/nbm-java-hint.asciidoc @@ -29,6 +29,7 @@ :experimental: :description: NetBeans Java Hint Module Tutorial - Apache NetBeans :keywords: Apache NetBeans Platform, Platform Tutorials, NetBeans Java Hint Module Tutorial +:reviewed: 2022-02-07 This tutorial demonstrates how to create a NetBeans module that provides one or more Java hints. At the end of the first scenario covered in this tutorial, whenever the user types " ``JOptionPane.showMessageDialog`` ", a Java hint will appear, asking the user whether the statement is needed (or whether it is there because the user needed it for debugging): @@ -36,8 +37,6 @@ At the end of the second scenario, the user will be able to click the hint to de In addition, the user will be able to find and replace multiple instances of the superfluous statement, after using the "Inspect & Transform" dialog in the Refactor menu, which displays all found instances in the Refactoring window: -NOTE: This document is applicable to NetBeans IDE 8.0 and NetBeans Platform 8.0. If you are using an earlier version, see link:74/nbm-java-hint.html[the previous version of this document]. - For troubleshooting purposes, you are welcome to download the link:http://web.archive.org/web/20170409072842/http://java.net/projects/nb-api-samples/show/versions/8.0/tutorials/MyCustomHints[completed tutorial source code]. == Learning About Java Hints @@ -45,11 +44,10 @@ For troubleshooting purposes, you are welcome to download the link:http://web.a The best way to learn about the Java hint infrastructure is to read the sources of the Java hints that are part of the IDE. Start by identifying a hint that does something similar to what you would like to achieve, then check out the NetBeans sources, and read the source code of the related hint. [start=1] -1. Use Mercurial to clone the NetBeans sources: link:https://netbeans.apache.org/wiki/devfaqaccesssourcesusingmercurial[http://wiki.netbeans.org/DevFaqAccessSourcesUsingMercurial] +1. Use Mercurial to clone the NetBeans sources: link:https://netbeans.apache.org/wiki/DevFaqAccessSourcesUsingMercurial[http://wiki.netbeans.org/DevFaqAccessSourcesUsingMercurial] [start=2] -1. -In the NetBeans sources, browse to the "java.hints" folder, expand it, and read the sources relevant to the hint you want to create. +1. In the NetBeans sources, browse to the "java.hints" folder, expand it, and read the sources relevant to the hint you want to create. The remainder of the tutorial shows you how to put a Java hint together generally, from scratch, but remember that the best place to look for useful snippets of code is in the sources above, if there is anything specific that you don't know how to do. @@ -354,6 +352,5 @@ For more information about creating and developing NetBeans Module, see the foll * link:http://wiki.netbeans.org/Java_DevelopersGuide[Java Developer's Guide] * link:https://netbeans.apache.org/tutorials/nbm-copyfqn.html[NetBeans Java Language Infrastructure Tutorial] -* link:http://wiki.netbeans.org/RetoucheDeveloperFAQ[Retouche Developer FAQ] * link:https://netbeans.apache.org/kb/docs/platform.html[Other Related Tutorials] * link:https://bits.netbeans.org/dev/javadoc/[NetBeans API Javadoc] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
