Code completion for comma-delimited "targets" values in LWC meta.xml files
Issue #2187
resolved
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)
-
repo owner -
repo owner - changed title to Code completion for comma-delimited "targetsvalues
-
repo owner - marked as minor
- changed title to Code completion for comma-delimited "targets" values in LWC meta.xml files
- removed version
- changed component to Lightning Web Components
-
repo owner - changed status to resolved
Issue tracker grooming.
- Log in to comment
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.