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

  • PhpStorm Cookbook
  • Mukund Chaudhary Ankur Kumar
  • 258字
  • 2021-08-06 19:43:16

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.

主站蜘蛛池模板: 长沙县| 光山县| 灵川县| 原平市| 玉环县| 旌德县| 莱西市| 临沂市| 内乡县| 濮阳市| 信丰县| 公主岭市| 乌兰察布市| 分宜县| 台安县| 准格尔旗| 馆陶县| 宾川县| 古田县| 科技| 右玉县| 安平县| 禄丰县| 常熟市| 东安县| 广灵县| 华容县| 会理县| 莒南县| 丹巴县| 怀柔区| 桐乡市| 沐川县| 鄯善县| 北辰区| 玛沁县| 建湖县| 慈利县| 平武县| 醴陵市| 浮梁县|