We have a template project for ide plugin creation; it will be used for test task implementation. It's recommended to work in the latest stable IDEA. How to work with the project and properly run written code?
- run gradle task
runIde, this task will run intellij idea with preinstalled plugin from this project - create a new project from wizard
new project -> kotlin multiplatform -> jvm console application - when the project will be opened, our action will be under
Tools -> Test Task Action 1/2/3
-
In the
TestTaskAction1class, implement the output of the installed kotlin plugin version. -
In the
TestTaskAction2class, implement the output of project dependencies (aka External Libraries). -
In the
TestTaskAction3class, implement opening themain.ktfile in the editor and output all line markers from it. Line markers are located in the editor on the left. They invoke some basic actions and other framework and technology-specific features. -
* The task with a star. Implement an action that will run the
main.ktfile and check that the task exit code is 0. -
Write a short checklist/test scenario to check the
jvm console application. What checks would you add in addition to the previously implemented ones (you don't have to implement them, only list them in the checklist)?
- see classes
AnActionEvent, ProjectView, PluginManager, FileEditorManager, DaemonCodeAnalyzerImpl, RunContentManager - https://plugins.jetbrains.com/docs/intellij/welcome.html

