Reputation: 5406
Is there a way to navigate up and down the highlights as in the screenshot?
I read the article here: https://www.jetbrains.com/help/phpstorm/navigating-through-the-source-code.html but couldn't find what I'm looking for
Basic usage is I just want to sprinkle a bunch of highlights around the code and be able to jump between them using a shortcut.
I know that an alternative would be to use the favorites, but I want to see if it can be done using highlights.
I'm on a Mac.
Upvotes: 0
Views: 80
Reputation: 3557
I just want to sprinkle a bunch of highlights around the code and be able to jump between them using a shortcut.
Navigate
> Back
and Navigate
> Forward
should work ideally in that case.
Upvotes: 1
Reputation: 14927
According to your comment above, you're using these breakpoints as a kind of visible bookmark within your code. However, IntelliJ does have a Bookmarks feature.
I would therefore suggest to simply alter the way they appear so they stick out more:
File | Settings | Editor | Color Scheme | General
Editor | Bookmarks
Here's an example with funky bookmarks (pardon my light theme):
You can then navigate between them using:
Navigate | Bookmarks | Previous Bookmark
Navigate | Bookmarks | Next Bookmark
Upvotes: 0