is there a way to run only my class

I have a large application with multiple projects and dependencies. To debug a functionality, i want to write a new java class in the project source folder with a main method, so i get all required jars, and run it.

Is there a way to run only my class,,, instead of scanning everything in the workspace and failing saying some class in some project has a missing dependency.

 

If my class does not require that project, why should I care about it?

Idea may scan it however should run my class.

 

Any suggestion on how to do this????

0

Have you tried removing the 'build' item in 'before launch' on the run config?

 

1

Create a scratch java file (File > New > Scratch File). You can run a scratch file by clicking the Run icon in the gutter.

0

请先登录再写评论。