anchor.diff:  = jMonkeyEngine SDK: Code Editor and Palette
  -:author: 
  -:revnumber: 
  -:revdate: 2016/03/17 20:48
  +:revnumber:2.0
  +:revdate: 2020/07/09
   :keywords: documentation, sdk, editor
  -:relfileprefix: ../
  -:imagesdir: ..
  -ifdef::env-github,env-browser[:outfilesuffix: .adoc]
   
   
   The Source Code Editor is the central part of the jMonkeyEngine SDK. This documentation shows you how to make the most of the jMonkeyEngine SDK's assistive features.
   
  -Note: Since the jMonkeyEngine SDK is based on the NetBeans Platform framework, you can learn about certain jMonkeyEngine SDK features by reading the corresponding NetBeans IDE tutorials (in the “see also links). 
  +Note: Since the jMonkeyEngine SDK is based on the NetBeans Platform framework, you can learn about certain jMonkeyEngine SDK features by reading the corresponding NetBeans IDE tutorials (in the "`see also`" links).
   
   
   == Code Completion and Code Generation
  
positive.code: 
  *Code Completion*
  
  *  Complete keyword / method / variable: *Ctrl-Space* +
  Alternatively you can also use *Ctrl-\*.
  **  Customize Code Completion options: Tools &gt; Options &gt; Editor &gt; Code Completion 
  
  *  Show expected parameters of this method in a tooltip: *Ctrl-P* 
  *  Complete any string (even non-Java) that has been used before: *(Shift-)Ctrl-K*
  
  *Code Generation*
  
  *  Auto-fix import statements: *Ctrl-Shift-I*
  *  Auto-generate getters/setters, try/catch, equals/hashCode: *Alt-Insert*
  **  Customize code completion: Choose Tools &gt; Options &gt; Editor &gt; Code Completion
  
  *  Auto-generate common code snippets such as loops, declarations, println, by typing the *template name + TabKey* 
  **  Customize code templates: Choose Tools &gt; Options &gt; Editor &gt; Code Templates
  
  *  Rename, move, or introduce methods, fields, and variables, without breaking the project: *Refactoring menu*
  
  
negative.code: 
  Keyboard Shortcuts save you time when when you need to repeat common actions such as Build&amp;Run or navigation to files.
  
  *  Go to File: kbd:[Alt+Shift+O]
  *  Go to Type: kbd:[Ctrl+O]
  *  Open in Projects / Files / Favorites window: kbd:[Ctrl+Shift+1]/ kbd:[2] / kbd:[3]
  *  Build&amp;Run the main class of the Project: kbd:[F6]
  *  Run the open file: kbd:[Shift+F6]
  *  Switch to Editor / Projects / Files / Navigator: kbd:[Ctrl+0] /kbd:[1] / kbd:[3] / kbd:[7]
  *  Indent code: kbd:[Ctrl+Shift+F]
  
  By default, jMonkeyEngine uses the same link:http://netbeans.org/project_downloads/www/shortcuts-6.5.pdf[Editor Shortcuts] as the NetBeans IDE, but you can also switch to an Eclipse Keymap, or create your own set.
  
  *  Customize keyboard shortcuts: menu:Tools[Options > Keymap]
  
  
  == Tips and Tricks
  
  *  To browse the physical file structure of your project, use the Files window: kbd:[Ctrl+2]
  *  To open a file that is not part of a Java project, add it to the Favorites window: kbd:[Ctrl+3]
  *  If you cannot find a particular menu item or option panel, use the IDE Search box in the top right! kbd:[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 kbd:[F1] for Help
  
  '''
  
  