Code completion for comma-delimited "targets" values in LWC meta.xml files

Issue #2187 resolved
Adam Stepanek created an issue

Hi Scott,

related to this Issue #1932, and documentation here https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reference_configuration_tags, the configTarget targets accepts comma separated targets, the intellisense works for the first one but not after the comma.

Specify one or more page types in the targets attribute, such as <targetConfig targets="lightning__RecordPage"> or <targetConfig targets="lightning__RecordPage,lightning__AppPage">

It would be helpful if the intellisense worked after the comma as well.

Comments (4)

  1. Scott Wells repo owner

    Hi. The code completions here are offered by the core JetBrains IDE based on the underlying metadata file XSD. Unfortunately there’s not a good way (to my knowledge) to indicate via the XSD that the value is a comma-delimited list so that completions after a comma work properly.

  2. Log in to comment