Nuclide (Linux) keyboard shortcuts

Nuclide (Linux)

Zeynel Abidin Öztürk -
17 months ago
- Shortcuts

Nuclide allows many of the features to be used with the keyboard. Remember that Atom has many more shortcuts beyond what Nuclide offers. To see a complete list of hotkeys, take a look at Packages > Settings View > Show Keybindngs.

Ctrl + T

Use OmniSearch to open files

Ctrl + /

Toggle Project Explorer

Ctrl + 0

Toggle between the Editing Area and the Project Explorer’s File Tree

Ctrl + K then ← ↑ → ↓

Split the current file to the pane

Alt + ↑   Shift + D

Open the Code Diagnostics window

Alt + O

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

Ctrl + I

Toggles the Context View.

Alt + ↑   Shift + Ctrl + 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.

Alt + Ctrl + Y

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

Ctrl + ↑   Shift + I

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

Alt + ↑   Shift + D

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

Alt + ↑   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.

Alt + Ctrl + <

Go to the first diagnostic.

Alt + Ctrl + >

Go to the last diagnostic.

Alt + <

Go to the previous diagnostic.

Alt + >

Go to the next diagnostic.

Expand the current directory.

or

Collapse the current directory.

or
Alt +

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

or Alt +
Alt +

Collapse all the directories to the top parent.

or Alt +
Ctrl + {

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

Del

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

Ctrl + \

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

or Ctrl + \
Home

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

End

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

⤶ 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.

Ctrl + K then

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

Ctrl + K then

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

Ctrl + K then

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

Ctrl + K then

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

Ctrl + |

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

Ctrl + O

Toggles the focus of the current active file.

Ctrl + P

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

or Ctrl + P
Alt + Ctrl + 0

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.

Alt + Ctrl + R

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

Alt + Ctrl + T

This allows you to search for files based on patterns.

Alt + Ctrl + N

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

Alt + B then B

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

Alt + B then D

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

Alt + B then R

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

Alt + B then T

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

Alt + B then P

Executes the currently selected Task

Alt + Ctrl + I

Toggle the developer tools UI.

↑   Shift + Ctrl + 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.)

Ctrl + 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.)

Ctrl + ↑   Shift + J

Toggle the Console pane.

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.

↑   Shift + F8

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

F9

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

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.

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.

↑   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.

↑   Shift + F5

Detach debugger.

Ctrl + ↑   Shift + F8

Restart the current debugging session with the same configuration settings.

Ctrl + K then

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

Ctrl + K then

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

Ctrl + K then

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

Ctrl + K then

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

Ctrl + <

Move cursor to a previous position

Ctrl + >

Move cursor to a next position

Alt + Ctrl + ⤶ Enter

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

Ctrl + Alt + ↑   Shift + H

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

Ctrl + Alt + ↑   Shift + X

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

Ctrl + ↑   Shift + X

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

Ctrl + Alt + X

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

Source: nuclide.io

Share this page on:

Program information

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

Nuclide is a collection of features for Atom editor. It installs on Atom provides IDE-like functionality for a variety of programming languages and technologies.

Web page: nuclide.io

Last update: 11 Nov 2019

Shortcut count: 71

How easy to press shortcuts: 63%

Platform detected: Windows or Linux (not macOS)

Similar programs



Advertisement

Join our mailing list!

Your email is kept private and we don't spam.