<commit_before>= jMonkeyEngine SDK: Code Editor and Palette
:author: 
:revnumber: 
:revdate: 2016/03/17 20:48
: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). 


== Code Completion and Code Generation

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,width="",height="",align="right"]


*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*


== Semantic and Syntactic Coloring

<commit_msg>Update code_editor.adoc<commit_after>= jMonkeyEngine SDK: Code Editor and Palette
:author: 
:revnumber: 
:revdate: 2016/03/17 20:48
: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). 


== Code Completion and Code Generation

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.

[.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-\*.
**  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*


== Semantic and Syntactic Coloring

[.right]
{'fraction_non_alphanumeric': 0.08698940998487141, 'fraction_numerical': 0.006051437216338881, 'mean_word_length': 4.94752623688156, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4611553', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1098, 'n_words': 485}