File | Settings | Tools | XPath Viewer
This page appears if XPath View+XSLT Support plugin is enabled. In this page, configure the WebStorm behaviour during interactive execution of XPath expressions.
|Scroll first hit into visible area||Select this check box to have the editor automatically scroll to the first XPath match.|
|Use node at cursor as context node||Select this check box to have the entered XPath expression use the currently selected node (tag/attribute/pi, etc.) as its context node and evaluate the expression relatively to this node.|
|Highlight only start tag instead of whole tag content||Do one of the following:
|Add error stripe markers for each result||Select this check box to have each match supplied with an error stripe marker which can be quickly navigated to. The tooltip of each marker shows the matched content.|
|Show actions in Toolbar||Select this check box to have buttons that invoke XPath-related actions displayed on the Main Toolbar.|
|Show actions in Main Menu||When this check box is selected, XPath-related actions are available from the main menu.|
|Colors||In this area, configure color indication during execution of XPath expressions. Clicking on the color box will open the Select Color dialog
in which you can modify the current color indication.