How to see which package a command comes from?


#1

Suppose I see a command in the command palette. How can I determine which package it comes from?

Some commands are not named after the packages they come from, so I can’t tell just from looking in the command palette.


#2

When you type atom.commands in the developer console, you can click through all available commands:

In this screenshot you see the object key FunctionLocation which links the location where the command is defined. However, there might be cases where a command is linked to a package that provides a service (e.g. build providers for the build package) and not the package itself.


#3

That’s helpful, thanks!