Usually, I’m using
vim
almost for everything excepting big Python projects (which happen rarely last time). In such cases, I have PyCharm, which is also used for AWS CloudFormation templates with the aws-cloudformation
plugin.
For the Go lang programmes I have used vim
with the vim-go
plugin but on last weekend I tried the Atom editor and will try to use it now.
So in this post – a few useful Atom plugins to make work easier.
This list isn’t full so please feel free to suggest other plugins in comments.
Contents
Installing Atom
AS usually on Linux – absolutely simple.
On Arch can be installed using the pacman
:
Plugins
You can install a plugin with Atom UI from the Edit > Preferences > Packages, or from a console with the atm install
command:
highlight-selected
Will highlight the selected variable or function name in a whole code.
Install:
Restart Atom and check:
file-icons
Will add an icon near each file depending on its language.
Install:
open-recent
Out from the box Atom is able to open recent for projects only.
open-recent
adds the facility to open last directories/files as well:
platformio-ide-terminal
Adds a console directly to the editor:
Toggle it with the Ctrl+`:
linter
Well… A liner 🙂
Will check your code and displays warnings:
Its dependencies:
Then for each language add its own linter.
For C/С++ etc the linter-clang
can be used:
Check:
For the Go lang – linter-golinter
:
go-plus
Add documentation, more precise autocomplete using gocode
, etc:
Optional dependencies:
And an example:
minimap
Displays a “map” of a currently opened file:
In general – that’s all for now.