atom / settings-view

🔧 Edit Atom settings
MIT License
272 stars 275 forks source link

Offer option to list all commands in keybinding section #165

Open lee-dohm opened 10 years ago

lee-dohm commented 10 years ago

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 commented 10 years ago

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?

kevinsawicki commented 10 years ago

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

rtuider commented 9 years ago

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

mamoit commented 9 years ago

:+1: would be awesome indeed.

jerone commented 9 years ago

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.

pratham2003 commented 8 years ago

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

lee-dohm commented 8 years ago

@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.

crucialfelix commented 8 years ago

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

jedeleh commented 8 years ago

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.

lee-dohm commented 8 years ago

@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.

jiminikiz commented 7 years ago
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

DiThi commented 5 years ago

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.

vfonic commented 5 years ago

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! ❤️