Questions tagged [atom-editor]

Atom is a hackable text editor created by GitHub and developed on top of the Electron desktop application platform. Development has fallen off, and it will be sunset as of December 15, 2022.

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.

On June 8, 2022, GitHub announced that Atom will be sunset as of December 15, 2022, after development had fallen off for years.

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.

3634 questions
434
votes
20 answers

How can I open the Atom editor from the 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,988
  • 7
  • 30
  • 36
415
votes
13 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,988
  • 7
  • 30
  • 36
414
votes
35 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
  • 4,141
  • 2
  • 8
  • 3
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,989
  • 4
  • 34
  • 54
250
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,763
  • 2
  • 20
  • 12
210
votes
17 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
  • 8,801
  • 6
  • 29
  • 51
201
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
  • 6,296
  • 4
  • 23
  • 31
196
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
  • 96,212
  • 14
  • 104
  • 165
182
votes
18 answers

How can I fix the "zsh: command not found: python" error? (macOS Monterey 12.3, Python 3.10, Atom IDE, and atom-python-run 0.9.7)

Since I got the macOS v12.3 (Monterey) update (not sure it's related though), I have been getting this error when I try to run my Python code in the terminal: I am using Python 3.10.3, Atom IDE, and run the code in the terminal via atom-python-run…
Kirill Ignatyev
  • 3,036
  • 3
  • 5
  • 18
145
votes
10 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
  • 4,433
  • 5
  • 32
  • 42
139
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
  • 8,178
  • 8
  • 39
  • 85
129
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?
120
votes
9 answers

How to open the terminal in Atom?

How to open the terminal in Atom? Do I need to install a plug-in? If possible, I also would like to know how to use shortcut keys to open the terminal.
suwu150
  • 1,209
  • 2
  • 8
  • 10
113
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,168
  • 5
  • 29
  • 42
110
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
  • 88,237
  • 28
  • 143
  • 153
1
2 3
99 100