![]() Navigate to a bookmark from a listįrom the main menu, select View | Tool Windows | Bookmarks or press Alt+2 to open the Bookmarks tool window.Įxpand the desired bookmark list or click Expand all to expand all bookmark lists.ĭouble-click a bookmark on the list to navigate to it. You can configure the settings to see other bookmarked items (for example, files or folders): press Ctrl+Alt+S to open the IDE settings, select Advanced Settings, and disable the Show only line bookmarks in popup option. Press Shift+F11 or from the main menu, select Edit | Bookmarks | Show Line Bookmarks.ĭouble-click the bookmark or select it with the keyboard and press Enter.įor mnemonic bookmarks, press the corresponding digit or letter.īy default, IntelliJ IDEA shows only line bookmarks in the bookmarks popup. ![]() Hold Ctrl and press the mnemonic digit on the keyboard.įor example, to jump to the bookmark with mnemonic 5, press Ctrl+5. Navigate between bookmarks Jump to a mnemonic bookmark with a digit The IDE will create a new list and add there all files from the open tabs. You can use this list for new bookmarks by default: enable the Use as default list option. Right-click any editor tab and select Bookmarks | Bookmark Open Tabs. You can quickly bookmark all open files and add these bookmarks to the new list. Right-click the tab with the file that you want to bookmark and select Bookmarks | Add Bookmark ( F11) to add an anonymous bookmark or Add Mnemonic Bookmark ( Ctrl+F11) to add a bookmark with an identifier. These bookmarks will be added to the default list. You can bookmark files from editor tabs one by one. To bookmark multiple items, select them in the tool window, right-click one of them, and select Bookmarks | Add Bookmarks ( F11).įor mnemonic bookmarks, select a number or a letter that you want to use as an identifier for this bookmark. In the Project tool window ( Alt+1), right-click an item that you want to bookmark and select Bookmarks | Add Bookmark ( F11) or Add Mnemonic Bookmark ( Ctrl+F11). ![]() ![]() Bookmark files, packages, folders, and modules To take a look at all line bookmarks that you have in code, press Shift+F11 or go to Edit | Bookmarks | Show Line Bookmarks. If you want to bring back the confirmation dialog that is shown before replacing an existing mnemonic with a new one, click in the Bookmarks tool window and enable the Ask Before Rewriting Mnemonic option. Press Enter or click the selected letter or number once again to save the bookmark.Ī letter or a number bookmark icon appears in the gutter next to the bookmarked line. Optionally, provide a description for the new bookmark. Select the Don't ask again option to silently overwrite mnemonics. If the selected mnemonic is already used, the IDE will ask you whether you want to overwrite an existing bookmark with the new one. In the popup that opens, select a number or a letter that you want to use as an identifier for this bookmark. In the editor, place the caret at a line of code and press Ctrl+F11.Īlternatively, right-click the gutter next to the line of code that you want to bookmark and select Add Mnemonic Bookmark. In the editor, place the caret at a line of code and press F11.Īlternatively, right-click the gutter next to the line of code that you want to bookmark and select Add Bookmark.Ī bookmark icon appears in the gutter next to the bookmarked line. You can create more lists and set another list as default. IntelliJ IDEA adds your bookmarks to the predefined list in the Bookmarks tool window that is created automatically and has the same name as the project. Files and lines marked with mnemonic bookmarks have the corresponding letter or number icon in a frame. Mnemonic bookmarks allow you to create bookmarks with numbers (0 to 9) or letters (A to Z). Files and lines marked with anonymous bookmarks have a bookmark icon. IntelliJ IDEA has two types of bookmarks:Īnonymous bookmarks don't have an identifier and allow you to place as many bookmarks as you want. The tool window also shows all breakpoints that are automatically added to the dedicated list once you place them in your code. You can also bookmark the project items (files, folders, packages, modules, and classes) that you need more often than other project items.Īll your bookmarks are grouped in lists in the Bookmarks tool window that you can open by selecting View | Tool Windows | Bookmarks from the main menu or by pressing Alt+2. You can bookmark the necessary lines of code to be able to find them easier. For such cases, IntelliJ IDEA features bookmarks. If you work with large projects, searching for files and folders can be time-consuming. Bookmarks have replaced Favorites that existed in earlier versions of the IDE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |