atom usage tutorial
This article mainly introduces the shortcut keys, commands and plug-ins of atom. It has a good reference value and I hope it will be helpful to everyone. Friends in need can refer to it.
Shortcut keys
##cmd-\ Show or hide Sidebarctrl-0 Focus the sidebar. After focusing, you can operate files in the tree directoryctrl-P Move up (Previous) ctrl-N Move down (Next) ctrl-B Move backward (Back) ctrl-F Move forward (Forward) ctrl-E Move to the end of the line (End) ctrl -A Move to the beginning of this line (Ahead)ctrl-A (Tap twice) Move to the beginning of this line (including spaces)cmd-up Move to the top of the filecmd-down Move to the lowest position of the filecmd-L Select the entire linecmd-shift-D Duplicate the current line(Duplicate)ctrl-shift- K Delete the current (Cut)cmd-shift-F Search the entire projectcmd-G Find the next matching search resultcmd-G-shift Find the previous Matching search resultscmd-k arrow Split the window according to the specified directioncmd-K, cmd-arrow Focus the window in the specified directionCtrl-O Open the fileCtrl-Shift-O Open the folderCtrl-Alt-O Load the project directoryCtrl-G Jump to a certain lineCtrl-Shift- L Syntax selectionF11 Full screenCtrl-Alt-I Open the Chrome debuggerCtrl-R Enter the variable and function jump panel
Install plug-in command
#Almost all functions in Atom exist in the form of plug-ins. How to install the plug-in is the first thing we have to do. In addition to the graphical interface installation method, Atom also installs a plug-in manager called apm. It is very convenient to install plug-ins with apm. Or open atom-》command, open preferences-》install-》Search for plug-ins here
atom /hopes /dreams 打开目录 atom file 打开文件 atom -h 获得帮助 apm install <package_name> 安装插件 apm install <package_name>@<package_version> 安装指定版本的插件 apm search <package_name> 查询插件 apm view <package_name> 查询插件详情 apm uninstall xxx 卸载插件
Recommended plug-ins
Emmet — An artifact. Some shortcut keys will conflict with the Markdown preview shortcut keys. Just change them. autoprefixer — Used to supplement css prefixes and will automatically generate prefixes for multiple browsers color-picker — Color picker, no lag, starts super fast linter — By default, it can identify errors in multiple languages, but it is not detailed. It is the main plug-in and you can install more detailed checking plug-ins ( There are too many to list one by one. The following are the ones that may be used by the front end)linter-jshint, for JavaScript and JSON, using jshintlinter-coffeelint, for CoffeeScript, using coffeelintlinter-tslint, for Typescript, using tslintautocomplete-plus — Perfect built-in autocomplete, with secondary settings, some of the following ones have secondary settings autocomplete-html — more detailed file-icons — adds many icons, the icon in front of the file name in the sidebar. filetype-color — Display titles of different colors in different formats in the tab bar, supporting secondary settings minimap — Anyone who has used Sublime Text should know this docblockr — — This plug-in can help you quickly generate comments. Many advanced editors have this functionautocomplete-paths
autoclose-html —— 自动闭合html标签,很实用的功能,可以节省很多的时间。
highlight-line —— 高亮当前行,快速找到光标在什么地方
highlight-selected —— 高亮当前所选文字,双击后全文这个词或者变量都会高亮哦
autocomplete-plus —— 完善自带autocomplete,可以安装更细化的插件:autocomplete-php、autocomplete-python、autocomplete-paths、autocomplete-html、autocomplete-bibtex、autocomplete-css等等。
安装 Atom-HTML-Preview
apm install atom-html-preview
默认的打开快捷键 ctrl+P不过貌似冲突了
可以自定义快捷键:Atom->Keymap 中设置如下来自定义自己的快捷键
'atom-text-editor': 'ctrl-shift-h': 'atom-html-preview:toggle'
这个在预览遇到中文时可能会乱码,可以在中加入 就可以了
apm install activate-power-mode
关闭震动:
震动看久了眼睛貌似已经都花了,还好可以关掉震动效果,在这个插件的设置中设置
Screen Shake
Disable
效果可以参看:https://atom.io/packages/activate-power-mode
非常高兴这种插件已经支持很多编辑器,可以参看 https://github.com/codeinthedark/awesome-power-mode
atom-beatify 可以格式化很多语言的显示,快捷键 control+alt+b
相关推荐:
The above is the detailed content of atom usage tutorial. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Dewu APP is currently a very popular brand shopping software, but most users do not know how to use the functions in Dewu APP. The most detailed usage tutorial guide is compiled below. Next is the Dewuduo that the editor brings to users. A summary of function usage tutorials. Interested users can come and take a look! Tutorial on how to use Dewu [2024-03-20] How to use Dewu installment purchase [2024-03-20] How to obtain Dewu coupons [2024-03-20] How to find Dewu manual customer service [2024-03-20] How to check the pickup code of Dewu [2024-03-20] Where to find Dewu purchase [2024-03-20] How to open Dewu VIP [2024-03-20] How to apply for return or exchange of Dewu

