10/28/2014

Javadoc closing tags in IntelliJ

When writing javadocs, IntelliJ automatically adds a closing tag for html elements. For instance, after typing <lt>, it automaticaly adds </lt>, or after typing <p>, it adds </p>. It can be annoying since simple html elements like those used in javadocs don't really need ending tags.
To disable javadoc automatic closing tags in IntelliJ, simply go to IntelliJ Preferences -> Editor -> Smart Keys, then on the right panel, uncheck Automatically insert closing tag.

Intellij 14 screenshot:



 Intellij 15 screenshot:

A related note, JDK 8 has tightened javadoc syntax check, and as a result self-closing elements like <p/>, or <br/> are deemed invalid and will cause failures. See JDK-8020619. However, this checking can be disabled by passing nonstandard option -Xdoclint:none to javadoc tool. For official javadoc guidelines, see How to Write Doc Comments for the Javadoc Tool .

16 comments:

Quontra Solu said...

Hi

Thank you for giving very valuable information on Java Doc - Java Online Training

Sathya G said...

thank you for such a great article with us. hope it will be much useful for us. please keep on updating...

Anonymous said...

Cara Menurunkan Trombosit Tinggi
Cara Menurunkan Leukosit Tinggi Pada Anak
Obat Penyakit Kulit Scabies Yang Tersedia Di Apotik

hường lê said...

Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.

Discover our website bounty of free online games now!
Our website has the biggest collection of free online games. Totally new games are added every day!

age of war 2| gold Miner 2| unfair Mario 2 | cubefield 2 |tanki Online 2

Jeffy said...


Thank you for sharing such a nice and interesting blog with us. Hope it might be much useful for us. keep on updating...!!
seo company in india
digital marketing company in india
seo company in chennai
digital marketing company in chennai

yoob games said...

العاب فلاش هي اكتر الاشياء محبة عند الاطفال و الكبار ايضا فهناك الكتير يحبها وبعد كل هذا انتشرت المواقع المختصة في ذلك لتلبية حاجيات المعجبين كما انها تتفرع لعدة اصناف وهي كتيرة جدا وهناك من هي للاولاد وهناك من هي للبنات وذلك على حسب ذوق كل شخص فل نبدأ بتعريفها فهناك العاب طبخ و تلبيس و مكياج و ايضا قص الشعر وكل هذه الانواع تندرج ضمن العاب البنات اما الانواع التالية وهي سيارات و حرب و قتال و اكشن و مغامرات تعتبر من العاب الاولاد وهي ايضا عندها معجبين كتر خاصة في العالم العربي وموقعنا هذا سيكون شامل ويتضمن كل هذه الاقسام من الان فصاعدا فمرحبا بكم جميعا معنا ونحن نعمل ليلا نهار حتى نجعل من موقعنا الافضل ولكي تجدو ما تحتاجونه هنا بدون صعوبة و كترة البحت معا ليكم سوى الدخول لموقعنا والتوجه للنوع الذي تريدون ومن بعدها تلعبون مباشرة بدون اي تعقيدات وهذا كان تعريف بسيط للانواع الموجودة في العاب

Shalini said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
seo company in india

Shalini said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
Digital Marketing Company in India

Vignesh PV said...

interesting information from your blog.
PHP Training in Chennai

Navya Kumar said...

Wonderful bloggers like yourself who would positively reply encouraged me to be more open and engaging in commenting.So know it's helpful.

SEO Company in Chennai

Priyatamil said...

Thank you for this brief explanation and very nice information. Well, got a good knowledge. Sometimes you just have to yell at people and give them a good shake to get your point across.
Study Abroad Consultants in Chennai | Study in Germany Consultants in Chennai | Germany Education Consultants in Chennai

Vignesh PV said...

This information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic. Android Training in Chennai

Sindhuja Ravi said...

Truly a very good article on how to handle the future technology. After reading your post,thanks for taking the time to discuss this, I feel happy about and I love learning more about this topic
SEO Company in Chennai

html color said...

Interesting article! Thank you for sharing them! I hope you will continue to have similar posts to share with everyone!

Philips Huges said...



Thanks admin for sharing the unique content, you have done a great job

Installment loans in Mississippi
Payday loans in Mississippi
Title loans in Mississippi

Mahalyasree said...

Usually I do not read post on blogs, but I would like to say that this write-up very forced me to try and do it! Your writing style has been surprised me. Great work admin..Keep update more blog..
Architects in Chennai