Atom is a text editor. Atom: new code editor from Github Text editor atom search by code

Atom was developed by the GitHub development team. They position their product as text editor 21st century. What did the developers initially strive for and why did they even want to create Atom, since the market is full of text editors? According to the developers, there are many similar programs on the market, for example, Sublime Text 3, Brackets, etc., but they have a number of disadvantages. Some text editors have rich capabilities in terms of expanding functionality and customization, but it’s difficult to learn the whole thing and do it for an inexperienced user without special knowledge, while others, on the contrary, are easy to understand, but have little functionality. So atom was developed in order to remove these edges and combine all the advantages of its competitors!

First launch

When we launch Atom for the first time, a welcome window opens in front of us, consisting of two panels, on the left side is the editor’s logo, a description with links, and on the right side is a menu of the main sections of the program with short descriptions of each - which will help you make friends with Atom from the first minutes.


Interface

The first thing that struck me after installing atom was its pleasant and friendly interface, which contrasts sharply with its competitors, for the better. The design of the atom is very intuitive and thoughtful, there is nothing superfluous, and all the elements are correctly located, so that even a beginner will not have any difficulties at first to understand what is located where.

Code highlighting in general made me personally fall in love with the theme, which is the default after installing atom. Agree, she is simply amazing!


The program settings window is also very convenient and beautifully made, each setting has a description that will help you understand why it is needed. In addition to this, the developers have included the ability to view descriptions of additionally installed plugins and editor themes, without having to go to the page with the plugin on the Internet, and I think this is cool!


Atom text editor settings menu

The settings of the atom text editor can be opened through the menu section “view”, item “settings”, or by using the hotkey combination - Ctrl+,

The program has a great variety of settings, all settings are divided into semantic categories (also convenient).
Core – Settings for the core of the program Edit – Settings for editing text and its display in the editor window System – Settings for displaying an atom in the context menu of the operating system Keybindings – List and description of all hot keys of the text editor atom Packages – List of all plugins installed in the atom and their settings with a description , as well as a button to enable/disable any plugin (even system one). Themes – List section installed themes and their settings. Updates – Section for notifications about new versions of plugins, themes and the atom text editor itself with an update button for each. Install – Section of additional plugins and themes for atom with a description of each, a quick filter and an install button.

You can change almost everything here, and you don’t need to go into system files, as in other code editors, everything can be done directly in the settings panel by simply enabling/disabling this or that setting.

atom hotkeys

A separate section shows all the program's hot keys and a description of what they are responsible for. Every hotkey You can rewrite it to other keyboard shortcuts that are convenient for you personally. To do this, you need to click on the floppy disk icon to copy the configuration code for this function and then open the hotkey settings file using the link “your keymap file”, then paste the copied code into it and replace the recorded key combination with your own and save the file, after which you will immediately you can use the specified hotkeys :)


Plugins for atom


Hotkey hints

A cool feature of the atom - everything has a benefit :) empty window editor, it displays a text slider with tips for frequently used program hotkeys.


Bookmarks

Bookmarks are available right out of the box in Atom to help speed up the process of navigating through voluminous code. For example, you have css file with styles for site blocks, so by placing bookmarks at the beginning of each section of block styles, you can easily and quickly move between these sections of code by setting bookmarks on them. Or, when you finish your working day and want to quickly open the place you worked with yesterday the next day - bookmark it and don’t worry!

Bookmarks in atom are located in the “Edit” menu, “Bookmark” item. You can also add/unbookmark a section of code using the key combination Alt+Ctrl+F2. And move between bookmarks: Forward – F2 ; Back – Shift+F2 You can view a list of all bookmarks in the document using the keyboard shortcut – Ctrl+F2


Git and GitHub in Atom

A very convenient feature of atom is that it has a panel for working with Git version control, which allows you to control versions directly from the atom text editor without having to go into the console. Well, naturally, the atom developers included support for linking the repository on GitHub with the atom editor. (We will talk in more detail about working with Git in atom in the following articles)


Atom also has support for snippets (prepared pieces of code). When you type the initial letters of a snippet, a window appears with a list of snippets already prepared in the program (for of this type document) that match the entered letters. Snippets expand by pressing the Tab button.
We can also create our own snippets (more on this in the next articles in this series). The snippets menu is located in the “Packages” section of the main menu, the “Snippets” item, and if we select the “available” item here, a window will open with a list of all available snippets for this type of code.


Command panel in Atom

All available functions and program commands are available in the command panel, which can be opened in the “Packages” menu, “Command Palette”, or by pressing the hotkey combination – Ctrl+Shift+P

