'How to add custom icons in editor action toolbar

I want to add a custom icon on the editor action toolbar in vs code, which would be a link to a command. The icon should be visible alongside the file when any file is open on vscode. How to add the custom icon? Any leads would be helpful

image



Solution 1:[1]

Add your custom command inside package.json under "editor/title" and "command". For more details check the following links:

  1. Editor Action
  2. Contribution point

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ISHITA PRAMANICK