You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by vi...@apache.org on 2019/01/17 15:18:20 UTC

[incubator-netbeans-website] branch master updated: Updated images in tables

This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 77c2441  Updated images in tables
77c2441 is described below

commit 77c2441eea436305b073ef91ea50e3ba21c23085
Author: Antonio Vieiro <vi...@users.noreply.github.com>
AuthorDate: Thu Jan 17 16:18:16 2019 +0100

    Updated images in tables
    
    Substituting image:: with image: (i.e., single colon)
---
 .../kb/docs/java/editor-codereference.asciidoc     | 157 +++++++++++----------
 1 file changed, 79 insertions(+), 78 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/java/editor-codereference.asciidoc b/netbeans.apache.org/src/content/kb/docs/java/editor-codereference.asciidoc
index 99c181e..943d02a 100644
--- a/netbeans.apache.org/src/content/kb/docs/java/editor-codereference.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/java/editor-codereference.asciidoc
@@ -40,7 +40,7 @@ The NetBeans IDE's Java Editor helps you quickly complete and generate code thro
 
 |===
 
-|image::images/codecompletion3.png[] |
+|image:images/codecompletion3.png[] |
 
 
 Press  ``Ctrl-Space``  (or choose Source > Complete Code from the main menu) to open the code completion box. While you are typing, the list of suggestions shortens. The suggestions listed include those imported in your source file and symbols from the  ``java.lang``  package.
@@ -57,7 +57,7 @@ Instead of using  ``Ctrl-Space``  for code completion, you can use "hippie compl
 
  
 
-|image::images/codecompletion4.png[] |
+|image:images/codecompletion4.png[] |
 
 The first time  ``Ctrl-Space``  is pressed, only items matching the type, in this example an  ``int`` , are shown. Press  ``Ctrl-Space``  a second time, that is, press  ``Ctrl-Space``  twice, and _all_ the available items are shown, regardless of whether they match the provided type, as shown in the example on the left.
 
@@ -68,7 +68,7 @@ The first time  ``Ctrl-Space``  is pressed, only items matching the type, in thi
 ==== Smart Suggestions at the Top
 
 |===
-|image::images/smartcompletion1.png[] |
+|image:images/smartcompletion1.png[] |
 
 In NetBeans IDE, Java code completion is "smart," which means that the suggestions that are the most relevant for the context of your code are displayed at the top, above the black line in the code completion window.
 
@@ -83,7 +83,7 @@ If the "smart" suggestions are not the ones you want to use, press  ``Ctrl-Space
 ==== Camel Case Completion
 
 |===
-|image::images/camelcase.png[] |
+|image:images/camelcase.png[] |
 
 Instead of typing consecutive characters, and then calling code completion, you can type the initial capital letters of the word you're interested in.
 
@@ -96,7 +96,7 @@ For example, type  ``IE`` , press  ``Ctrl-Space`` , and you will see a list of s
 ==== Completing Keywords
 
 |===
-|image::images/keywords.png[] |
+|image:images/keywords.png[] |
 
 Use code completion ( ``Ctrl-Space)``  to complete keywords in your code. The editor analyzes the context and suggests the most relevant keywords.
 
@@ -109,7 +109,7 @@ In the example on the left, the  ``ColorChooser``  class needs to extend the  ``
 ==== Suggesting Names for Variable and Fields
 
 |===
-|image::images/names.png[] |
+|image:images/names.png[] |
 
 When you are adding a new field or a variable, use code completion ( ``Ctrl-Space)``  to choose a name that matches its type.
 
@@ -122,7 +122,7 @@ Type a prefix for the new name, press  ``Ctrl-Space``  and select the name you w
 ==== Suggesting Parameters
 
 |===
-|image::images/parameter.png[] |
+|image:images/parameter.png[] |
 
 The editor guesses on the parameters for variables, methods, or fields and displays the suggestions in a pop-up box.
 
