| <!-- |
| ~ Copyright (C) 2024 The Android Open Source Project |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <idea-plugin> |
| <extensions defaultExtensionNs="com.intellij"> |
| <xml.schemaProvider implementation="com.android.tools.idea.wear.dwf.dom.raw.RawWatchfaceXmlSchemaProvider"/> |
| <postStartupActivity implementation="com.android.tools.idea.wear.dwf.dom.raw.RawWatchFaceXmlSchemaUpdaterStartupActivity"/> |
| <dom.fileMetaData implementation="com.android.tools.idea.wear.dwf.dom.xml.WatchFaceShapesDescription" rootTagName="WatchFaces" /> |
| <dom.fileMetaData implementation="com.android.tools.idea.wear.dwf.dom.xml.WatchFaceInfoDescription" rootTagName="WatchFaceInfo" /> |
| <externalAnnotator language="XML" implementationClass="com.android.tools.idea.wear.dwf.dom.raw.RawWatchFaceDrawableResourceExternalAnnotator" /> |
| <psi.referenceContributor language="XML" implementation="com.android.tools.idea.wear.dwf.dom.raw.RawWatchFaceDrawableReferenceContributor" /> |
| <completion.contributor language="XML" implementationClass="com.android.tools.idea.wear.dwf.dom.raw.RawWatchFaceComplicationDataSourceCompletionContributor" /> |
| |
| <notificationGroup id="Wear Declarative Watch Faces" displayType="BALLOON"/> |
| |
| <localInspection language="XML" bundle="messages.AndroidBundle" |
| implementationClass="com.android.tools.idea.wear.dwf.inspections.UnknownWFFVersionInspection" |
| enabledByDefault="true" |
| groupKey="android.inspections.group.name" |
| displayName="Unknown Watch Face Format version" /> |
| |
| <localInspection language="XML" bundle="messages.AndroidBundle" |
| implementationClass="com.android.tools.idea.wear.dwf.inspections.InvalidColorIndexXmlInspection" |
| enabledByDefault="true" |
| groupKey="android.inspections.group.name" |
| displayName="Invalid color index"/> |
| |
| <localInspection language="WFFExpression" bundle="messages.AndroidBundle" |
| implementationClass="com.android.tools.idea.wear.dwf.inspections.InvalidColorIndexWFFExpressionInspection" |
| enabledByDefault="true" |
| groupKey="android.inspections.group.name" |
| displayName="Invalid color index"/> |
| |
| <localInspection language="WFFExpression" bundle="messages.AndroidBundle" |
| implementationClass="com.android.tools.idea.wear.dwf.inspections.InvalidComplicationDataSourceLocationInspection" |
| enabledByDefault="true" |
| groupKey="android.inspections.group.name" |
| displayName="Invalid complication data source location"/> |
| |
| <localInspection language="WFFExpression" bundle="messages.AndroidBundle" |
| implementationClass="com.android.tools.idea.wear.dwf.inspections.FeatureRequiresHigherWFFVersionInspection" |
| enabledByDefault="true" |
| groupKey="android.inspections.group.name" |
| displayName="Feature requires a higher Watch Face Format version"/> |
| |
| <fileType name="WFFExpressionFile" |
| language="WFFExpression" |
| implementationClass="com.android.tools.idea.wear.dwf.dom.raw.expressions.WFFExpressionFileType" |
| fieldName="INSTANCE" |
| extensions="expression"/> |
| <lang.parserDefinition language="WFFExpression" |
| implementationClass="com.android.tools.idea.wear.dwf.dom.raw.expressions.WFFExpressionParserDefinition"/> |
| |
| <languageInjectionContributor language="XML" |
| implementationClass="com.android.tools.idea.wear.dwf.dom.raw.expressions.WFFExpressionLanguageInjectionContributor"/> |
| |
| <lang.syntaxHighlighterFactory language="WFFExpression" |
| implementationClass="com.android.tools.idea.wear.dwf.dom.raw.expressions.WFFExpressionSyntaxHighlighterFactory"/> |
| <annotator |
| language="WFFExpression" |
| implementationClass="com.android.tools.idea.wear.dwf.dom.raw.expressions.WFFExpressionAnnotator"/> |
| |
| <psi.referenceContributor |
| language="XML" |
| implementation="com.android.tools.idea.wear.dwf.dom.raw.configurations.UserConfigurationReferenceContributor"/> |
| |
| <lang.elementManipulator forClass="com.android.tools.idea.wear.dwf.dom.raw.expressions.WFFExpressionLiteralExpr" |
| implementationClass="com.android.tools.idea.wear.dwf.dom.raw.expressions.WFFExpressionLiteralExprManipulator"/> |
| |
| <completion.contributor language="WFFExpression" |
| implementationClass="com.android.tools.idea.wear.dwf.dom.raw.expressions.WFFExpressionCompletionContributor"/> |
| |
| <lang.foldingBuilder language="XML" implementationClass="com.android.tools.idea.wear.dwf.dom.raw.expressions.TemplateParameterStringFoldingBuilder" /> |
| </extensions> |
| <actions> |
| <action id="ImportWatchFaceStudioFileAction" |
| class="com.android.tools.idea.wear.dwf.importer.wfs.ImportWatchFaceStudioFileAction" text="Import Watch Face Studio File..." /> |
| </actions> |
| </idea-plugin> |