Home > Development Tools > atom > body text

Atom download, installation and usage tutorial

墨辰丷
Release: 2018-05-10 11:11:04
Original
20742 people have browsed it

The advantages of the Atom editor are that it is relatively balanced, easy to get started, has zero threshold, does not occupy a lot of resources, supports a lot of functions, is very convenient to configure, and has a lot of plug-ins to choose from. It is also open source and free, and in There is no problem with Chinese support, please refer to it if you are interested.

Download address:

http://www.php.cn/xiazai/gongju/660

Windows

Run the installation package to install

Linux

If it is based on Debian For the distribution version, execute the command:

sudo dpkg -i atom-amd64.deb
Copy after login

If it is RedHat, execute:

rpm -i atom.x86_64.rpm
Copy after login

After the installation is completed, run Atom and you will see Such an interface means that we have successfully installed it

Atom download, installation and usage tutorial


##Basic use

Command Panel

##Learned and referenced many functions of Atom Among other excellent editors, the command panel is one of them.

When you saw it for the first time, you thought you were using Sublime

The command panel is one of the most commonly used functions in Atom. When you are editing When you use the shortcut key Ctrl Shift P in the browser, you will see it

You can enter all commands defined in Atom and plug-ins in the control panel, and support fuzzy search

For example, when When you enter cboo, all commands containing these 4 characters will be listed

The shortcut keys corresponding to this command (if any) are also displayed after the listed commands

Setting windowThe built-in visual setting interface is one of the reasons why Atom is so convenient to use, unlike traditional editors that require manual configuration modifications. File.

You can use the following three methods to open the settings window

1. Main menu Edit->Preferences

2. Enter the command Settings View:Open in the command panel. Because the command window Supports fuzzy query, so you only need to enter svo
3. Use the shortcut key Ctrl,

In the settings window, you can set and manage various editor behaviors, keyboard shortcuts, plug-ins, and themes Waiting for content

Set window interface theme and code highlighting

Atom comes with There are 4 window themes and 8 code highlighting methods
You can configure and modify it by setting the Themes page in the window
In addition, there are many themes produced by third parties that can be installed. The installation method will be discussed later. Speaking of

##File operations

Open File

You can open the file selection window through the main menu File->Open File... or the shortcut key Ctrl O

Save file

Main menu File->Save

Shortcut key Ctrl S
Save as: Ctrl Shift S
Save all files: File-> Save All

Open Folder

Opening a folder is a very practical function. It can open the root directory of a project like an IDE

You can open or add a directory by selecting File->Add Project Folder... in the main menu, or you can use the shortcut key Ctrl Alt O.
After opening a folder, all sub-folders under the folder Directories and files will be displayed on the left side of the main window in the form of a directory tree as shown below

You can create, rename, delete, etc. files by right-clicking the menu in the directory tree bar or using the shortcut keys a, m, delete when selecting a file
If you want to switch the display and hiding of the directory tree bar You can use the shortcut key Ctrl \ or enter the command Tree View:Toggle
The right-click menu in the directory tree can also copy and paste files and other functions

Find files

When one or more directories are open, you can:
* Use Ctrl T or Ctrl P to search for files in the directory
* Use Ctrl B to search for a currently open file
* Use Ctrl Shift B to search for a new or changed file

Of course these functions also support fuzzy queries
If you need to filter out some specific files (such as .pyc) when searching file) or directory (such as .git), you can configure core.ignoredNames and fuzzy-finder.ignoredNames.
You can also configure core.excludeVcsIgnoredPaths to filter out files configured in .gitignore.
Specific configuration method Will talk about it later.

##Summary

In this article We have learned how to install Atom and some basic usage methods. After learning this part, I believe you can already use Atom easily

In future courses we will learn some more advanced usage of Atom, let us It is more convenient and smooth to use.

Related recommendations:

atom implementation of html real-time preview

Detailed introduction to editing artifact--atom

Atom - Installation and configuration example tutorial


The above is the detailed content of Atom download, installation and usage tutorial. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template