How to highlight a custom section of code and keep it highlighted until I choose to highlight it.

Say suppose I am working with an html file , and I want to highlight a particular section of code say form line 200 to line 500.

I want this section to stay highlighted in the left gutter probably as I perform various search operations , move about clicking else where in the file etc.

This would basically help me know that what ever I intended to search for or change is in this section and i can identify it by just looking at the highlight in the left gutter.

Is there a feature like this.

0
2 comments

Honestly, nothing like this one comes to a mind right now.

However, did you try using bookmarks already? Probably, these could be a nice workaround:

https://www.jetbrains.com/help/phpstorm/navigating-through-the-source-code.html#use_bookmarks

0
Avatar
Permanently deleted user

Vasiliy Yur : 

Alright,

actually am already using bookmarks. Thanks for the reply. 

0

Please sign in to leave a comment.