官术网_书友最值得收藏!

Creating a bookmark

Bookmarks are great. A bookmark lets you put a flag somewhere in your code so that you have a shortcut to access that code.

A bookmark in PhpStorm has the same meaning as that in a book where a reader puts some indication in the form of some piece of paper, by turning the page corner, or by any means through which the reader can access the page directly.

How to do it...

PhpStorm bookmarks are created with ease. The add bookmark option can be had by going to Navigate | Bookmarks.

The three options available are explained here:

  • Toggle Bookmark: This feature enables you to create a bookmark at some specified line of code if it does not exist and to delete a bookmark from some line of code if it does.
  • Toggle Bookmark with Mnemonic: This feature enables you to toggle a bookmark with the added ability to be able to access that bookmark using keyboard shortcuts.

    Suppose you choose the alphanumeric 0, as shown in the following screenshot, you will be able to access that bookmark by using Ctrl + 0

    How to do it...

Show Bookmarks: This is rather a simple feature. It simply lets you view all the bookmarks you created for the project you are working on.

Tip

Quick access to bookmark

In order to have quick access to the bookmark feature with the mnemonic feature, all the hard work that you have to do is remember the keyboard shortcut Ctrl + F11. The rest will be taken care of by PhpStorm automatically.

主站蜘蛛池模板: 武鸣县| 平远县| 枣庄市| 永兴县| 外汇| 个旧市| 将乐县| 桃园县| 浦北县| 塘沽区| 会昌县| 浪卡子县| 上栗县| 陇南市| 英超| 固阳县| 江孜县| 南靖县| 大英县| 阿荣旗| 滦平县| 宿州市| 尼玛县| 襄垣县| 阜新市| 古丈县| 特克斯县| 宝清县| 苍山县| 内江市| 合川市| 庆元县| 渝中区| 共和县| 台中县| 灵武市| 泽普县| 灵寿县| 文水县| 卢龙县| 衡阳市|