IntelliJ IDEA 2017.2 Help

XPath Viewer

This feature is supported in the Ultimate edition only.

File | Settings | Tools | XPath Viewer for Windows and Linux
IntelliJ IDEA | Preferences | Tools | XPath Viewer for macOS
Ctrl+Alt+S
/help/img/idea/2017.2/settings.png


This page appears if XPath View+XSLT Support plugin is enabled. In this page, configure the IntelliJ IDEA behaviour during interactive execution of XPath expressions.

ItemDescription
Scroll first hit into visible areaSelect this checkbox to have the editor automatically scroll to the first XPath match.
Use node at cursor as context nodeSelect this checkbox 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 contentDo one of the following:
  • Select this checkbox to have only the name of a matching tag highlighted.
  • Clear this checkbox to have the entire content of a matching tag highlighted.
Add error stripe markers for each resultSelect this checkbox 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 ToolbarSelect this checkbox to have buttons that invoke XPath-related actions displayed on the Main Toolbar.
Show actions in Main MenuWhen this checkbox is selected, XPath-related actions are available from the main menu.
ColorsIn 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.
  • Highlight Color - in this area, select the color to indicate XPath matches in the editor.
  • Context Node Color - in this area, select the color to indicate the current context node.
Last modified: 26 October 2017

See Also

Reference:

Language and Framework-Specific Guidelines: