Nuclide : An open IDE for web and native mobile development, built on top of Atom to Provide Hackability.
Nuclide is the first IDE with support for Hack, including autocomplete, jump-to-definition, inline errors, and an omni-search bar for your project. Nuclide has been built from the start to provide a great IDE experience for Hack development.
Project by Facebook!
A unified developer experience for web and mobile development, built as a suite of packages on top of Atom to provide hackability and the support of an active community.
Nuclide
Nuclide is a collection of packages for Atom to provide IDE-like functionality for a variety of programming languages and technologies.
Installation
To install a pre-built version of Nuclide, install the nuclide-installer package in Atom. This package will ensure that you have the full set of Nuclide packages.
If you have never installed an Atom package before, follow the package installation instructions from the Atom Flight Manual to do it through the Atom UI, or run the following from the command line:
apm install nuclide-installer
Features
Nuclide contains the following Atom packages:
- nuclide-flow Adds support for Flow. If flow is on your $PATH, then opening .js files with the /* @flow */ pragma under a directory with a .flowconfig should expose information from Flow directly in Atom.
- nuclide-hack Adds support for Hack by providing autocomplete and jump-to-definition functionality. Nuclide also includes a nuclide-language-hack package so that Hack files are syntax highlighted correctly.
- nuclide-hg-repository Local changes to files in a Mercurial repository will be reflected in Atom's file tree and gutter UI as Atom does natively for Git repositories.
- nuclide-remote-projects adds support for remote development. See the nuclide-server package for more information on setting up the server that nuclide-remote-projects will talk to so you can edit your foreign files in Nuclide. Note that this package is used in concert with nuclide-file-tree so that both local and remote files can be browsed from a familiar UI.
- nuclide-quick-open provides an advanced file search UI with segmented search results.
- Note that some Nuclide packages, such as nuclide-flow and nuclide-hack, work better when the linter package is installed. Note that linter is separate from Nuclide. (There is evidence that the linter package will eventually be bundled as part of Atom core.)
Repository Organization
Most developers choose to maintain individual Node and Atom packages in their own repositories. Because Nuclide is composed of so many packages, we chose to organize all of its code in a single repository rather than across a multitude of repositories. As such, this repository is organized as follows:
- pkg/ Source code for Nuclide packages.
- scripts/ Utilities for developing and deploying Nuclide packages.
Building from Source
If you want to experiment with modifications to Nuclide's code, we recommend that you build it from source. (Note that when you build from source, an inert instance of the nuclide-installer package will be installed, effectively disabling autoupdate for Nuclide packages. If you want to return to an ordinary installation of Nuclide, run apm install nuclide-installer and restart Atom to get it back.)
System Requirements
Python 2.6 or later.
Atom v0.209.0 or later.
node, npm, apm, and git must be on your $PATH. (Node must be v0.12.0 or later.)
Build and install Nuclide
Run the following command from the root of the repository:
./scripts/dev/setup
or if you are on Windows:
python scripts\dev\setup
If you see any errors, try running the setup script again with the --verbose flag to get more debugging information.
The setup script will fetch the appropriate dependencies from npm and perform any necessary build steps. When complete, you should see several nuclide- packages in your ~/.atom/packages directory. Starting Atom after running ./scripts/dev/setup for the first time may be a little slow because of the large number of Babel files that need to be transpiled. (The results of transpilation are cached for future use. You can see how many files were transpiled from Timecop.)
Some users have reported errors when re-running ./scripts/dev/setup. (You should run this script whenever you add or remove a package, or change the dependencies in a package.json file.) Although it should not be necessary, running git clean -xfd to clear out stale files has fixed the problem for a number of developers. (On Windows, sometimes git clean -xfd has to be run several times to successfully delete the junctions created by the setup script.) If all else fails, you may want to create a fresh clone of Nuclide and run the setup script again from there.
Download
read more: http://nuclide.io/
ليست هناك تعليقات:
إرسال تعليق