keyword: Live Templates XDoclet
在IDEA中要寫hibernate標簽想不想用自動提示功能? :)
Come on!
- 進入 這里
- 把hibernate.xml文本拷到本機
- 把hibernate.xml copy 到IDEA的config/templates目錄下
- 重啟IDEA
- 進入IDEA的設置里的Erros,找到Unknown javadoc tags,把以下代碼copy進來


hibernate.class,hibernate.discriminator,hibernate.subclass, hibernate.query,hibernate.property,hibernate.component, hibernate.id,hibernate.version,,hibernate.timestamp, hibernate.many-to-one,hibernate.one-to-one,hibernate.set, hibernate.bag,hibernate.list,hibernate.map,hibernate.array, hibernate.primitive-array,hibernate.collection-key, hibernate.collection-index,hibernate.collection-element, hibernate.composite-element,hibernate.collection-many-to-many, hibernate.collection-one-to-many
happy吧 :)