In addition to the fact that the command panel lists all available functions, many functions to which hotkeys are assigned have a combination of hotkeys that launch this function/command.

We can filter the list by entering the team name in the quick filter field.


In addition to the tabs, we can divide the editor window into panels. The panel menu is located in the “View” section of the main menu, “Panes” tab. Or from the context menu in the editor window. If you select the command “Split – Up, Down, Left, Right”, then another window will be added in the editor window at the top, bottom, left, right, according to the selected command. In turn, any panel can also be divided into an infinite number of additional panels. The sizes of panels can be changed by dragging the border of the desired panel.


That's basically all I wanted to say in the first lesson in a series of lessons on this text editor called Atom. By the way, Atom for me is now the main text editor in which I write program code.

I hope the article is useful to you, I’m waiting for your comment on this editor, write what you like or don’t like about it and what plugins for Atom you use. I will be glad to discuss with you at this topic. But we won’t say goodbye to this – we’ll see you in the next article, which will be devoted to analyzing all the elements of the atom interface and setting it up! Bye!

For convenient and efficient programming, I needed a development environment that should be fast, easily and flexibly customizable, with support for plugins. During the search, I came across Atom, and I’ll tell you about it and its plugins in the article.

Atom editor is an open source development environment source code from the creators of GitHub based on the Electron framework, on which cross-platform desktop applications are written using web technologies.

Installing the editor

Color-picker

As the name suggests, the plugin allows you to conveniently select colors from a palette in a variety of formats, including Sass and LESS color picker formats. To open the palette, press Ctr + alt + c in Linux and Windows, Cmd + Shift + c for Mac. Download

Git projects

Ctr + Alt + O - will list all local repositories in the operating system. If you work with git often, I think this plugin will be very convenient. After installation, in the plugin settings you need to specify the path to the folder with all local repositories.

/path/to/repo1; /path/to/repo2; /path/to/repo3;

Merge conflicts

If you work on a team, you probably use version control and have probably encountered conflicts when merging branches. This plugin makes the conflict resolution process very comfortable and understandable. When you open Atom, this plugin analyzes the repository for conflicts, and if it finds them, it displays a window at the bottom of the editor with a list of files with conflicts. Download

Minimap

Shows a small document map that can be scrolled, making it convenient to navigate through a large amount of code. You can also configure the size of the symbols and the location of the mini-map in the plugin settings. Download

Atom-alignment package

The plugin allows you to select a section of code and format it into a more decent form. For example, we have this code:

Click Ctr + Alt + A and the code is formatted in more beautiful view.

Var1 = "adas"; var123456 = "adadasd"; a = 1; bacd = "Very long striiing"

Linter

Checks code syntax on the fly and reports errors. This plugin is the main package and other “linters-addons” for each programming language are installed on top of it (full list). This is to stop the "plugin war" ( The idea is to stop the linter plugins war, by providing a top level API for linters to parse and display errors in the Atom editor). Download

Multi-cursor

From the name it is clear what this plugin does. In Linux, press Alt + Shift + Up to multiply the cursors up or Alt + Shift + Down to multiply them down. Download.To exit multi-edit mode, press Esc.

File-icons

Shows an icon next to the file name. Download

Atom is a free, modern and convenient text editor with rich functionality. It is easy to use and can be fully customized to suit any need.

Atom will be useful for a schoolchild just learning the basics of programming, and for a high-end hacker who has to simultaneously work with various languages ​​and formats. If desired, it can be used as a file manager and become an indispensable tool for developers and copywriters, and for anyone who does not have enough notepad functionality.

You can download the Atom text editor for free and in Russian at official link below immediately after the description.

Key features of Atom

To get acquainted with the editor, you don’t need any special knowledge; you just need to open the file and get to work. After the first minutes of using this utility, you will not want to return to the previous editors.

  • Supports all programming languages.
  • Syntax highlighting.
  • Search for new add-ons that expand functionality.
  • Independent expansion of functionality and changes appearance, thanks to open source.
  • Smart autocompletion, which makes writing code much faster.
  • Multi-window: splitting the interface into several panels for comparison and editing.
  • Innovative function for searching and replacing parts of code in all files at once.
  • Multiplatform: after pausing, you can continue later on any other OS.
  • More than two thousand add-ons to solve any problem.

Downloading Atom editor for Windows in Russian is offered for free from the official website presented below after the characteristics of the program.

Since each window is a separate web page, there is no need to worry about loading resources. Innovative web technology ensures fast work without loading the system.

