Make your first Atom text editor plugin

Read the full article http://click.aliyun.com/m/23004/Preface This
tutorial will teach you how to make your first Atom text editor plugin.
We're going to make a copycat version of Sourcerer, a plugin for querying and using code snippets from StackOverflow. By the end of the tutorial, you'll have a plug-in that converts programming questions (described in English) into code snippets taken from StackOverflow, like this:


Tutorial Notes
The Atom text editor was created using web technologies. We will use the EcmaScript 6 specification for JavaScript entirely to make the plugin. You need to be familiar with the following: Programming Promises

with Command Line
JavaScript Repository for HTTP Tutorial You tutorial step by step, or take a look at the repository on GitHub where the source code for the plugin is available. The commit history for this repository contains each of these headers. Getting Started Installing Atom Download Atom according to the instructions on the Atom official website. We also need to install apm (the command line tool for the Atom package manager). You can install it by opening Atom and navigating to Atom > Install Shell Commands in the application menu. Open your command line terminal and run apm -v to check whether apm has been installed correctly. If the installation is successful, the tool version and related environment information printed out should be like this: read the full article http://click.aliyun.com/ m/23004/









Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326231589&siteId=291194637