Html. Slim. Several attributes with the same name supported

This commit is contained in:
Andrey Vokin
2015-12-25 17:40:10 +03:00
parent a01d73ff0e
commit 0b01324e39
2 changed files with 4 additions and 4 deletions
@@ -97,7 +97,7 @@
<with attribute="implementationClass" implements="com.intellij.lang.HtmlInlineScriptTokenTypesProvider"/>
</extensionPoint>
<extensionPoint name="html.attributeValuesProvider" interface="com.intellij.html.impl.providers.HtmlAttributeValuesProvider"/>
<extensionPoint name="html.attributeValueProvider" interface="com.intellij.html.impl.providers.HtmlAttributeValueProvider"/>
<extensionPoint name="xml.psiPolicy"
beanClass="com.intellij.lang.LanguageExtensionPoint">
@@ -19,9 +19,9 @@ import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.psi.xml.XmlTag;
import org.jetbrains.annotations.Nullable;
public class HtmlAttributeValuesProvider {
public static final ExtensionPointName<HtmlAttributeValuesProvider> EP_NAME =
new ExtensionPointName<HtmlAttributeValuesProvider>("com.intellij.html.attributeValuesProvider");
public class HtmlAttributeValueProvider {
public static final ExtensionPointName<HtmlAttributeValueProvider> EP_NAME =
new ExtensionPointName<HtmlAttributeValueProvider>("com.intellij.html.attributeValueProvider");
/**
* Calculates attribute value. Used when it is impossible to get attribute value as text of PSI element