settings-view icon indicating copy to clipboard operation
settings-view copied to clipboard

Offer option to list all commands in keybinding section

Open lee-dohm opened this issue 9 years ago • 13 comments

One of the hardest things for new users to Atom to discover is what commands are available if they have not yet had a keybinding set for them. This would allow them to set an option to more easily discover keybindings for commands that do not come with keybindings configured for them.

Requirements

  1. Create a settings-view:showAllCommands configuration option
  2. When settings-view:showAllCommands is set to true, show all commands in the Keybindings section whether they have a keybinding configured or not

keybinding sample

lee-dohm avatar Aug 26 '14 17:08 lee-dohm

Also, when #166 is implemented, it would be great if a way of offering that functionality for these commands would be possible. Perhaps by showing a clipboard with "not assigned" after it?

lee-dohm avatar Aug 26 '14 18:08 lee-dohm

:+1: I almost think they should all always be shown when copied, it could just insert a default keybinding like ctrl-I or something.

kevinsawicki avatar Sep 25 '14 23:09 kevinsawicki

A list of all command would be awesome! :-)

rtuider avatar Feb 02 '15 12:02 rtuider

:+1: would be awesome indeed.

mamoit avatar Feb 27 '15 10:02 mamoit

A list of all possible commands would be great. But without an edit option to set a keystroke, I don't think this is the right place for that list.

jerone avatar May 06 '15 18:05 jerone

+1 New user here... Finding it time consuming to find the commands on google.. Is there at least a list somewhere?

pratham2003 avatar Mar 13 '16 06:03 pratham2003

@pratham2003 You can always pull up the Command Palette with Shift+Cmd+P on OS X or Ctrl+Shift+P on other platforms. It will show all the commands that are applicable to the current location in the UI. You can also look at the Keybindings tab in Settings View, which will show all commands that have a keybinding associated with them. But no, there is not a list of all commands yet, that's what this feature request is for.

lee-dohm avatar Mar 14 '16 16:03 lee-dohm

Currently we have to open a console and type atom.commands.registeredCommands to discover what the code name of a command is.

crucialfelix avatar May 24 '16 07:05 crucialfelix

I want a way to put this list into another file. I personal 'cheat sheet' if you will. I've tried selecting all of the keybindings from the preferences->keybindings but cmd-c doesn't actually do anything, and there's no right click menu. I'd be fine with creating my list by copying it into a buffer and then manually prettying it up. I'm getting super tired of opening that preferences->keybindings view and then searching through to try and guess what the keybinding action might be called.

jedeleh avatar Aug 09 '16 13:08 jedeleh

@jedeleh If you're requesting a feature, you should open a new Issue. Though you could probably get something quicker if you ask on Discuss, the official Atom and Electron message board. Someone there might be able to whip something up for you.

lee-dohm avatar Aug 09 '16 15:08 lee-dohm

Object.keys(atom.commands.registeredCommands).map((item,index) => console.log(index, item));

Run that in your console. Could totally make a package that tosses this result into a command palette. If I had enough time, lol

jiminikiz avatar Aug 25 '17 16:08 jiminikiz

After 2-3 years I've found how to assign a key to a command I wanted to use... I realized because the original issue I've filled has been locked automatically.

This feature is very needed.

DiThi avatar Jan 24 '19 23:01 DiThi

After 2-3 years I've found how to assign a key to a command...

That just sounds sad coming from a user...

Why is this still an active issue 5 years later?

I actually came here because I'm trying to assign a keybinding to a command and I have no idea how to achieve that. I'm staring at keymap.cson and "Keybindings" settings pane...the command I want to assign a keybinding to doesn't come up when I search for it in "Keybindings" and I have no clue how should I name it in keymap.cson.

The actual command is "Application: Reopen Project". I guessed correctly: 'application:reopen-project' Why is this a guessing game? Where can I see all the commands (their names and parameterized names)? Thanks! ❤️

vfonic avatar Jun 01 '19 08:06 vfonic