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

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.

主站蜘蛛池模板: 双鸭山市| 波密县| 黄山市| 饶河县| 前郭尔| 宜阳县| 宜丰县| 吴桥县| 襄樊市| 龙海市| 天台县| 满洲里市| 手游| 息烽县| 衡阳市| 南通市| 新营市| 辰溪县| 桐庐县| 台北市| 乐陵市| 肃宁县| 乐陵市| 平武县| 抚顺县| 宜春市| 田林县| 迭部县| 历史| 河南省| 蒲城县| 峨边| 突泉县| 永修县| 孙吴县| 涞水县| 吉林省| 全南县| 金华市| 建昌县| 广灵县|