Questions tagged [atom-editor]

Atom is a hackable text editor created by GitHub and developed on top of the Electron desktop application platform.

Atom is an open source text editor created originally for OS X by GitHub. It can be downloaded for free from atom.io for OS X, Windows, and Linux, or it can be built from source on any platform.

Atom, like Visual Studio Code, is largely built in JavaScript, LESS, HTML5, and CoffeeScript on top of GitHub's Electron desktop platform, which itself is built in C++. Atom distinguishes itself from other text editors by providing tight Git integration out of the box and an extensibility model familiar to JavaScript and Node developers.

For new users of Atom, the Atom Flight Manual provides basic information on how the editor works and ways to extend it through packages, custom init scripts, and keymaps. There is also a guide for creating your own packages.

For more in-depth discussions on how to use and extend Atom, visit Atom's Discuss Board, which is frequented by a number of GitHub and community developers.

3542 questions
409
votes
18 answers

How to open Atom editor from command line in OS X?

I have the Atom editor and was wondering how you can open a file or folder from the terminal in Atom. I am using a Mac. I am looking for a way to do this: atom . (opens folder) atom file.js (opens file) atom (opens editor) Is this possible and…
Anders
  • 9,518
  • 7
  • 25
  • 34
408
votes
11 answers

How to auto-indent code in the Atom editor?

How do you auto-indent your code in the Atom editor? In other editors you can usually select some code and auto-indent it. Is there a keyboard shortcut as well?
Anders
  • 9,518
  • 7
  • 25
  • 34
334
votes
14 answers

What is the difference between Sublime text and Github's Atom

Github announced Atom which is very similar to Sublime. Even some keyboard shortcuts like ⌘ + P, ⌘ + Shift + P etc. are same. How is Atom different from Sublime? Does it include IDE features like build tools, function definition jumps,…
Om Shankar
  • 7,795
  • 3
  • 30
  • 51
231
votes
6 answers

Is there a command for formatting HTML in the Atom editor?

I would like to format my HTML with a command, as I do in Visual Studio, using Ctrl+K+D. Is this possible in Atom? If not, are there other options?
user376456
  • 2,553
  • 2
  • 17
  • 12
200
votes
18 answers

You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)

below is what I need to do. To run the specs, you'll need to install RSpec. First, run gem install bundler in the root directory of your project. Then, run bundle install. To run a single spec file, run a command like this: bundle exec rspec…
user9426236
  • 2,001
  • 2
  • 6
  • 3
198
votes
16 answers

How to change indentation mode in Atom?

I haven't been able to figure this out yet. Atom seems to use spaces as the default indentation mode. I prefer to have tabs instead though. Sublime Text has built in functionality for switching and converting indentation. Anyone found out how to…
Jon Koops
  • 6,949
  • 5
  • 24
  • 45
184
votes
15 answers

Commenting out code blocks in Atom

I have been moving from Webstorm and RubyMine to Atom and I really miss a feature from the Jetbrains editors where you select a code block and press CMD + - and it adds language specific comment character(s) to the beginning of each line. (# for…
max
  • 76,662
  • 13
  • 84
  • 137
166
votes
1 answer

What is the Visual Studio Code editor built on

What underlying technologies/libraries is Microsoft's new (free) cross platform editor Visual Studio Code (Launched 5/29/2015) built on? There are rumors that it's just Github's Atom Editor rebranded.
Sevin7
  • 5,398
  • 4
  • 19
  • 31
138
votes
11 answers

How can I jump to class/method definition in Atom text editor?

Is there an easy way to do this? On Aptana I used Control+click and I wish there was a way to do something similar on Atom.
andromeda
  • 2,944
  • 3
  • 20
  • 33
134
votes
2 answers

Search and Replace with RegEx components in Atom editor

I want to search and replace this `https://example.com/`{.uri} to [https://example.com/](https://example.com/) With vim I would do a s/(http.*){.uri}/[\1](\1)/g but that doesn't work with atom.io. How can I solve this?
wintermeyer
  • 7,536
  • 8
  • 34
  • 69
123
votes
4 answers

Atom text editor remove trailing whitespace on save

I use Sublime text. Now I am trying Atom. When I save any file in sublime text it does not include any trailing blank line. But saving any file in Atom leaves a trailing blank line. How do I force Atom not to leave trailing white spaces?
108
votes
2 answers

Keyboard shortcut to convert selection to uppercase (or lowercase) in the atom editor

What is the keyboard shortcut to convert the currently selected text to uppercase (or lowercase) in the Atom editor?
martin jakubik
  • 4,118
  • 5
  • 26
  • 41
108
votes
6 answers

Hide hidden(dot) files in github atom editor

I am very new to Github Atom editor. It always shows hidden files such as .git, .sass in the side pane. How to hide hidden files(dot files) in atom editor's side pane.
Fizer Khan
  • 71,869
  • 26
  • 133
  • 149
93
votes
5 answers

Split Screen in Atom Editor

Is there a way (plugin or something) to use split screen in the Atom Editor? I've looked inside the menus, but I can't find any related options.
Danix
  • 1,867
  • 1
  • 10
  • 17
90
votes
5 answers

Is there a shortcut for selecting word under cursor in Sublime Text, Atom

Is there a shortcut or a command to select word under cursor in Sublime Text or Atom? I want a replacement for double-click. So I could press shortcut instead and get selection on a current word and start typing to replace it or get in quotes etc...
firedev
  • 19,222
  • 18
  • 58
  • 91
1
2 3
99 100