blob: 56c229ff4d11c7b82bba58bf917e2a7b090da379 [file] [log] [blame]
<!--
~ 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">
<fileType name="DeviceSpecFile"
language="DeviceSpec"
implementationClass="com.android.tools.idea.preview.util.device.DeviceSpecFileType"
fieldName="INSTANCE"
extensions="dspec"/>
<lang.parserDefinition language="DeviceSpec"
implementationClass="com.android.tools.idea.preview.util.device.parser.DeviceSpecParserDefinition"/>
<languageInjectionPerformer language="kotlin"
implementationClass="com.android.tools.idea.preview.util.device.KtDeviceSpecInjectionPerformer"/>
<completion.contributor language="DeviceSpec"
id="DeviceSpecContributor"
implementationClass="com.android.tools.idea.preview.util.device.DeviceSpecCompletionContributor"/>
<lang.syntaxHighlighterFactory
language="DeviceSpec"
implementationClass="com.android.tools.idea.preview.util.device.DeviceSpecSyntaxHighlighterFactory"
/>
</extensions>
<actions>
<action id="Android.Designer.CommonActions.ForceCompileAndRefreshActionForNotification"
class="com.android.tools.idea.preview.actions.ForceCompileAndRefreshActionForNotification"
use-shortcut-of="ForceRefresh" >
<add-to-group group-id="Android.Designer.CommonActions" />
</action>
</actions>
</idea-plugin>