|
@@ -18,12 +18,13 @@ Note: Since the jMonkeyEngine SDK is based on the NetBeans Platform framework, y
|
|
|
While typing Java code in the source code editor, you will see popups that help you to write more quickly by completing keywords, and generating code snippets. Additionally, they will let you see the javadoc for the classes you are working with.
|
|
While typing Java code in the source code editor, you will see popups that help you to write more quickly by completing keywords, and generating code snippets. Additionally, they will let you see the javadoc for the classes you are working with.
|
|
|
|
|
|
|
|
|
|
|
|
|
-image::sdk/netbeans_code_completion.png[netbeans_code_completion.png,with="",height="",align="right"]
|
|
|
|
|
|
|
+image::sdk/netbeans_code_completion.png[netbeans_code_completion.png,width="",height="",align="right"]
|
|
|
|
|
|
|
|
|
|
|
|
|
*Code Completion*
|
|
*Code Completion*
|
|
|
|
|
|
|
|
-* Complete keyword / method / variable: *Ctrl-Space* +Alternatively you can also use *Ctrl-\*.
|
|
|
|
|
|
|
+* Complete keyword / method / variable: *Ctrl-Space* +
|
|
|
|
|
+Alternatively you can also use *Ctrl-\*.
|
|
|
** Customize Code Completion options: Tools > Options > Editor > Code Completion
|
|
** Customize Code Completion options: Tools > Options > Editor > Code Completion
|
|
|
|
|
|
|
|
* Show expected parameters of this method in a tooltip: *Ctrl-P*
|
|
* Show expected parameters of this method in a tooltip: *Ctrl-P*
|
|
@@ -44,7 +45,7 @@ image::sdk/netbeans_code_completion.png[netbeans_code_completion.png,with="",hei
|
|
|
== Semantic and Syntactic Coloring
|
|
== Semantic and Syntactic Coloring
|
|
|
|
|
|
|
|
|
|
|
|
|
-image::sdk/jmonkeyplatform-docu-5.png[jmonkeyplatform-docu-5.png,with="421",height="298",align="right"]
|
|
|
|
|
|
|
+image::sdk/jmonkeyplatform-docu-5.png[jmonkeyplatform-docu-5.png,width="421",height="298",align="right"]
|
|
|
|
|
|
|
|
|
|
|
|
|
The text color in the editor gives you important hints how the compiler will interpret what you typed, even before you compiled it.
|
|
The text color in the editor gives you important hints how the compiler will interpret what you typed, even before you compiled it.
|
|
@@ -76,11 +77,12 @@ Editor hints and quick fixes show as lightbulbs along the left edge of the edito
|
|
|
== Javadoc
|
|
== Javadoc
|
|
|
|
|
|
|
|
* Place the caret above a method or a class that has no Javadoc, type
|
|
* Place the caret above a method or a class that has no Javadoc, type
|
|
|
|
|
++
|
|
|
[source,html]
|
|
[source,html]
|
|
|
----
|
|
----
|
|
|
/**
|
|
/**
|
|
|
----
|
|
----
|
|
|
- and press Enter: The editor generates skeleton code for a Javadoc comment.
|
|
|
|
|
|
|
+and press Enter: The editor generates skeleton code for a Javadoc comment.
|
|
|
* Right-click the project in the Projects window and choose Generate Javadoc.
|
|
* Right-click the project in the Projects window and choose Generate Javadoc.
|
|
|
* Right-click a file and choose Tools > Analyze Javadoc
|
|
* Right-click a file and choose Tools > Analyze Javadoc
|
|
|
|
|
|
|
@@ -100,14 +102,17 @@ When the JavaDoc does not deliver enough information, you can have a look at the
|
|
|
== Palette
|
|
== Palette
|
|
|
|
|
|
|
|
|
|
|
|
|
-image::sdk/jmonkeyplatform-docu-4.png[jmonkeyplatform-docu-4.png,with="421",height="298",align="right"]
|
|
|
|
|
|
|
+image::sdk/jmonkeyplatform-docu-4.png[jmonkeyplatform-docu-4.png,width="421",height="298",align="right"]
|
|
|
|
|
|
|
|
|
|
|
|
|
Choose Windows > Palette to open the context-sensitive Palette. The jMonkeyEngine SDK provides you with jme3 code snippets here that you can drag and drop into your source files.
|
|
Choose Windows > Palette to open the context-sensitive Palette. The jMonkeyEngine SDK provides you with jme3 code snippets here that you can drag and drop into your source files.
|
|
|
|
|
|
|
|
* Examples: Node and Model creation code snippets.
|
|
* Examples: Node and Model creation code snippets.
|
|
|
|
|
|
|
|
-Tip: Choose Tools > Add to Palette… from the menu to add your own code snippets to the Palette. (not available yet in beta build)
|
|
|
|
|
|
|
+[TIP]
|
|
|
|
|
+====
|
|
|
|
|
+Choose Tools > Add to Palette… from the menu to add your own code snippets to the Palette. (not available yet in beta build)
|
|
|
|
|
+====
|
|
|
|
|
|
|
|
|
|
|
|
|
== Keyboard Shortcuts
|
|
== Keyboard Shortcuts
|
|
@@ -134,6 +139,7 @@ By default, jMonkeyEngine uses the same link:http://netbeans.org/project_downloa
|
|
|
* If you cannot find a particular menu item or option panel, use the IDE Search box in the top right! *Ctrl-i*
|
|
* If you cannot find a particular menu item or option panel, use the IDE Search box in the top right! *Ctrl-i*
|
|
|
* If a code block, class, or javadoc is quite long and you don't want to scroll over it, click the *+/-* signs to collapse (fold) the code block temporarily.
|
|
* If a code block, class, or javadoc is quite long and you don't want to scroll over it, click the *+/-* signs to collapse (fold) the code block temporarily.
|
|
|
* Press *F1* for Help
|
|
* Press *F1* for Help
|
|
|
|
|
+
|
|
|
'''
|
|
'''
|
|
|
|
|
|
|
|
See also
|
|
See also
|