WebStorm 2017.3 Help

Completion

On this page:

Overview

With Code Completion being one of the key features of WebStorm, the plugin provides several possibilities to complete keywords, predefined functions, variables and parameters used in XPath expressions, template names and names of parameters that can be passed to a template invocation.

Completion in XPath Expressions

It's possible to complete all parameters/variables in scope inside an XPath expression in a normal expression attribute or inside an attribute value template

Variable Completion

Also, all predefined functions and keywords are available for completion, including function signatures.

Function Completion

The Quick Documentation Lookup also works in completion lookup lists.

Completion for Template Names in Xsl:Call-Template

The template's name that is to be called can be completed from a list of all named templates in the current document and included Style Sheets.

Template Name Completion

Completion for Template Parameters

There's a special completion for parameters that should be passed to a template in a xsl:call-template invocation. The completion lists all parameters that are declared by the template and are not yet present in the argument list of the invocation, i.e. there's no xsl:with-param yet.

Parameter Completion
Last modified: 26 March 2018