1

I am trying to implement VSCode extension which provides some task. I followed what is described here Extension API - Task Provider - Build Task example (except problem matchers, I don't need them) in vscode extension generated by yo. The extension gets activated when I click on Terminal -> Run Task. I see in the list exampleProvider folder, but if I click on it, it is empty. From what I know, everything is on its place. I must be missing some piece of the puzzle. Google revealed only similar unanswered problem. Could you, please help? You can see my sample code here: https://github.com/prqek/taskprovider_test

Thank you

P.

Pavel
  • 115
  • 5
  • what is the use of having `vsc-extension-quickstart.md` in the repo – rioV8 Apr 13 '21 at 16:31
  • @rioV8 That's an automatically generated file when a directory is initialized for extension development. – A. Donda Jan 08 '22 at 09:08
  • @A.Donda I know, it has absolutely no function in the extension, it is some help file for the developer, it should be in `.gitignore` and .vscodeignore` or just deleted – rioV8 Jan 08 '22 at 10:14

1 Answers1

0

You can take example on how VSCode 1.74 (Nov. 2022) implements adding a task section to terminal dropdown: see PR 165553

https://user-images.githubusercontent.com/29464607/200067057-f6168bf1-5f0e-4876-9118-a6e266c09f7d.png
(This can be tested today with VSCode Insiders)

That can be an code to follow in order to add your own entry to your menu.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250