From: Stas Vilchik Date: Tue, 15 May 2018 09:45:50 +0000 (+0200) Subject: SONAR-10609 add keyboard shortcuts documentation X-Git-Tag: 7.5~1173 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d9cfd808a088ef4226c8d03e50020b6d52909c52;p=sonarqube.git SONAR-10609 add keyboard shortcuts documentation --- diff --git a/server/sonar-docs/src/EmbedDocsSuggestions.json b/server/sonar-docs/src/EmbedDocsSuggestions.json index 7455d98555c..91be7e4892e 100644 --- a/server/sonar-docs/src/EmbedDocsSuggestions.json +++ b/server/sonar-docs/src/EmbedDocsSuggestions.json @@ -7,18 +7,31 @@ { "link": "/documentation/quality-profiles", "text": "Quality Profiles" + }, + { + "link": "/documentation/keyboard-shortcuts", + "text": "Keyboard Shortcuts" } ], "component_measures": [ { "link": "/documentation/fixing-the-water-leak", "text": "Fixing the Water Leak" + }, + { + "link": "/documentation/keyboard-shortcuts", + "text": "Keyboard Shortcuts" } ], "custom_measures": [], "custom_metrics": [], "global_permissions": [], - "issues": [], + "issues": [ + { + "link": "/documentation/keyboard-shortcuts", + "text": "Keyboard Shortcuts" + } + ], "marketplace": [], "overview": [ { diff --git a/server/sonar-docs/src/pages/keyboard-shortcuts.md b/server/sonar-docs/src/pages/keyboard-shortcuts.md new file mode 100644 index 00000000000..3ec59aeeeab --- /dev/null +++ b/server/sonar-docs/src/pages/keyboard-shortcuts.md @@ -0,0 +1,44 @@ +--- +title: Keyboard Shortcuts +--- + +## Global + +| Shortcut | Action | +| -------- | --------------- | +| `s` | open search bar | +| `?` | open help | + +## Issues Page + +| Shortcut | Action | +| ---------------- | --------------------------------------------- | +| `↑` `↓` | navigate between issues | +| `→` | go from the list of issues to the source code | +| `←` | return back to the list | +| `alt` + `↑` `↓` | to navigate issue locations | +| `alt` + `←` `→` | to switch flows | +| `f` | do an issue transition | +| `a` | assign issue | +| `m` | assign issue to the current user | +| `i` | change severity of issue | +| `c` | comment issue | +| `ctrl` + `enter` | submit comment | +| `t` | change tags of issue | + +## Measures Page + +| Shortcut | Action | +| -------- | --------------------------------------------- | +| `↑` `↓` | select files | +| `→` | open file | +| `←` | return back to the list | +| `j` `k` | switch between files | + +## Rules Page + +| Shortcut | Action | +| -------- | --------------------------------------------- | +| `↑` `↓` | navigate between rules | +| `→` | go from the list of rules to the rule details | +| `←` | return back to the list |