Source Editor settings that you have customized are stored in files in your user directory. You can share settings between IDE installations by copying these files from one user directory to another.
These settings include settings for code templates, macros, fonts, colors, keyboard shortcuts, and other settings.
Settings that you modify in the Editor section of the Options window are generally stored in config/Editors/text/MimeType, where MimeType refers to a type of editor. For example, the Java editor settings are found in the x-java folder.
Settings that you modify in the Keymap section of the Options window are stored in sub-folders of the config/Keymap folder.
Settings that you modify in the Fonts & Colors section of the Options window are stored in sub-folders of the config/Editors folder. These sub-folders are organized according to the name of the profile in which the settings are customized and the type of editor to which the settings apply. (The IDE provides the profiles called NetBeans and City Lights. You can also create your own profiles.)
For example, if you have a profile called MyIDEProfile, the general settings for that profile would be located in config/Editors/MyIDEProfile. Language-specific settings are stored in sub-folders of config/Editors/text. The Java editor specific settings for that profile would be located in config/Editors/text/x-java/MyIDEProfile. The HTML editor specific settings would be located in config/Editors/text/html/MyIDEProfile.
To share your customized Source Editor settings:
On Microsoft Windows systems, the user directory is typically located at C:\Documents and Settings\username\.netbeans\version-number\.
On UNIX and Linux systems, the user directory is typically located at /home/username/.netbeans/version-number/.
You can determine your user directory by choosing Help > About and click the Detail tab in the About dialog box. User Dir is listed last in the dialog box.
If you are copying individual settings, you might need to create a folder for those settings in the new location that corresponds to their folder in the old location.
You can copy individual settings, groups of settings, or entire profiles.
You can switch a profile by choosing Tools > Options, clicking Fonts & Colors, and selecting from the Profile drop-down list.
Notes: