builder-generator-idea-plugin icon indicating copy to clipboard operation
builder-generator-idea-plugin copied to clipboard

Unable to use the builder without invalidate cache and restart IntelliJ.

Open pkernevez opened this issue 1 year ago • 1 comments

Hi,

I'm using the version 1.3.0 with a maven project. When I create the builder (default values for all the parameters), if I create it in the main forder everything is ok. If I create it in the test folder, it refuse to compile.

I think the PsiReference is not updated with the right forlder after the generation.

image The error is : "Cannot access com.or.shift.cbs.core.position.PositionEntityBuilder", and the 2 classes are in the same folder and package.

pkernevez avatar Jan 15 '24 11:01 pkernevez

Getting this as well. If I move the Builder to another package, rename, move it back, and rename again, it fixes it. This seems to only occur when you generate the builder inside the test sources, not the production sources.

andreasevers avatar Feb 22 '24 09:02 andreasevers