Skip to content

Commit 64ca96e

Browse files
authored
Modified the rust plugin id to use the new rust plugin (#3873)
* modified the rust plugin id to use the new rust plugin * initial changes * backwards compatible
1 parent fd22cd3 commit 64ca96e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!-- Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. -->
2+
<!-- SPDX-License-Identifier: Apache-2.0 -->
3+
4+
<idea-plugin>
5+
<extensions defaultExtensionNs="aws.toolkit.codewhisperer">
6+
<programmingLanguage implementation="software.aws.toolkits.jetbrains.services.codewhisperer.language.languages.CodeWhispererRust"/>
7+
</extensions>
8+
</idea-plugin>

jetbrains-core/resources/META-INF/plugin.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ with what features/services are supported.
9393
<depends optional="true" config-file="ext-scala.xml">org.intellij.scala</depends>
9494
<depends optional="true" config-file="ext-kotlin.xml">org.jetbrains.kotlin</depends>
9595
<depends optional="true" config-file="ext-shell.xml">com.jetbrains.sh</depends>
96-
<depends optional="true" config-file="ext-rust.xml">org.rust.lang</depends>
96+
<depends optional="true" config-file="ext-rust-deprecated.xml">org.rust.lang</depends>
97+
<depends optional="true" config-file="ext-rust.xml">com.jetbrains.rust</depends>
98+
9799
<xi:include href="services/caws.xml" xpointer="xpointer(/idea-plugin/*)">
98100
<xi:fallback/>
99101
</xi:include>

0 commit comments

Comments
 (0)