问题
I have this repo but don't know how to actually use it. Only did a git clone but what is next? https://github.com/kotest/kotest-intellij-plugin
回答1:
Ok, I managed to install it ! Steps are:
(On command line)
1) git clone the repo by running this git clone https://github.com/kotest/kotest-intellij-plugin.git
.
2) Change directory to be inside the repo main folder and run gradle build
.
(On IntelliJ IDEA)
3) Go to Prefrences->plugins and click on the little cog symbol at the top. Choose "Install plugin from disk"
4) Then choose the zip file created under \build\distributions folder. Once you click ok it will install it and you will have to restart your IDEA.
One more thing that I am not sure is needed: I included this part in my pom.xml. (the version might be different for you).
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-runner-console</artifactId>
<version>4.0.5</version>
<type>pom</type>
</dependency>
回答2:
@Dawn answer works well instead of builing from the source code you can also directly download the plugin from jetbrains plugin repository and install it as per the instruction given in @Dawn answer.
来源:https://stackoverflow.com/questions/61657293/how-do-i-install-the-kotest-plugin-for-intellij-from-a-github-repository