![]() 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. WebStorm 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. The tool window also shows all breakpoints that are automatically added to the dedicated list once you place them in your code.Īnonymous bookmarks don't have an identifier and allow you to place as many bookmarks as you want. You can also bookmark the files, folders 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, WebStorm features bookmarks. If you work with large projects, searching for files and folders can be time-consuming. (Example: port~1 matches fort, post, or potr, and other instances where one correction leads to a match.Bookmarks have replaced Favorites that existed in earlier versions of the IDE. To use fuzzy searching to account for misspellings, follow the term with ~ and a positive number for the number of corrections to be made.(Example: shortcut^10 group gives shortcut 10 times the weight as group.) Follow the term with ^ and a positive number that indicates the weight given that term. For multi-term searches, you can specify a priority for terms in your search.(Example: title:configuration finds the topic titled “Changing the software configuration.”) ![]() Type title: at the beginning of the search phrase to look only for topic titles.(Example: inst* finds installation and instructions.) The wildcard can be used anywhere in a search term. Use * as a wildcard for missing characters. ![]() (Example: user +shortcut –group finds shortcut and user shortcut, but not group or user group.)
0 Comments
Leave a Reply. |