Description
Changelog
Reviews (0)

Super Checker

Godot 4 plugin. Pushes the warning if there is no super called in inherited functions.

About

I often forget to call super in overridden methods within my derived classes. Especiall overridden built-in virtual methods! Countless times, I have added a new method to a base class, only to find out (usually a day later), that one of derived classes already had it and was now overriding it. And unexpected behavior, that I was trying to trace for hours, was just that. Well not anymore!

This plugin pushes a warning with a clickable link to any overridden function that doesn't contain super anywhere in it. Commented out #super and strings with "super" word don't count, so you don't have to worry!

Highlights

The plugin also changes the color of the "method override" icon (displayed in the gutter) for any overridden method. So you could easily distinguish virtual methods from overridden inherent ones.

It would be extremely useful for beginners and especially extremely for advanced users, who already have a ton of inheritance in their code! Though you might need to add an #@override tag/annotation here and there (to be honest, in quite a few places), but warnings will guide you through with a clickable links. And your new setup will totally pay off in a long term.

Also, the plugin has plenty of settings, so you can customize it for your liking:

Highlights

Things I tried, but failed to do

  1. Highlight #@override with custom color
    • Solution: add it (without #@ part) to Editor Settings > Text Editor > Theme > Notice Color
  2. Push the warning in this script (editor plugin), but make it look like it originated from another script (where super wasn't used)
    • Solution: push the warning and then print rich clickable url

License

MIT License

Changelog for version v26.1.0

2026-10-31 01:10:14

No changelog provided for this version.

Reviews

Super Checker has no reviews yet.

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.