Open Class at Line Number

#14 Open Class at Line Number

navigation, class, file

This tip builds on top of the previous tip, #13 Navigate to Class.

When opening a class using the 'Open Class' (or 'Open File') dialogue, you can suffix the search query with ':123' to jump to the specified line number in the chosen class.

This is very useful when errors are raised in PhpUnit, CI Servers or error monitoring services and you want to navigate to a file and line number from the stack trace.

Further Reading

Related Tips

Blog Comments powered by Disqus.