The following examples who how to use the plugin.

data-sly-* commands

If you type in the start of a data-sly-* command, the plugin will automatically give you a list with all available completions:

data-sly

The list displays only completions which are currently available (e.g. data-sly-u will not display data-sly-list).

Properties of AEM classes

If you type in the the begining of one of the following variables, the plugin will automatically give you a list with the matching completion:

  • currentPage
  • wcmmode

Build in

If the variable has been completed, the autocompletion will display a list with all members/methods of the variable:

Build in

Variable-names defined by data-sly-use and data-sly-list

If you define a variable using data-sly-use or data-sly-list, the plugin will suggest it for further autocompletions.

Variables

Class Lookup

If you define a variable using data-sly-use, the plugin will suggest all available classes from the current project:

ClassLookup

Members of variables

If you define a variable using data-sly-use or data-sly-list, the plugin will suggest it’s members/methods as autocompletion:

Members

will display a list with all members/methods which are public and have a return-value (not void).

This also works in cascades:

Members

Back to top

Version: 1.1.1-SNAPSHOT. Last Published: 2019-03-01.