2 Working with NetBeans IDE. This chapter describes the basics of using and configuring NetBeans IDE. This chapter contains the following sections. Working with Net. Beans IDEThis chapter describes the basics of using and configuring Net. Beans IDE. 2. 1 About Working with Net. Beans IDEThe IDE enables you to configure options for its many areas of functionality as well as customize its workspace. The primary tools you can use to configure and update the IDE include the following: Options Window. The Options window enables you to set general IDE settings, edit any of the IDE's configurable settings and set keyboard shortcuts. You open the Options window by choosing Tools > Options. On Mac OS X, choose Net. Beans > Preferences.)Plugins Manager. The Plugins manager enables you to enable and disable installed plugins and add new or updated plugins to the IDE. For more information, see Section 2. Managing Plugins in the IDE". You can also pass startup parameters to the IDE launcher in the IDE- HOME/etc/netbeans. For more information, see Section 2. Setting Startup Parameters". Working with the Options Window. The Options window enables you to change any of the IDE's configurable settings. Under vinterhalvåret när det ligger snö och is på våra höghöjdsområden byter vi ut Hälsingevy mot snöskovandring. Vandringen går genom björkskogen upp mot. Note: Several sections of this specification have been updated by other specifications. Please, see "Cascading Style Sheets (CSS) — The Official Definition" in the. You select a category at the top of the window to display its settings in the lower pane. Depending on the category, you can click on the tabs in the lower pane to access additional settings. The changes are applied when you click Apply. How to Edit IDE Settings. You use the Options window to specify global settings for the IDE. Settings that you specify at the project level override the settings that you specify in the Options window. To edit IDE settings in the Options window: Open the Options window by choosing Tools > Options from the main menu. If you are running on Mac OS X, choose Net. Beans > Preferences.)Select the category in the upper pane to display the configurable settings. Modify the settings. Click Apply. 2. 2. How to Export IDE Settings as Zip Archive. You can export your IDE settings as an archive that you can use as a backup or that you can import into an installation of the IDE on another machine. To export IDE settings as a zip archive: Open the Options window by choosing Tools > Options from the main menu. If you are running on Mac OS X, choose Net. Beans > Preferences.)Click Export at the bottom of the Options window. Specify the location and name of the zip archive that you want to create to contain your settings. Select the Options categories that you want to export. Click OK. 2. 2. 3 How to Import IDE Settings. When you launch a new version of the IDE for the first time, you are prompted with the option of importing settings from a previous version of the IDE. This prompt occurs only if you have a user directory on your system from the previous version of the IDE and the user directory is in the default location. The settings that are imported include the following items: Keyboard shortcuts. Most Source Editor font and color settings. Java Platform Manager contents. Library Manager contents. Database drivers. Servers. You can recreate the conditions of the first launch at any time by deleting your current userdir. When you restart the IDE you will be prompted with the option of importing settings from a previous version of the IDE. For more details about locating your current userdir, see the following FAQ. Faq. What. Is. Userdir. Note: If you delete your userdir you could lose other important settings. In addition, you might also lose any modules you have installed through the Update Center in the new version and you may need to reinstall or reactivate those modules. If you do not import the settings at the first launch but later decide that you would like to import the settings from a previous installation, you can choose the settings that you would like to import in the Options window. Importing settings may overwrite your existing settings. To prevent possible loss of your settings, use the Export settings function to create a backup of your IDE settings. To import IDE settings: Open the Options window by choosing Tools > Options from the main menu. If you are running on Mac OS X, choose Net. Beans > Preferences.)Click Import at the bottom of the Options window. Click Browse and locate either of the following: the zip archive that contains your settingsthe userdir of the IDE installation that has the settings that you want to import. Select the Options categories that you want to import. Click OK. You will need to restart the IDE to apply the imported settings. Managing IDE Windows. Each window in the IDE appears as a tab in the pane in which it resides. The IDE's windowing system enables you to arrange windows anywhere in the IDE by dragging and dropping. The IDE remembers the position of both manually and automatically closed windows the next time they are opened. Some windows only appear when you are performing a task to which they are related. For example, the Debugger windows only appear when you are in a debugging session. You can manually open task- related windows so that they are always open. To open a task- related window, simply choose the window from the Windows menu. The following table lists some keyboard shortcuts that you can use to navigate, activate and select components in IDE windows. Table 2- 1 Keyboard Shortcut for Managing Windows. Keys. Action. Ctrl- 0. Switch to Editor window. Ctrl- 1. Switch to Project window. Ctrl- 2. Switch to Files window. Ctrl- 3. Switch to Favorites window. Ctrl- 4. Switch to Output window. Ctrl- 5. Switch to Services window. Ctrl- 6. Switch to Action Items window. Ctrl- 7. Switch to Navigator window. Ctrl- Shift- 5. Switch to HTTP Monitor window. Ctrl- Shift- 7. Switch to Properties window. Ctrl- Shift- 1. Select file in Projects window. Ctrl- Shift- 2. Select file in Files window. Ctrl- Shift- 3. Select file in Favorites window. Ctrl- Shift- 8. Opens the Palette. Ctrl- F4. Close window. Ctrl- Shift- F4. Close all documents. Shift- F4. Open Documents dialog box. Shift- Escape. Maximize window. Ctrl- Tab. Switch to recent window. Ctrl- WCloses the current tab in the current window. If the window has no tabs, the whole window is closed. Alt- right. Displays the next tab in the current window. Alt- left. Displays the previous tab in the current window. Up arrow. Moves keyboard focus to the previous item in a group of items. Navigates to the previous setting in a drop- down list in a property sheet. Down arrow. Moves keyboard focus to the next item in a group of items. Navigates to the next setting in a drop- down list in a property sheet. Left arrow. Closes a folder (node). Right arrow. Opens a folder (node). F1. Show Help for selected component. How to Move a Window. The windowing system in the IDE enables you to drag window components to any location in the IDE. To move a window: Click the window header and drag the window to the desired position. A red preview box indicates the new location of the window after you release it. Drop the window. 2. How to Configure Window Behavior and Appearance. How to configure window behavior and appearance. Choose Tools > Options from the main menu. Click the Windows tab in the Appearance category. How to Simultaneously Display Multiple Files in the Editor. You can split the Source Editor, which enables you to work with multiple files or different areas of the same file simultaneously. The Source Editor can be split horizontally or vertically. To simultaneously display multiple files in the Source Editor: Open two or more files in the Source Editor. Click the tab of one of the files and drag it to the edge of the Source Editor pane where you want the file to be placed. A red preview box indicates the new position of the window. Release the mouse button to drop the window when the red preview box indicates the window is in the new desired position. To create a group of tabs: Open two or more files in the Source Editor. Right- click the tab for one of the files and choose New Document Tab Group. How to Clone the View of a Single File. You can create a clone of a tab if you want to open two tabs with the same file. If you drag one of the tabs to split the editor view or create a tab group you can view different parts of the same file simultaneously. How to clone a tab: Right- click the document tab in the Source Editor and choose Clone. Click the tab of the cloned document and drag it to the part of the window where you want the copy to be placed. How to Manage Open Files. How to navigate between open files: Choose Window > Documents from the main menu. Select a document from the list in the Documents window. Click Switch to Document.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
October 2017
Categories |