Godot 4 No Longer Supports "%BASE%" in Script Template?

Godot Version



In Godot 3.5.X I made a script template with “extends %BASE%” at the top. Godot would automatically convert the “%BASE%” part to whatever the attached node was inheriting, i.e. it would automatically show up as “extends CanvasLayer.” However, now in Godot 4 whenever I make a new script, it just remains as “%BASE%.” What is the new syntax for what I’m trying to do?

docs: Creating script templates — Godot Engine (stable) documentation in English

tl;dr: extends _BASE_