Atom

From XennisWiki
Jump to: navigation, search

Atom a free and open-source text and source code editor for macOS, Linux, and Windows with support for plug-ins written in Node.js, and embedded Git Control, developed by GitHub. Atom is a desktop application built using web technologies. Most of the extending packages have free software licenses and are community-built and maintained. (Wikipedia)

Installation

Arch Linux

Install the atom package.

Debian

add-apt-repository ppa:webupd8team/atom
apt-get update
apt-get install atom

Settings

To open the settings select Edit > Preferences.

Hide files of a specific type

  • Open the Core Settings and add for instance *.pycy in the field Ignored names
  • Open the settings of the package Tree View
  • Under Settings activate Hide Ignored Names (maybe Hide VCS Ignored Files as well)

Usage

Open command palette

[ctrl] + [shift] + [p]

Install a plugin from shell

apm install <plugin-name>

Plugins

Name Description Usage
atom-beautify Example Open command palette, type beautify or beautify json and run Beautify Editor
markdown-preview Markdown preview Use [ctrl] + [shift] + [m] to activate the preview.
tablr CSV view Open a CSV file.
tabs-to-spaces Convert between tabs and spaces

Configure Python support

Further information: Install and Configure the Atom Editor for Python

pip install flake8 flake8-docstrings
# Install linter and it's dependencies
apm install linter linter-ui-default intentions busy-signal
# Install flake8 linter
apm install linter-flake8

See also

External links