You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This request proposes improvements to the XML autocomplete functionality for various Magento 2 configuration files. Enhancing these autocompletions can significantly speed up development and improve the overall experience for developers working with Magento 2 projects.
Describe the solution you'd like
di.xml
xsi:type attribute: Autocomplete for common Magento value types:
array
object
string
boolean
null
etc.
db_schema.xml
columnxsi:type attribute: Autocomplete for valid column data types:
int
text
varchar
decimal
date
timestamp
etc.
Layout XML & UI Components (e.g., layout/*.xml, ui_component/*.xml)
<argument xsi:type="...">: Enhance suggestions for valid xsi:type values (same list as in di.xml, plus any layout/UI-specific ones).
Hi @DmitryFurs. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Is your feature request related to a problem? Please describe.
This request proposes improvements to the XML autocomplete functionality for various Magento 2 configuration files. Enhancing these autocompletions can significantly speed up development and improve the overall experience for developers working with Magento 2 projects.
Describe the solution you'd like
di.xml
xsi:type
attribute: Autocomplete for common Magento value types:array
object
string
boolean
null
db_schema.xml
column
xsi:type
attribute: Autocomplete for valid column data types:int
text
varchar
decimal
date
timestamp
Layout XML & UI Components (e.g.,
layout/*.xml
,ui_component/*.xml
)<argument xsi:type="...">
: Enhance suggestions for validxsi:type
values (same list as indi.xml
, plus any layout/UI-specific ones).csp_whitelist.xml
id
attribute: Autocomplete known CSP directives:script-src
style-src
img-src
frame-src
acl.xml
resource
id
attribute: Autocomplete existing ACL resources:Magento_Backend::admin
Magento_Backend::stores
Magento_Catalog::catalog
routes.xml
admin
standard
Additional context
Benefit to Developers:
Additional potential for autocomplete can be found in other, less commonly used configuration files referenced in the documentation:
https://experienceleague.adobe.com/en/docs/commerce-operations/configuration-guide/files/module-files#configuration-types-objects-and-interfaces
The text was updated successfully, but these errors were encountered: