CodeLocator icon indicating copy to clipboard operation
CodeLocator copied to clipboard

enable k2 mode for android studio and idea ?

Open punkisnotdead3 opened this issue 1 year ago • 8 comments

https://kotlin.github.io/analysis-api/declaring-k2-compatibility.html

punkisnotdead3 avatar Dec 31 '24 01:12 punkisnotdead3

+1,求适配

tanranran avatar Jan 04 '25 12:01 tanranran

Image

liuxinyiHaylou avatar Feb 26 '25 09:02 liuxinyiHaylou

1.Unzip the plugin CodeLocatorPlugin.zip. 2.Locate the file CodeLocatorPlugin/libCodeLocatorPlugin-2.0.4.jar. 3.Modify the plugin.xml file inside the JAR file and add the following content: <extensions defaultExtensionNs="org.jetbrains.kotlin"> <supportsKotlinPluginMode supportsK1="true" supportsK2="true" /> </extensions>

liuxinyiHaylou avatar Feb 26 '25 09:02 liuxinyiHaylou

Image

hxgJG avatar Apr 17 '25 07:04 hxgJG

+1,求适配

orangeboyChen avatar May 08 '25 03:05 orangeboyChen

+1,求适配K2 mode

kingtwelve avatar May 08 '25 09:05 kingtwelve

+1,求适配K2 mode 这个已经适配了,先移除在线的,然后本地导入 CodeLocatorPlugin.zip

liuxinyiHaylou avatar May 13 '25 09:05 liuxinyiHaylou

2.0.5已支持

liujianAndroid avatar Aug 27 '25 02:08 liujianAndroid