-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
revise keyboard shortcut page #4630
Merged
Merged
Changes from 4 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d9d5ece
new file
mirnawong1 d1e8bfd
Merge branch 'current' into keyboard-shortcut
mirnawong1 3c97f45
fi link
mirnawong1 6de88f1
Merge branch 'keyboard-shortcut' of https://github.com/dbt-labs/docs.…
mirnawong1 73e2c1c
Merge branch 'current' into keyboard-shortcut
mirnawong1 292a2fa
updates
mirnawong1 c0792b8
final tweaks
mirnawong1 4fe7eeb
turn to table
mirnawong1 5f24285
add line
mirnawong1 206a248
Merge branch 'current' into keyboard-shortcut
mirnawong1 bd8fa09
Update vercel.json
mirnawong1 1b659c9
Merge branch 'current' into keyboard-shortcut
mirnawong1 574988e
fold feedback
mirnawong1 ff0b5e9
fold feedback
mirnawong1 fa7b908
Merge branch 'current' into keyboard-shortcut
mirnawong1 3bcf8f0
fold feedback
mirnawong1 0ee6385
Merge branch 'keyboard-shortcut' of https://github.com/dbt-labs/docs.…
mirnawong1 6e0fd2e
Merge branch 'current' into keyboard-shortcut
mirnawong1 b81b041
Merge branch 'current' into keyboard-shortcut
matthewshaver File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
website/docs/docs/cloud/dbt-cloud-ide/keyboard-shortcuts.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: "dbt Cloud IDE keyboard shortcuts" | ||
description: "Learn about the keyboard shortcuts available in the Cloud IDE." | ||
sidebar_label: "Keyboard shortcuts" | ||
--- | ||
|
||
|
||
The Cloud IDE provides keyboard shortcuts, features, and development tips to help you work faster and be more productive. | ||
|
||
Use this dbt Cloud IDE page to help you quickly reference some common operations. | ||
|
||
| Shortcut description | macOS | Windows | | ||
|--------|----------------|------------------| | ||
| View a full list of editor shortcuts | Fn-F1 | Fn-F1 | | ||
| Select a file to open | Command-O | Control-O | | ||
| Open the command palette | Command-P or Command-Shift-P | Control-P or Control-Shift-P | | ||
| Multi-edit by selecting multiple lines | Option-click or Shift-Option-Command | Hold Alt and click | | ||
| Preview code | Command-Enter | Control-Enter | | ||
| Compile code | Command-Shift-Enter | Control-Shift-Enter | | ||
| Preview or Compile selected code | (Use the above shortcuts) | (Use the above shortcuts) | | ||
mirnawong1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| Reveal a list of dbt functions | Enter two underscores `__` | Enter two underscores `__` | | ||
mirnawong1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| Toggle the Invocation history | Control-backtick (`) | Control-backtick (`) | | ||
| Add a block comment to selected code. SQL files will use the Jinja syntax `({# #})` rather than the SQL one `(/* */)`. Markdown files will use the Markdown syntax `(<!-- -->)` | Command-Option-/ | Control-Alt-/ | | ||
| Close the currently active editor tab | Option-W | Alt-W | | ||
|
||
|
||
mirnawong1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Press Fn-F1 to view a full list of the editor shortcuts | ||
- Command-O on macOS or Control-O on Windows to select a file to open | ||
- Command-P/Command-Shift-P on macOS or Control-P/Control-Shift-P on Windows to see the command palette | ||
- Hold Option-click-on-area or press Shift-Option-Command on macOS or Hold-Alt-click-on-area on Windows to select multiple lines and perform a multi-edit. You can also press Command-E to perform this operation on the command line. | ||
- Command-Enter on macOS or Control-Enter on Windows to Preview your code | ||
- Command-Shift-Enter on macOS or Control-Shift-Enter on Windows to Compile | ||
- Highlight a portion of code and use the above shortcuts to Preview or Compile code | ||
- Enter two underscores (__) in the IDE to reveal a list of dbt functions | ||
- Press Control-backtick (or Ctrl + `) to toggle the Invocation history | ||
- Press Command-Option-forward slash on macOS or Control-Alt-forward slash on Windows on the selected code to add a block comment. SQL files will use the Jinja syntax `({# #})` rather than the SQL one `(/* */)`. Markdown files will use the Markdown syntax `(<!-- -->)` | ||
- Option-W on macOS or Alt-W on Windows will close the currently active editor tab | ||
|
||
## Related docs | ||
|
||
- [Quickstart guide](/guides) | ||
- [About dbt Cloud](/docs/cloud/about-cloud/dbt-cloud-features) | ||
- [Develop in the Cloud](/docs/cloud/dbt-cloud-ide/develop-in-the-cloud) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is nothing on the tips page that points out anything related to the IDE. Maybe this should be the keyboard shortcuts link?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ive tweaked this too but the features table does have the keyboard shortcut on the first line and the tips page does have the ide shortcuts linked -- wondering how come it didn't show up for you?