Nuclide (Mac)

Miscellaneous

Copy the relative path of the current file to the clipboard.

Ctrl + ⌥ Option + ↑   Shift + X

All hotkeys for Nuclide (Mac)

Development
Toggles the Outline View for a supported file so you can easily navigate to class and function definitions.

⌥ Option + O

Development
Toggles the Context View.

⌘ Cmd + I

Hack/Flow/JavaScript
In projects such as Hack or Flow, this will allow you to find all the references to a selected, highlighted entity in your project.

⌥ Option + ↑   Shift + ⌘ Cmd + F

Hack/Flow/JavaScript
Allows you to search for Hack function, classes and constants within you Hack project.

⌥ Option + ⌘ Cmd + Y

Hack/Flow/JavaScript
Automatically tries to insert missing require statements to your Flow or JavaScript project.

⌘ Cmd + ↑   Shift + I

Code diagnostics
Display the window showing you messages about your code. Possible messages include lint, compiler errors, etc.

⌥ Option + ↑   Shift + D

Code diagnostics
Nuclide can fix certain types of problems for you automatically, including various lint problems. This will allow all those to be fixed in the current file.

⌥ Option + ↑   Shift + A

Code diagnostics
Go to the first diagnostic.

⌥ Option + Ctrl + <

Code diagnostics
Go to the next diagnostic.

⌥ Option + Ctrl + >

Code diagnostics
Go to the previous diagnostic.

⌥ Option + <

Project Explorer’s file tree
Expand the current directory.

Project Explorer’s file tree
Expand the current directory.

Ctrl + ]

Project Explorer’s file tree
Collapse the current directory.

Project Explorer’s file tree
Collapse the current directory.

Ctrl + [

Project Explorer’s file tree
Expand all the directories from the current to the final directory child.

⌥ Option +

Project Explorer’s file tree
Expand all the directories from the current to the final directory child.

Ctrl + Alt + ]

Project Explorer’s file tree
Collapse all the directories to the top parent.

⌥ Option +

Project Explorer’s file tree
Collapse all the directories to the top parent.

Ctrl + Alt + [

Project Explorer’s file tree
Collapse the entire Project Explorer’s File Tree to the root.

Ctrl + {

Project Explorer’s file tree
Remove a file or directory from the tree. You will be prompted first to avoid accidental mistakes.

Del

Project Explorer’s file tree
Toggles whether the Project Explorer’s File Tree is shown.

⌘ Cmd + \

Project Explorer’s file tree
Toggles whether the Project Explorer’s File Tree is shown.

⌘ Cmd + K then ⌘ Cmd + B

Project Explorer’s file tree
Move the selection to the very top of the Project Explorer’s File Tree.

Home

Project Explorer’s file tree
Move the selection to the very bottom of the Project Explorer’s File Tree.

End

Project Explorer’s file tree
Opens the selected entry in the Project Explorer’s File Tree. If a directory is selected, then the directory is expanded. If a file is selected, then the file is opened in the main Editing Area.

⤶ Enter

Editor panes
Moves the currently active file in the editor to a bottom pane.

⌘ Cmd + K +

Editor panes
Moves the currently active file in the editor to a right pane.

⌘ Cmd + K +

Editor panes
Moves the currently active file in the editor to a top pane.

⌘ Cmd + K +

Editor panes
Moves the currently active file in the editor to a left pane.

⌘ Cmd + K +

Project Explorer’s file tree
Shows the file that is currently active in the main workspace in the Project Explorer’s File Tree.

⌘ Cmd + |

Project Explorer’s file tree
Toggles the focus of the current active file.

Ctrl + O

Files
Use this for a global search of anything within your project, including all files, currently open files, etc.

⌘ Cmd + T

Files
Use this for a global search of anything within your project, including all files, currently open files, etc.

⌘ Cmd + P

Files
This lets you switch between files that are currently open in the editor. Useful for quickly accessing files if you have a bunch of files open.

⌥ Option + ⌘ Cmd + O

Files
This will show you files that you have recently opened and used in previous sessions of Nuclide.

⌥ Option + ⌘ Cmd + R

Files
This allows you to search for files based on patterns.

⌥ Option + ⌘ Cmd + T

Files
Find files related to the current file. A file is related if they have the same basename, but a different extension, for example.

⌥ Option + ⌘ Cmd + N

Task runner
Executes the Build task for the currently selected Task Runner or the default one

⌘ Cmd + B then B

Task runner
Executes the Debug task for the currently selected Task Runner or the default one

⌘ Cmd + B then D

Task runner
Executes the Run task for the currently selected Task Runner or the default one

⌘ Cmd + B then R

Task runner
Executes the Test task for the currently selected Task Runner or the default one

⌘ Cmd + B then T

Task runner
Executes the currently selected Task

⌘ Cmd + B then P

Debugger
Toggle the developer tools UI.

⌥ Option + ⌘ Cmd + I

Debugger
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 + ⌘ Cmd + A

Debugger
Shows the process launch UI where you will choose the process on which you would like to debug (e.g., a Node process, etc.)

⌘ Cmd + F8

Debugger
Toggle the Console pane.

⌘ Cmd + Alt + J

Debugger
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

Debugger
After breaking at a certain position or breakpoint, it will continue to cursor location.

↑   Shift + F8

Debugger
If a breakpoint is set, this will unset that breakpoint and vice-versa.

F9

Debugger
Step over a piece of code. For example, if you are stopped at a method call, this will execute that method without stepping through it line-by-line.

F10

Debugger
Step into a piece of code. For example, if you are stopped at a method call, this will go into the first line of that method.

F11

Debugger
If you have stepped into a piece of code, this will step out to the point on which you entered that piece of code. For example, if you stepped into a method, this will step out back to the method call itself.

↑   Shift + F11

Debugger
Detach debugger.

↑   Shift + F5

Debugger
Restart the current debugging session with the same configuration settings.

⌘ Cmd + ↑   Shift + F8

Miscellaneous
When using Hyperclick, this will confirm the Hyperclick action you want to take.

⌥ Option + ⌘ Cmd + ⤶ Enter

Miscellaneous
Toggle the Nuclide Health tab, which show details about the Nuclide process itself (how much CPU, memory is being used, etc.).

Ctrl + ⌥ Option + ↑   Shift + H

Miscellaneous
Copy the relative path of the current file to the clipboard.

Ctrl + ⌥ Option + ↑   Shift + X

Miscellaneous
Copy the absolute path of the current file to the clipboard.

Ctrl + ↑   Shift + X

Miscellaneous
Copy the relative path of the current file starting at the root of the Mercurial repository.

Ctrl + ⌥ Option + X

Similar combinations for other applications