How does macros work with datapacks

So, i'm trying to create a macro function, but it doesnt work, it appears on vscode as wrong, and i get it maybe the extension is not updated, but it doesnt appear with the /function command in mine too.

Continue to help post