hanack / intellij-generator-plugin Goto Github PK
View Code? Open in Web Editor NEWSimple IntelliJ-Plugin to generate Dtos, special Wrapper and Builders
License: BSD 3-Clause "New" or "Revised" License
Simple IntelliJ-Plugin to generate Dtos, special Wrapper and Builders
License: BSD 3-Clause "New" or "Revised" License
Write a help topic for the plugin.
When I try to generate DTO I have:
NoSuchMethodError: com.intellij.psi.PsiManager.getCodeStyleManager()Lcom/intellij/psi/codeStyle/CodeStyleManager;
Make the attributes in the builder generation dialog selectable for the creation of assertions.
Alternively use a Annotation to use this feature in non interactive generation mode.
Wouldn't it be nice, if one could configure the code which will be generated for every getter/attribute of a given class.
Introduce special annotation for generators. Let this annotation specify,
if a element should just initialy be generated. That means a newly invocation of the plugin ignores already generated elements.
Starting with an interface, all associated interface could be provided with a dto also.
Interisting is the handling of associations for the generated DTOs. Should they become associations between derived DTOs or rather between interfaces?
It seems, as if the annotation based generation takes some time. Will this be an issue in projects with lots of classes? Is there space for performance optimization if so?
Fields within the DTO of type "Set" or "List" are initialized with null.
private java.util.Set family;
Fields are initialized with Collections.emptySet / List.
Dtos contains "add" and "remove" methods for collections. Initialization should then as with "new ArrayList()" or "new HashSet()"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.