To install Atom you must have one of the following systems: Mac OS, Windows 7, 8 and 10, RedHat Linux, or Ubuntu Linux. Such a variety of different operating systems makes it possible to avoid synchronization problems during command calls.

From the translator: Yesterday, without an official announcement, several dozen repositories were published on GitHub, the contents of which indicated that the GitHub team has been developing a new text editor for programmers for a long time and is ready to present it to the public. A few hours later, the official website of the editor atom.io went live, where you can now request an invite to beta testing, read the documentation and plugins for the editor. This article is a translation of the first two posts from the Atom project blog, dedicated to the concept and architecture of the editor.

Introducing Atom

Today we're excited to launch the public beta of Atom, a new text editor that's not only easy to use, but also gives you tremendous freedom of modification.

Sublime and TextMate offer convenience but only limited extensibility. On the other hand, Vim and Emacs have enormous flexibility, but are difficult to learn and require learning specific scripting languages for modifications.

We believe we can do better. Our goal is an uncompromising combination of convenience and customizability: an editor that even a student who has just started learning programming can understand, but at the same time a tool that will not limit an experienced hacker.

Since we began to use Atom already in the process of working on it, what was at first just an experiment turned into an essential item for us. This is just the beginning, and much more needs to be done to fully realize our vision for the editor. But the main goal has been achieved. On the surface, Atom is a modern text editor that meets user expectations. And under the hood is a system that just begs for modifications and expansion.

We'll be sending out invitations to beta testers in the coming weeks, and we've already published more than 80 libraries and packages that are used in the editor. We've opened up many of the APIs you need to write powerful extensions, but since this is a beta version, they may still undergo changes based on feedback from you. We will try to do them as carefully as possible, while at the same time actively refining the editor.

We are waiting for your feedback, packages and patches. Let's do this together!

Atomic nucleus

The web has its flaws, but two decades of development have made it incredibly flexible and powerful platform. Therefore, when we decided to write a text editor that we ourselves would be happy to expand and modify, the choice of technology was obvious. But first we had to get rid of several restrictions that were holding us back.
Native web
Browsers are well suited for viewing web pages, but writing code is a specific activity that requires special tools. More importantly, the browser severely restricts access to local computer resources for security reasons, and for us, a text editor that could not properly write a file or run a local subprocess was completely unacceptable.

Therefore, Atom is not a regular web application. It is a specialized variant of the Chromium browser, redesigned to be primarily a text editor rather than a web browser. Each Atom window is a separate local web page.

The JavaScript code running in each window has access to all the APIs that are available to any Node.js application. This hybrid solution creates unique opportunities for development.

Since all the work happens locally, there is no need to worry about loading resources, concatenating scripts, or loading modules asynchronously. If you need some code, just require at the beginning of the file. The Node.js module system makes it easy to break the system down into small, well-focused packages.

JavaScript meets C++
Interacting with native code is also very easy. For example, we wrote a wrapper around the engine regular expressions Oniguruma to support TextMate compatibility. In the browser we would have to deal with NaCl or Esprima. Integration with Node has greatly simplified the task.

In addition to the Node.js API, we also use native APIs dialog boxes browser, main and context menus, controlling window sizes and so on.

Web technologies: the best
Another big plus of working on Atom was that we were always guaranteed to work with latest version Chromium. This means we weren't worried about cross-browser compatibility issues. We could use all the innovations of web technologies today.

For example, the layout of the workspace and editor panels uses flexbox. This is not yet an established standard, but despite the fact that it changed during work, we were happy that we could already work with it.

We are confident in the future of the platform on which Atom is built, because web technologies are developing through the joint efforts of the entire industry. Native technologies come and go, but the web gets better and more widespread every year. We will be happy to use all its capabilities.

Atom is a popular code editor that is often used by programmers and web developers.

The popularity of this editor is due to the presence of maximum simple interface and many useful functions. Atom supports all known languages ​​and encodings, and also includes syntax highlighting. In addition, the functionality of the program is very convenient manager files, which allows you to quickly switch between directories and open documents.

Operating principle software In many ways it resembles the functionality of modern web browsers. Each document you open will appear in separate tab, and switching between them will happen very quickly and conveniently. If you accidentally close one of the tabs, you can return it back using the “Closed Tab” function.

The initial stylistic design of the Atom editor is made in dark colors. This makes it easier to use the editor in poor lighting or at night. If desired, the color design can be changed to suit your taste.

The editor can be used free of charge by any copywriter, developer or programmer in his work.