@@ -133,18 +133,20 @@ public XmlCompletionContributor() {
133
133
134
134
// <observer instance="Class">
135
135
extend (CompletionType .BASIC , psiElement (XmlTokenType .XML_ATTRIBUTE_VALUE_TOKEN )
136
- .inside (XmlPatterns .xmlAttribute ().withName (ModuleEventsXml .INSTANCE_ATTRIBUTE )
137
- .withParent (XmlPatterns .xmlTag ().withName (ModuleEventsXml .OBSERVER_TAG )))
138
- .inFile (xmlFile ().withName (string ().matches (ModuleEventsXml .FILE_NAME ))),
139
- new PhpClassCompletionProvider ()
136
+ .inside (XmlPatterns .xmlAttribute ().withName (ModuleEventsXml .INSTANCE_ATTRIBUTE )
137
+ .withParent (XmlPatterns .xmlTag ().withName (ModuleEventsXml .OBSERVER_TAG )
138
+ )
139
+ ).inFile (xmlFile ().withName (string ().matches (ModuleEventsXml .FILE_NAME ))),
140
+ new PhpClassCompletionProvider ()
140
141
);
141
142
142
143
// <job instance="class">
143
144
extend (CompletionType .BASIC , psiElement (XmlTokenType .XML_ATTRIBUTE_VALUE_TOKEN )
144
- .inside (XmlPatterns .xmlAttribute ().withName (CommonXml .ATTR_INSTANCE )
145
- .withParent (XmlPatterns .xmlTag ().withName (CrontabXmlTemplate .CRON_JOB_TAG )))
146
- .inFile (xmlFile ().withName (string ().matches (CrontabXmlTemplate .FILE_NAME ))),
147
- new PhpClassCompletionProvider ()
145
+ .inside (XmlPatterns .xmlAttribute ().withName (CommonXml .ATTR_INSTANCE )
146
+ .withParent (XmlPatterns .xmlTag ().withName (CrontabXmlTemplate .CRON_JOB_TAG )
147
+ )
148
+ ).inFile (xmlFile ().withName (string ().matches (CrontabXmlTemplate .FILE_NAME ))),
149
+ new PhpClassCompletionProvider ()
148
150
);
149
151
150
152
// <source_model>php class completion</source_model> in system.xml files.
0 commit comments