File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/com/magento/idea/magento2plugin/completion/xml Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public XmlCompletionContributor() {
107
107
extend (CompletionType .BASIC , psiElement (XmlTokenType .XML_DATA_CHARACTERS )
108
108
.inside (XmlPatterns .xmlTag ().withName (ModuleSystemXml .SOURCE_MODEL_ELEMENT_NAME )
109
109
.withParent (XmlPatterns .xmlTag ().withName (ModuleSystemXml .FIELD_ELEMENT_NAME ))
110
- ).inFile (xmlFile ().withName (string ().endsWith (ModuleSystemXml .FILE_NAME ))),
110
+ ).inFile (xmlFile ().withName (string ().matches (ModuleSystemXml .FILE_NAME ))),
111
111
new PhpClassCompletionProvider ()
112
112
);
113
113
@@ -116,7 +116,7 @@ public XmlCompletionContributor() {
116
116
.inside (XmlPatterns .xmlAttribute ().withName (ModuleWidgetXml .ATTRIBUTE_SOURCE_MODEL_NAME )
117
117
.withParent (XmlPatterns .xmlTag ().withName (ModuleWidgetXml .TAG_PARAMETER_NAME ).
118
118
withParent (XmlPatterns .xmlTag ().withName (ModuleWidgetXml .TAG_PARAMETERS_NAME )))
119
- ).inFile (xmlFile ().withName (string ().endsWith (ModuleWidgetXml .FILE_NAME ))),
119
+ ).inFile (xmlFile ().withName (string ().matches (ModuleWidgetXml .FILE_NAME ))),
120
120
new PhpClassCompletionProvider ()
121
121
);
122
122
You can’t perform that action at this time.
0 commit comments