CrystalDiskMark is a small HDD benchmark tool for hard drives that quickly measures sequential and random read/write speeds. Next, let the editor introduce CrystalDiskMark to you and how to use crystaldiskmark~ 1. Introduction to CrystalDiskMark CrystalDiskMark is a widely used disk performance testing tool used to evaluate the read and write speed and performance of mechanical hard drives and solid-state drives (SSD). Random I/O performance. It is a free Windows application and provides a user-friendly interface and various test modes to evaluate different aspects of hard drive performance and is widely used in hardware reviews

foobar2000 is a software that can listen to music resources at any time. It brings you all kinds of music with lossless sound quality. The enhanced version of the music player allows you to get a more comprehensive and comfortable music experience. Its design concept is to play the advanced audio on the computer The device is transplanted to mobile phones to provide a more convenient and efficient music playback experience. The interface design is simple, clear and easy to use. It adopts a minimalist design style without too many decorations and cumbersome operations to get started quickly. It also supports a variety of skins and Theme, personalize settings according to your own preferences, and create an exclusive music player that supports the playback of multiple audio formats. It also supports the audio gain function to adjust the volume according to your own hearing conditions to avoid hearing damage caused by excessive volume. Next, let me help you

Cloud storage has become an indispensable part of our daily life and work nowadays. As one of the leading cloud storage services in China, Baidu Netdisk has won the favor of a large number of users with its powerful storage functions, efficient transmission speed and convenient operation experience. And whether you want to back up important files, share information, watch videos online, or listen to music, Baidu Cloud Disk can meet your needs. However, many users may not understand the specific use method of Baidu Netdisk app, so this tutorial will introduce in detail how to use Baidu Netdisk app. Users who are still confused can follow this article to learn more. ! How to use Baidu Cloud Network Disk: 1. Installation First, when downloading and installing Baidu Cloud software, please select the custom installation option.

MetaMask (also called Little Fox Wallet in Chinese) is a free and well-received encryption wallet software. Currently, BTCC supports binding to the MetaMask wallet. After binding, you can use the MetaMask wallet to quickly log in, store value, buy coins, etc., and you can also get 20 USDT trial bonus for the first time binding. In the BTCCMetaMask wallet tutorial, we will introduce in detail how to register and use MetaMask, and how to bind and use the Little Fox wallet in BTCC. What is MetaMask wallet? With over 30 million users, MetaMask Little Fox Wallet is one of the most popular cryptocurrency wallets today. It is free to use and can be installed on the network as an extension

NetEase Mailbox, as an email address widely used by Chinese netizens, has always won the trust of users with its stable and efficient services. NetEase Mailbox Master is an email software specially created for mobile phone users. It greatly simplifies the process of sending and receiving emails and makes our email processing more convenient. So how to use NetEase Mailbox Master, and what specific functions it has. Below, the editor of this site will give you a detailed introduction, hoping to help you! First, you can search and download the NetEase Mailbox Master app in the mobile app store. Search for "NetEase Mailbox Master" in App Store or Baidu Mobile Assistant, and then follow the prompts to install it. After the download and installation is completed, we open the NetEase email account and log in. The login interface is as shown below

After rain in summer, you can often see a beautiful and magical special weather scene - rainbow. This is also a rare scene that can be encountered in photography, and it is very photogenic. There are several conditions for a rainbow to appear: first, there are enough water droplets in the air, and second, the sun shines at a low angle. Therefore, it is easiest to see a rainbow in the afternoon after the rain has cleared up. However, the formation of a rainbow is greatly affected by weather, light and other conditions, so it generally only lasts for a short period of time, and the best viewing and shooting time is even shorter. So when you encounter a rainbow, how can you properly record it and photograph it with quality? 1. Look for rainbows. In addition to the conditions mentioned above, rainbows usually appear in the direction of sunlight, that is, if the sun shines from west to east, rainbows are more likely to appear in the east.

PhotoshopCS is the abbreviation of Photoshop Creative Suite. It is a software produced by Adobe and is widely used in graphic design and image processing. As a novice learning PS, let me explain to you today what software photoshopcs5 is and how to use photoshopcs5. 1. What software is photoshop cs5? Adobe Photoshop CS5 Extended is ideal for professionals in film, video and multimedia fields, graphic and web designers who use 3D and animation, and professionals in engineering and scientific fields. Render a 3D image and merge it into a 2D composite image. Edit videos easily
