Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Webstorm Mac Cheat Sheet: Added new shortcut for Webstorm #3436

Merged
merged 2 commits into from Sep 7, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions share/goodie/cheat_sheets/json/webstorm-mac.json
Expand Up @@ -27,6 +27,10 @@
"key": "[Shift] [Cmd] [A]",
"val": "Find action by name"
},
{
"key": "[Ctrl] [Space]",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for Mac, so it should probably be [Cmd].

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No! There is a difference between cmd and ctrl. If you press cmd + space you open the integrated spotlight search from apple not them from webstorm.
Cmd and Ctrl are different keys!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@universeofsolutions Huh, some of the shortcuts seem to give the opposite bindings - the source (https://www.jetbrains.com/help/webstorm/2016.1/keyboard-shortcuts-you-cannot-miss.html) only specified Ctrl, perhaps the other bindings should be updated to use Ctrl rather than Cmd then?

Perhaps we should talk in terms of Super and Meta keys - it'd make life so much easier 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah! You are right. They updated their documentation. But this documentation isn`t correct.
For example:

  • cmd + d is duplicating a line
  • ctrl + d is opening the debugger

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@universeofsolutions Hmm, perhaps we should fine a source that doesn't have contradictory information? It's less likely to cause confusion for click-throughs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GuiltyDolphin I have found the error. We hadn`t defined the right key map in the right corner. If you set it to OS X, everything is great.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@universeofsolutions Ah, yes - you are right.

I can't see any immediate way to provide a link to that particular setting, but if you see one in the future, would you mind updating the cheat sheet?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"val": "Show suggestions"
},
{
"key": "[Cmd] [/]",
"val": "Comment or uncomment a line with line comment"
Expand Down