Nuclide (Mac) keyboard shortcuts 

Nuclide (Mac)  

Zeynel -
6 years ago
- Shortcuts
0
⌥ Opt + O

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

0
⌘ Cmd + I

Toggles the Context View.

Advertisement

0
⌥ Opt + ↑  Shift + ⌘ Cmd + F

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

0
⌥ Opt + ⌘ Cmd + Y

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

0
⌘ Cmd + ↑  Shift + I

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

0
⌥ Opt + ↑  Shift + D

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

0
⌥ Opt + ↑  Shift + A

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.

0
⌥ Opt + Ctrl + <

Go to the first diagnostic.

0
⌥ Opt + Ctrl + >

Go to the last diagnostic.

0
⌥ Opt + <

Go to the previous diagnostic.

0
⌥ Opt + Ctrl + >

Go to the next diagnostic.

0

Expand the current directory.

0
or Ctrl + ]
0

Collapse the current directory.

0
or Ctrl + [
0
⌥ Opt +

Expand all the directories from the current to the final directory child.

0
or Ctrl + Alt + ]
0
⌥ Opt +

Collapse all the directories to the top parent.

0
or Ctrl + Alt + [
0
Ctrl + {

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

0
Del

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

0
⌘ Cmd + \

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

0
or ⌘ Cmd + K then ⌘ Cmd + B
0
Home

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

0
End

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

0
⤶ Enter

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.

0
⌘ Cmd + K +

If a file is selected, it opens the file in the bottom pane.

0
⌘ Cmd + K +

If a file is selected, it opens the file in the right pane.

0
⌘ Cmd + K +

If a file is selected, it opens the file in the top pane.

0
⌘ Cmd + K +

If a file is selected, it opens the file in the left pane.

0
⌘ Cmd + |

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

0
Ctrl + O

Toggles the focus of the current active file.

0
⌘ Cmd + T

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

0
or ⌘ Cmd + P
0
⌥ Opt + ⌘ Cmd + O

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.

0
⌥ Opt + ⌘ Cmd + R

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

0
⌥ Opt + ⌘ Cmd + T

This allows you to search for files based on patterns.

0
⌥ Opt + ⌘ Cmd + N

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

0
⌘ Cmd + B then B

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

0
⌘ Cmd + B then D

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

0
⌘ Cmd + B then R

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

0
⌘ Cmd + B then T

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

0
⌘ Cmd + B then P

Executes the currently selected Task

0
⌥ Opt + ⌘ Cmd + I

Toggle the developer tools UI.

0
↑  Shift + ⌘ Cmd + A

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

0
⌘ Cmd + F8

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

0
⌘ Cmd + Alt + J

Toggle the Console pane.

0
F8

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.

0
↑  Shift + F8

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

0
F9

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

0
F10

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.

0
F11

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.

0
↑  Shift + 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. For example, if you stepped into a method, this will step out back to the method call itself.

Advertisement

0
↑  Shift + F5

Detach debugger.

0
⌘ Cmd + ↑  Shift + F8

Restart the current debugging session with the same configuration settings.

0
⌘ Cmd + K +

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

0
⌘ Cmd + K +

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

0
⌘ Cmd + K +

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

0
⌘ Cmd + K +

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

0
⌥ Opt + ⌘ Cmd + ⤶ Enter

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

0
Ctrl + ⌥ Opt + ↑  Shift + H

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

0
Ctrl + ⌥ Opt + ↑  Shift + X

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

0
Ctrl + ↑  Shift + X

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

0
Ctrl + ⌥ Opt + X

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

Source: nuclide.io

Share this page on:
Is this page helpful?
0 0

Program information

Program name: Nuclide (Mac) Nuclide (Mac) (Developer tools)

Web page: nuclide.io

Last update: 11/11/2019 20:10 UTC

How easy to press shortcuts: 70%

More information >>

Shortcut count: 64

Platform detected: Windows and macOS mixed

Similar programs



User operations

Add Nuclide (Mac) to your list of favorites

Advertisement


What is your favorite Nuclide (Mac) hotkey? Do you have any useful tips for it? Let other users know below.


Only registered users can post links.
Checking site status...
 
No comments yet. Ask, or type the first one!

Latest articles