Toggles the Outline View for a supported file so you can easily navigate to class and function definitions.
Option + O
Toggles the Context View.
Command + I
Code diagnostics Shortcuts
Action
Nuclide Shortcut Keys
Display the window showing you messages about your code
Option + Shift + D
Nuclide can fix certain types of problems for you automatically, including various lint problems
Option + Shift + A
Go to the first diagnostic.
Option + Ctrl + <
Go to the last diagnostic.
Option + Ctrl + >
Go to the previous diagnostic.
Option + <
Go to the next diagnostic.
Option + Ctrl + >
Project Explorer Shortcuts
Action
Nuclide Shortcuts
Expand the current directory.
Right Arrow Key
Collapse the current directory.
Left Arrow Key
Expand all the directories from the current to the final directory child.
Option + Right Arrow Key
Collapse all the directories to the top parent.
Option + Left Arrow Key
Collapse the entire Project Explorer’s File Tree to the root.
Ctrl + {
Remove a file or directory from the tree
Delete
Toggles whether the Project Explorer’s File Tree is shown.
Command + \
Move the selection to the very top of the Project Explorer’s File Tree.
Home
Move the selection to the very bottom of the Project Explorer’s File Tree.
End
Opens the selected entry in the Project Explorer’s File Tree
Enter
If a file is selected, it opens the file in the bottom pane.
Command + K + Down Arrow Key
If a file is selected, it opens the file in the right pane.
Command + K + Right Arrow Key
If a file is selected, it opens the file in the top pane.
Command + K + Up Arrow Key
If a file is selected, it opens the file in the left pane.
Command + K + Left Arrow Key
Shows the file that is currently active in the main workspace in the Project Explorer’s File Tree.
Command + |
Toggles the focus of the current active file.
Ctrl + O
Files Shortcuts
Action
Nuclide Shortcuts
Use this for a global search of anything within your project, including all files, currently open files, etc.
Command + T
This lets you switch between files that are currently open in the editor
Option + Command + O
This will show you files that you have recently opened and used in previous sessions of Nuclide.
Option + Command + R
This allows you to search for files based on patterns.
Option + Command + T
Find files related to the current file
Option + Command + N
Task runner Shortcuts
Action
Nuclide Shortcuts
Executes the Build task for the currently selected Task Runner or the default one
Command + B then B
Executes the Debug task for the currently selected Task Runner or the default one
Command + B then D
Executes the Run task for the currently selected Task Runner or the default one
Command + B then R
Executes the Test task for the currently selected Task Runner or the default one
Command + B then T
Executes the currently selected Task
Command + B then P
Editor Panes Shortcuts
Action
Nuclide Shortcut keys
Moves the currently active file in the editor to a bottom pane.
Command + K + Down Arrow Key
Moves the currently active file in the editor to a right pane.
Command + K + Right Arrow Key
Moves the currently active file in the editor to a top pane.
Command + K + Up Arrow Key
Moves the currently active file in the editor to a left pane.
Command + K + Left Arrow Key
Debugger Shortcuts
Action
Nuclide Shortcuts
Toggle the developer tools UI.
Option + Command + I
Shows the process attachment UI where you will choose the process on which you would like to debug (e.g., a Node process, etc.)
Shift + Command + A
Shows the process launch UI where you will choose the process on which you would like to debug (e.g., a Node process, etc.)
Command + F8
Toggle the Console pane.
Command + Alt + J
After stopping at a breakpoint, and possibly stepping through code, this will enable debugging to continue to the next breakpoint or end of the process.
F8
After breaking at a certain position or breakpoint, it will continue to cursor location.
Shift + F8
If a breakpoint is set, this will unset that breakpoint and vice-versa.
F9
Step over a piece of code
F10
Step into a piece of code
F11
If you have stepped into a piece of code, this will step out to the point on which you entered that piece of code
Shift + F11
Detach debugger.
Shift + F5
Restart the current debugging session with the same configuration settings.