I'm building a VSCode extension to edit and run custom text files and I'm trying to figure out how to add a custom Run or Debug button inside the Text Editor. Unfortunately I can't find any documentation or examples that describe my use case.
What I want to achieve is something like the Debug button displayed in the package.json files, but in a custom file with a specific extension:
Tried to create commands and tasks but nothing seems to work to display the button inside the text editor.
Does anyone know if it's possible?