Tuesday, March 29, 2011

IntelliJ IDEA Static Analysis: Custom Rules with Structural Search & Replace

Well, well, I made another screencast. This time I'm taking on IntelliJ IDEA code inspections, and writing your own static code analysis rule (and quick fix!) using Structural Search & Replace. Not bad for under 5 minutes.

If you have any trouble viewing the video then perhaps you should watch it directly on the JetBrains site. And if you're feeling generous, then clicky clicky to upvote at DZone.



Check out these pages for more information on IDEA inspections:

Read these pages to learn more about Structural Search and Replace:

I've made a lot of screencasts and blog posts over the years. If you like this, then there are many ways to see the other stuff I've done:

Phew, that's a lot of self-promotion :)

Thanks for watching, and leave a comment!

3 comments:

Drew Noakes said...

This menu item seems to have disappeared in the IDEA 10.5 EAP!

greg said...

Hey Hamlet,

Indeed, in 10.5, I can't find the intention you're enabling - clue ?

Hamlet D'Arcy said...

I believe the intention is only in Ultimate edition. Are you on the community edition?