EgorKulikov / idea-chelper

Automatically exported from code.google.com/p/idea-chelper
112 stars 59 forks source link

project setting and dependency issues #75

Open zhast460 opened 5 years ago

zhast460 commented 5 years ago

Hi Egor, I see some project setting and dependency issues while building the project. Is the source all updated or is there any guide written?

EgorKulikov commented 5 years ago

Can you elaborate? Are you talking about using CHelper or building CHelper itself?

zhast460 commented 5 years ago

Hey Egor, I am talking about building CHelper itself. Could you advise below?

  1. Below 2 entries in chelper.iml can not be resolved.

  2. When I build project, error pop up says "output_path/icons/newTask.png (no such file)", if I add /src/ prior to /icons/newTask.png (CreateTaskDialog line28), the error is gone. Do I miss anything when setup the project?

  3. All the intellij dependencies can not be resolved, like below. Do I miss anything when setup the project?

import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.VerticalFlowLayout; import com.intellij.openapi.util.IconLoader; import com.intellij.ui.components.JBList; import com.intellij.ui.components.JBScrollPane; import net.egork.chelper.task.Test;

EgorKulikov commented 5 years ago

Make sure you’ve correctly set up SDK in project settings (it should point to your Idea directory)

zhast460 commented 5 years ago

my jdk has a dedicated directory /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home

EgorKulikov commented 5 years ago

That is JDK, but for Idea plugin development you need to specify what is called “Idea SDK”. It has JDK as subdependency