cobigen icon indicating copy to clipboard operation
cobigen copied to clipboard

Enable organize imports for dependencies between generated contents

Open maybeec opened this issue 10 years ago • 2 comments

Currently, we observe the behavior, that "organize imports" does not cover importing dependencies of generated code within generated code.

As an example: If you generate class1 and class2, where class1 depends on class2 and class1 does not generate any imports by template declaration, "organize imports" will not add an import of class2 within class1.

If you generate class1 and class2, where class1 depends on class2 and class1 generates the import declaration of class2 by template declaration, "organize imports" obviously will not remove the import of class2 within class1 as it is needed.

maybeec avatar Nov 10 '14 17:11 maybeec

See also #153

hohwille avatar Aug 06 '15 22:08 hohwille

Stale topic. Please negotiate closing or discussing the relevance of this ticket.

github-actions[bot] avatar Sep 16 '19 00:09 github-actions[bot]