Search and navigation in XSLT
Last modified: 11 February 2024Basically, all possibilities for code-navigation are supported for named templates, variables, and parameters. For example, Goto Declaration, Find Usages, Highlight Usages in File, Quick Definition Lookup, and so on.

Before you start
Enable the XPathView + XSLT plugin
This functionality relies on the XPathView + XSLT plugin, which is bundled and enabled in IntelliJ IDEA by default. If the relevant features aren't available, make sure that you didn't disable the plugin.
note
The XPathView + XSLT plugin is available by default only in IntelliJ IDEA Ultimate. For IntelliJ IDEA Community Edition, you need to install the XPathView + XSLT plugin as described in Install plugins.
Press CtrlAlt0S to open the IDE settings and then select Plugins.
Open the Installed tab, find the XPathView + XSLT plugin, and select the checkbox next to the plugin name.
Find Usages
Find Usages works for variables and parameters as well as for named XSLT Templates. It finds all places of a certain template in all XSLT style sheets in the specified scope.

Go to Symbol
The plugin also supports the Go to Symbol action. You can quickly navigate to templates, top-level variables, and parameters by their names.

Thanks for your feedback!