Navigation Overview

PHP Tools provides three ways to efficiently navigate the PHP source code. All the approaches integrate with the existing Visual Studio Code user interface.

The navigation may not be able to locate symbols in invalid PHP files, because syntax errors generally change the meaning of code.

Go To Definition

PHP Tools supports the Go To Definition feature invoked by the F12 key.

Go to Symbol

PHP Tools supports the Go to Symbol feature invoked by the Ctrl+Shift+O key.

Open Symbol by Name

PHP Tools supports the Open Symbol by Name feature invoked by the Ctrl+T key.