I’m just trying to understand the reason behind having separated folders for Keymaps and Menus, especially that we can have a menu and keymap entries in the package.json ? Isn’t a good idea to have only one manifest file or it’s much better to separate the configuration?
snippets directory makes sense and then we don’t have to come up with some file extension to signify what kind of configuration file it is
It’s an arbitrary choice, but one that makes sense, I think.
Speaking as a newbie to Atom, the parts that made immediate sense to me (and thus didn’t require any energy to figure out) were those niche folders. I can open up any package, look at its
keymap directory, and immediately understand what it’s trying to do. If the keybindings are defined in the code files, or in
interface.js file amid a dozen vaguely-named JS files would be the opposite of useful.
Agreed. It’s also self-documenting: no matter what an author names a file, any casual reader will get the gist of its purpose if it’s in a subdirectory named