Nuclide goes beyond just normal file opening capabilities. Quick Open provides multiple mechanisms to find a file, from recently opened files to a global OmniSearch that lets you search for anything a file might contain.
There are three ways to toggle the Quick Open window.
Ctrl-T(Linux) keyboard shortcuts
- Command palette searching for
Nuclide Quick Open: Find Anything Via Omni Search
- Quick Launch Menu
Hack Symbolspane will only show if you have Hack files in your project.
Ctrl-P on Linux)
When launching the Quick Open window, you will be taken to the OmniSearch tab. All of the features of the other tabs are coalesced and condensed into your search results in this tab.
If you just want to search by filename (including within the path to the file) only, you can click on the Filenames tab in the Quick Open window.
If you have a lot of files open in your editor, you can use the Open Files tab of Quick Open to quickly scan a list of your currently open files.
If you have recently closed a file and would like to quickly open it back up, you can use the Recent Files tab of Quick Open. This tab also displays when you last opened the file(s).
If your project contains Hack code, you will get Hack language-specific
search options. Here you can search based on function (
@function-name), class (
%constant-name) symbols in your project.
To access this feature, click on the Hack Symbols tab in the Quick Open window.
By default, Nuclide will use any available tool in your PATH. However, you can specify a default one in the nuclide-code-search tab in the Nuclide package settings. We recommend ripgrep and ag because they are blazing fast. Sadly, only ripgrep works properly on Windows.