When you hover over a macro in my_shader.shader, the extension will automatically look for macros.json in any subfolder of the same directory (like outputs/) and use it to populate tooltips.
Macro Format
The macros.json file should contain backend-specific definitions per macro name.
This file is generated automatically when using this repo, you do not need to do anything extra, just build the shaders at least once.