Răsfoiți Sursa

Update code_editor.adoc

Fixed broken new lines.
Fixed broken list under Javadoc.
Fixed list continuation under Javadoc.
Fixed typos in image width.
Changed text tip under Palette to Admonition.
Fixed broken horizontal rule.
mitm001 9 ani în urmă
părinte
comite
6232771a95
1 a modificat fișierele cu 12 adăugiri și 6 ștergeri
  1. 12 6
      src/docs/asciidoc/sdk/code_editor.adoc

+ 12 - 6
src/docs/asciidoc/sdk/code_editor.adoc

@@ -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.
 
 
-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*
 
-*  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 
 
 *  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
 
 
-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.
@@ -76,11 +77,12 @@ Editor hints and quick fixes show as lightbulbs along the left edge of the edito
 == Javadoc
 
 *  Place the caret above a method or a class that has no Javadoc, type 
++
 [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 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
 
 
-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.
 
 *  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
@@ -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 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
+
 '''
 
 See also