These instructions may be out of date.
Following them exactly, choosing the path 1.2 "Creating a plugin project from scratch" (using Gradle) and using the latest version of community yields the following issues:
Variance of created directory structure with directory structure as pictured in the instructions. Specifically, there is no Java folder as pictured and folder named main is not a source file (blue corner) as in the picture. Here is what I get; compare it to the instructions.
Adding the missing Java folder and making it a source to try to approximate the directory structure the instructions show , then pasting in the code of HelloAction results in something best communicated with a picture. Basically, the IDE has no idea where the intellij.openapi classes are.
Adding the lines to plugin.xml in the META-INF directory , specifically making sure the depends-on and the extensions are in the plugin.xml file does't resolve the missing dependencies issues. Normally, I would look for the missing libraries and explicitly add them as dependencies but I don't think that's how this is supposed to work.
I am not sure what I am doing wrong. Is there an updated version of this tutorial or does anyone know of another more current one ?
Also, there is a LOT of connecting to go fetch a LOT of JUnit, Hamcrest and com.jetbrains.IDEIC:2018.3.5 is that normal? Do i have to be connected to the internet on an ongoing basis to do IJ plugin work?