# Create java custom rule

**URL:** <https://community.sonarsource.com/t/create-java-custom-rule/10320>\
**Category:** Writing rules\
**Tags:** java\
**Created:** [May 31, 2019, 3:22pm UTC](https://community.sonarsource.com/t/create-java-custom-rule/10320 "2019-05-31T15:22:14Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Quentin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/quentin/32/74716_2.png) [@Quentin](https://community.sonarsource.com/u/Quentin)\
**Post date:** [July 10, 2020, 8:29am UTC](https://community.sonarsource.com/t/create-java-custom-rule/10320/8 "2020-07-10T08:29:24Z")

</div>

Closing this topic for lack of activity, and to avoid having more questions going in all directions.

If you face trouble with custom rules, please have a look at:

- [CUSTOM RULES 101](https://github.com/SonarSource/sonar-java/blob/master/docs/CUSTOM_RULES_101.md)
- [Example project](https://github.com/SonarSource/sonar-java/tree/master/docs/java-custom-rules-example)

We update it on a regular basis.  
In addition, if you have trouble testing a rule in an IDE, [this post](https://community.sonarsource.com/t/validation-of-constraints-annotation/24648/2) could also help.

If you still face any issue related to custom rule for Java, please create a new thread, with a clear title and description.

Thanks!

---

_[View the full topic](https://community.sonarsource.com/t/create-java-custom-rule/10320)._