@@ -137,7 +137,7 @@ You can invoke the tooltips with method parameters by pressing  ``Ctrl-P``  (or
 ==== Common Prefix Completion
 
 |===
-|image::images/prefixcompletion.png[] |
+|image:images/prefixcompletion.png[] |
 
 You can use the  ``Tab``  key to quickly fill in the most commonly used prefixes and single suggestions.
 
@@ -152,7 +152,7 @@ To check out how this feature works, try typing the following:
 ==== Subword Completion
 
 |===
-|image::images/subcompletion.png[] |
+|image:images/subcompletion.png[] |
 
 Sometimes you may not remember how an items starts, making it difficult to use code completion. Instead, to see all items that relate to listening to property changes, you can specify that subword completion should be enabled, so that you can use  ``prop``  in code completion, to see all method calls that relate to property change listening.
 
@@ -166,7 +166,7 @@ Sometimes you may not remember how an items starts, making it difficult to use c
 ==== Chain Completion
 
 |===
-|image::images/chain.png[] |
+|image:images/chain.png[] |
 
 When you need to type a chain of commands, use smart code completion, that is, press  ``Ctrl-Space``  twice, and available chains will be shown. The editor scans variables, fields, and methods, that are visible from the context, and it will then suggest a chain that satisfies the expected type.
 
@@ -177,7 +177,7 @@ When you need to type a chain of commands, use smart code completion, that is, p
 ==== Completion of Static Imports
 
 |===
-|image::images/static.png[] |
+|image:images/static.png[] |
 
 When you need to complete a statement while needing to make use of a static import statement, use smart code completion, that is, press  ``Ctrl-Space``  twice, and available static import statements will be shown.
 
@@ -190,13 +190,13 @@ If you would like static import statements to be added automatically when you co
 ==== Excluding Items from Completion
 
 |===
-|image::images/exclude2-small.png[] |
+|image:images/exclude2-small.png[] |
 
 Time is wasted when code completion returns classes that you seldom or never use. When you use smart code completion, that is, when you press  ``Ctrl-Space``  twice, a lightbulb within the returned items lets you exclude items from code completion.
 
  
 
-|image::images/exclude.png[] |
+|image:images/exclude.png[] |
 
 Either when "Configure excludes" is selected in code completion or when you go to Tools > Options > Editor > Code Completion, you can modify the exclusion rules you have defined.
 
@@ -207,7 +207,7 @@ Either when "Configure excludes" is selected in code completion or when you go t
 ==== JPA Completion
 
 |===
-|image::images/jpacompletion.png[] |
+|image:images/jpacompletion.png[] |
 
 When you are using the Java Persistence Annotation specification (JPA), you can complete SQL expressions in  ``@NamedQuery``  statements via code completion.
 
@@ -224,13 +224,13 @@ In the code completion window, icons are used to distinguish different members o
 There are several ways of how you can work with import statements. The IDE's Java Editor constantly checks your code for the correct use of import statements and immediately warns you when non-imported classes or unused import statements are detected.
 
 |===
-|image::images/imports3.png[]
+|image:images/imports3.png[]
 
  
 
  |
 
-When a non-imported class is found, the image::images/bulberror1.png[] error mark appears in the IDE's lefthand margin (this margin is also called the _glyph margin_). Click the error mark and choose whether to add the missing import or create this class in the current package.
+When a non-imported class is found, the image:images/bulberror1.png[] error mark appears in the IDE's lefthand margin (this margin is also called the _glyph margin_). Click the error mark and choose whether to add the missing import or create this class in the current package.
 
 While you are typing, press  ``Ctrl-Shift-I``  (or choose Source > Fix Imports from the menu) to add all missing import statements at once.
 
@@ -240,15 +240,15 @@ Press  ``Alt-Shift-I``  to add an import only for the type at which the cursor i
 
  
 
-|image::images/imports2.png[] |
+|image:images/imports2.png[] |
 
 When you select a class from the code completion window, the Editor automatically adds an import statement for it, so you do not need to worry about this.
 
  
 
-|image::images/imports.png[] |
+|image:images/imports.png[] |
 
-If there are unused import statements in your code, press the image::images/bulberror.png[] warning mark in the Editor lefthand margin and choose either to remove one unused import or all unused imports. In the Editor, unused imports are underlined (see the <<coloring,Semantic Coloring>> section for details).
+If there are unused import statements in your code, press the image:images/bulberror.png[] warning mark in the Editor lefthand margin and choose either to remove one unused import or all unused imports. In the Editor, unused imports are underlined (see the <<coloring,Semantic Coloring>> section for details).
 
 To quickly see if your code contains unused or missing imports, watch the error stripes in the righthand margin: orange stripes mark missing or unused imports.
 
@@ -282,7 +282,7 @@ When working in the Java Editor, you can generate pieces of code in one of the t
 ==== Using the Code Generation Dialog Box
 
 |===
-|image::images/codegeneration1.png[]
+|image:images/codegeneration1.png[]
 
  
 
@@ -301,13 +301,13 @@ In the IDE's Java Editor, you can automatically generate various constructs and
 ==== Using Code Completion
 
 |===
-|image::images/codegeneration2.png[] |
+|image:images/codegeneration2.png[] |
 
 You can also generate code from the code completion window. In this example, we use the same piece of code as above to show how you can generate code from the code completion window.
 
 Press Ctrl-Space to open the code completion window and choose the following item:  ``ColorChooser(String name, int number) - generate`` . The Editor generates a constructor with the specified parameters.
 
-In the code completion window, the constructors that can be automatically generated are marked with the image::images/newconstructor.png[] icon and the " ``generate`` " note. For more explanations of the icons and their meanings, see <<appendixa,Appendix A>>.
+In the code completion window, the constructors that can be automatically generated are marked with the image:images/newconstructor.png[] icon and the " ``generate`` " note. For more explanations of the icons and their meanings, see <<appendixa,Appendix A>>.
 
  
 |===
@@ -323,11 +323,11 @@ A Code Template is a predefined piece of code that has an abbreviation associate
 ==== Using Code Templates
 
 |===
-|image::images/livetemplate.png[]
+|image:images/livetemplate.png[]
 
  |
 
-Code templates are marked with the image::images/codetemplateicon.png[] icon in the code completion window.
+Code templates are marked with the image:images/codetemplateicon.png[] icon in the code completion window.
 
 You can do one of the following:
 
@@ -345,7 +345,7 @@ In the expanded template, editable parts are displayed as blue boxes. Use the  `
 |===
 |[.feature]
 --
-image::images/templateoptions-small.png[role="left", link="images/templateoptions.png"]
+image:images/templateoptions-small.png[role="left", link="images/templateoptions.png"]
 --
 
  |
@@ -375,7 +375,7 @@ Use the following features that facilitate working with Javadoc for your code.
 ==== Displaying Javadoc
 
 |===
-|image::images/javadoc.png[] |
+|image:images/javadoc.png[] |
 
 Place the cursor on an element and press  ``Ctrl-Shift-Space (or choose Source > Show Documentation)`` . The Javadoc for this element is displayed in a popup window.
 
@@ -394,7 +394,7 @@ In the IDE's main menu, click Window > IDE Tools > Javadoc Documentation to open
 ==== Creating Javadoc Stubs
 
 |===
-|image::images/javadoc1.png[] |
+|image:images/javadoc1.png[] |
 
 Place the cursor above a method or a class that has no Javadoc, type  ``"/**`` ", and press  ``Enter`` .
 
@@ -409,7 +409,7 @@ The IDE creates a skeletal structure for a Javadoc comment filled with some cont
 ==== Using Javadoc Hints
 
 |===
-|image::images/javadoc2.png[] |
+|image:images/javadoc2.png[] |
 
 The IDE displays hints when Javadoc is missing or Javadoc tags are needed.
 
@@ -424,7 +424,7 @@ If you do not want to see the hints related to Javadoc, choose Tools > Options >
 ==== Using Code Completion for Javadoc Tags
 
 |===
-|image::images/javadoc3.png[] |
+|image:images/javadoc3.png[] |
 
 Code completion is available for Javadoc tags.
 
@@ -437,7 +437,7 @@ Type the "@" symbol and wait until the code completion window opens (depending o
 ==== Generating Javadoc
 
 |===
-|image::images/generate.png[] |
+|image:images/generate.png[] |
 
 To generate Javadoc for a project, choose Run > Generate Javadoc menu item (or right-click the project in the Projects window and choose Generate Javadoc). The IDE will generate the Javadoc and open it in a separate browser window.
 
@@ -452,7 +452,7 @@ To customize Javadoc formatting options, right-click the project, choose Propert
 ==== Analyzing Javadoc
 
 |===
-|image::images/analyze-javadoc.png[] |
+|image:images/analyze-javadoc.png[] |
 
 To identify the places in your code that need Javadoc comments and quickly insert these comments, you can use the Javadoc Analyzer tool available in the Java Editor.
 
@@ -476,7 +476,7 @@ While you are typing, the Java Editor checks your code and provides suggestions
 ==== Using Hints to Fix Code
 
 |===
-|image::images/quickfixes.png[] |
+|image:images/quickfixes.png[] |
 
 For the most common coding mistakes, you can see hints in the lefthand margin of the Editor. The hints are shown for many types of errors, such as missing field and variable definitions, problems with imports, braces, and other. Click the hint icon and select the fix to add.
 
@@ -493,7 +493,7 @@ For example, try typing "myBoolean=true". The editor detects that this variable
 |===
 |[.feature]
 --
-image::images/customizehints-small.png[role="left", link="images/customizehints.png"]
+image:images/customizehints-small.png[role="left", link="images/customizehints.png"]
 --
 
  |
@@ -519,7 +519,7 @@ To improve IDE's performance, you can do one of the following:
 ==== Surround With...
 
 |===
-|image::images/surroundwith.png[] |
+|image:images/surroundwith.png[] |
 
 You can easily surround pieces of your code with various statements, such as  ``for`` ,  ``while`` ,  ``if`` ,  ``try/catch`` , and other.
 
@@ -537,7 +537,7 @@ Select a block in your code that you want to surround with a statement and click
 |===
 |[.feature]
 --
-image::images/formatting-small.png[role="left", link="images/formatting.png"]
+image:images/formatting-small.png[role="left", link="images/formatting.png"]
 --
 
  |
@@ -557,7 +557,7 @@ To customize the formatting settings for Java code:
 ==== Inserting and Highlighting Braces, Brackets, and Quotes
 
 |===
-|image::images/braces.png[]
+|image:images/braces.png[]
 
  |
 
@@ -579,7 +579,7 @@ To customize the highlight colors, choose Tools > Options > Editor > Highlightin
 ==== Code Folding
 
 |===
-|image::images/code-folded2.png[]
+|image:images/code-folded2.png[]
 
  |
 
@@ -605,7 +605,7 @@ To customize the code folding options:
 |===
 |[.feature]
 --
-image::images/keyboard-small.png[role="left", link="images/keyboard.png"]
+image:images/keyboard-small.png[role="left", link="images/keyboard.png"]
 --
 
  |
@@ -643,7 +643,7 @@ The IDE's Java Editor shows code elements in distinct colors, based on the seman
 |===
 |[.feature]
 --
-image::images/coloringoptions-small.png[role="left", link="images/coloringoptions.png"]
+image:images/coloringoptions-small.png[role="left", link="images/coloringoptions.png"]
 --
 
  |
@@ -684,7 +684,7 @@ To import the IDE settings:
 ==== Coloring Example
 
 |===
-|image::images/coloring.png[]
+|image:images/coloring.png[]
 
  |
 
@@ -705,7 +705,7 @@ Unused members are underlined with a gray wavy line. Comments are displayed in g
 ==== Using Highlights
 
 |===
-|image::images/highlightelement.png[]
+|image:images/highlightelement.png[]
 
  |
 
@@ -736,7 +736,7 @@ Click an error stripe to jump to the line that the mark refers to.
 ==== Navigating From the Editor: Go To...
 
 |===
-|image::images/gotodeclaration.png[]
+|image:images/gotodeclaration.png[]
 
  |
 
@@ -748,7 +748,7 @@ Use the following the "Go To.." commands located under the Navigate menu item to
 |===
 |===
 
-|image::images/gototype.png[]
+|image:images/gototype.png[]
 
  |
 
@@ -757,7 +757,7 @@ Use the following the "Go To.." commands located under the Navigate menu item to
 |===
 |===
 
-|image::images/gotoline.png[]
+|image:images/gotoline.png[]
 
  |
 
@@ -770,7 +770,7 @@ Use the following the "Go To.." commands located under the Navigate menu item to
 ==== Jumping to Last Edit
 
 |===
-|image::images/jumplastedit.png[]
+|image:images/jumplastedit.png[]
 
  |
 
@@ -783,7 +783,7 @@ To quickly return to your last edit, even if it is in another file or project, p
 ==== Using Breadcrumbs
 
 |===
-|image::images/breadcrumbs.png[]
+|image:images/breadcrumbs.png[]
 
  |
 
@@ -802,7 +802,7 @@ Click on an arrow associated with a breadcrumb to see all available class member
 ==== Switching Between Files
 
 |===
-|image::images/jumprecentfile.png[]
+|image:images/jumprecentfile.png[]
 
  
 
@@ -813,14 +813,14 @@ There are two very handy features that allow you to switch between open files:
 * *Go Back (Alt-Left)* and *Go Forward (Alt-Right).* To go to the previously edited file or move forward, choose Navigate < Back or Navigate < Forward or press the corresponding buttons on the editor toolbar (shown in the figure). The file opens and the cursor is placed at the location of your last edit. When you click one of these buttons, you can expand the list of the recent files and click to navigate to any of them.
  
 
-|image::images/togglefile.png[]
+|image:images/togglefile.png[]
 
  |
 
 * *Toggle Between Files (Ctrl-Tab)*. After you press Ctrl-Tab, all open files are shown in a pop-up window. Hold down the Ctrl key and press several times the Tab key to choose the file you would like to open.
  
 
-|image::images/shift-f4.png[]
+|image:images/shift-f4.png[]
 
  |
 
@@ -832,7 +832,7 @@ There are two very handy features that allow you to switch between open files:
 ==== Using Bookmarks
 
 |===
-|image::images/bookmark.png[]
+|image:images/bookmark.png[]
 
  |
 
@@ -846,7 +846,7 @@ To remove the bookmark, press Ctrl-Shift-M again.
 |===
 |===
 
-|image::images/bookmark2.png[]
+|image:images/bookmark2.png[]
 
  |
 
@@ -882,7 +882,7 @@ In the Table view, you can assign keys to bookmarks so that when  ``Ctrl-G``  is
 ==== Using the Navigator
 
 |===
-|image::images/navigatorwindow.png[]
+|image:images/navigatorwindow.png[]
 
  |
 
@@ -904,7 +904,7 @@ In the Navigator window, you can do the following:
 |===
 |===
 
-|image::images/navigatorwindow2.png[]
+|image:images/navigatorwindow2.png[]
 
  |
 
@@ -939,56 +939,57 @@ Meaning
 
  
 
-|image::images/annotation_type.png[] |Annotation type |  |  
+|image:images/annotation_type.png[] |Annotation type |  |  
 
-|image::images/class_16.png[] |Class |  |  
+|image:images/class_16.png[] |Class |  |  
 
-|image::images/package.png[] |Package |  |  
+|image:images/package.png[] |Package |  |  
 
-|image::images/enum.png[] |Enum type |  |  
+|image:images/enum.png[] |Enum type |  |  
 
-|image::images/code_template.png[] |Code Template |  |  
+|image:images/code_template.png[] |Code Template |  |  
 
-|image::images/constructor_16.png[] |Constructor |image::images/new_constructor_16.png[] |New constructor (generate) 
+|image:images/constructor_16.png[] |Constructor |image:images/new_constructor_16.png[] |New constructor (generate) 
 
-|  |  |image::images/constructor_protected_16.png[] |Protected constructor 
+|  |  |image:images/constructor_protected_16.png[] |Protected constructor 
 
-|  |  |image::images/constructor_private_16.png[] |Private constructor 
+|  |  |image:images/constructor_private_16.png[] |Private constructor 
 
-|  |  |image::images/constructor_package_private_16.png[] |Package private constructor 
+|  |  |image:images/constructor_package_private_16.png[] |Package private constructor 
 
-|image::images/field_16.png[] |Field |image::images/field_protected_16.png[] |Protected field 
+|image:images/field_16.png[] |Field |image:images/field_protected_16.png[] |Protected field 
 
-|  |  |image::images/field_private_16.png[] |Private field 
+|  |  |image:images/field_private_16.png[] |Private field 
 
-|  |  |image::images/field_package_private_16.png[] |Package private field 
+|  |  |image:images/field_package_private_16.png[] |Package private field 
 
-|image::images/field_static_16.png[] |Static field |image::images/field_static_protected_16.png[] |Protected static field 
+|image:images/field_static_16.png[] |Static field |image:images/field_static_protected_16.png[] |Protected static field 
 
-|  |  |image::images/field_static_private_16.png[] |Private static field 
+|  |  |image:images/field_static_private_16.png[] |Private static field 
 
-|  |  |image::images/field_static_package_private_16.png[] |Package private static field 
+|  |  |image:images/field_static_package_private_16.png[] |Package private static field 
 
-|image::images/interface.png[] |Interface |  |  
+|image:images/interface.png[] |Interface |  |  
 
-|image::images/javakw_16.png[] |Java keyword |  |  
+|image:images/javakw_16.png[] |Java keyword |  |  
 
-|image::images/method_16.png[] |Method |image::images/method_protected_16.png[] |Protected method 
+|image:images/method_16.png[] |Method |image:images/method_protected_16.png[] |Protected method 
 
-|  |  |image::images/method_private_16.png[] |Private method 
+|  |  |image:images/method_private_16.png[] |Private method 
 
-|  |  |image::images/method_package_private_16.png[] |Package private method 
+|  |  |image:images/method_package_private_16.png[] |Package private method 
 
-|image::images/method_static_16.png[] |Static method |image::images/method_static_protected_16.png[] |Protected static method 
+|image:images/method_static_16.png[] |Static method |image:images/method_static_protected_16.png[] |Protected static method 
 
-|  |  |image::images/method_static_private_16.png[] |Private static method 
+|  |  |image:images/method_static_private_16.png[] |Private static method 
 
-|  |  |image::images/method_static_package_private_16.png[] |Package private static method 
+|  |  |image:images/method_static_package_private_16.png[] |Package private static method 
 
-|image::images/localVariable.png[] |Local variable |  |  
+|image:images/localVariable.png[] |Local variable |  |  
 
-|image::images/attribute_16.png[] |Attribute |  |  
+|image:images/attribute_16.png[] |Attribute |  |  
 |===
 
  
 
+


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists