How to open the terminal in Atom?

UbuntuTerminalAtom Editor

Ubuntu Problem Overview


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.

Ubuntu Solutions


Solution 1 - Ubuntu

In the Atom IDE:

  1. Open file>settings
  2. Click "+" (install)
  3. Search for a terminal package called "platformio-ide-terminal"
  4. Click "install".
  5. Press Crtl+` to toggle the terminal

Solution 2 - Ubuntu

For Windows follow the below steps

(1)go to file>setting and click on install enter image description here

(2) then type "platformio-ide-terminal" in packages and hit install enter image description here (3) after finish install restart atom and press

 ctrl + ~ for opening the terminal `~` is the key below `Esc`

enter image description here

welcome ;-)

Solution 3 - Ubuntu

Edit: I no longer use Atom. The plugins I originally recommended here have all apparently ceased to be maintained. I've updated this answer with the suggestions in the comments, but please note I haven't tried any of these and will no longer be maintaining this answer.

Please check the comments or other answers for more up-to-date recommendations.


There are a number of Atom packages which give you access to the terminal from within Atom. Try a few out to find the best option for you.

Open a terminal in Atom:

If you want to open a terminal panel in Atom, try platformio-ide-terminal. Use the keyboard shortcut ctrl-` to open a new terminal instance.

Open an external terminal from Atom:

If you just want a shortcut to open your external terminal from within Atom, try open-terminal-here. You can use ctrl-alt-t to open your external terminal in the current file's directory, or ctrl-alt-shift-t to open the terminal in the project's root directory.

Solution 4 - Ubuntu

Atom currently does not have a built-in terminal(that I know of), so you would have to install an additional package such as platformio-ide-terminal.

The following screenshots were taken on a mac.

  1. Click on Atom and select Preferences

    enter image description here

  2. In the Settings tab that appears, click on the add icon + to Install a new package

    enter image description here

  3. A search bar will appear. Most packages should have the feature you desire in their name, so you can begin to type those keywords to see suggestions. In this case if you already know the name, just enter it there

    enter image description here

  4. Click Install

Solution 5 - Ubuntu

First, you should install "platformio-ide-terminal": Open "Preferences ⌘," >> Click "+ Install" >> In "Search packages" type "platformio-ide-terminal" >> Click "Install".

And answering exactly the question. If you have previously installed, just use:

  • Shortcut: ctrl-` or Option+Command+T (⌥⌘T)
  • by Menu: Go to Packages > platformio-ide-terminal [or other] > New terminal

Solution 6 - Ubuntu

In current versions of Mac Catalina

  1. go to packages tab --> Settings View ---> Install Packages/Themes ---> +Install button --> add "platformio-ide-terminal"

  2. control ~ to get the terminal

Solution 7 - Ubuntu

I didn't want to install a package just for that purpose so I ended up using this in my init.coffee:

spawn = require('child_process').spawn
atom.commands.add 'atom-text-editor', 'open-terminal', ->
  file = atom.workspace.getActiveTextEditor().getPath()
  dir = atom.project.getDirectoryForProjectPath(file).path
  spawn 'mate-terminal', ["--working-directory=#{dir}"], {
    detached: true
  }

With that, I could map ctrl-shift-t to the open-terminal command and it opens a mate-terminal.

Solution 8 - Ubuntu

And if you end up here in 2022 wondering what should you do for Atom on the latest Mac OS follow these steps:

  1. Installation: enter image description here

  2. Usage : Once installed in order to open the terminal press ctr+`

Solution 9 - Ubuntu

  1. Open your Atom IDE
  2. press ctrl+shift+P and search for "platformio-ide-terminal" package
  3. press install
  4. once installed press ctrl+~ (tilde above tab key in a standard keyboard)
  5. terminal opens enjoy!!!

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionsuwu150View Question on Stackoverflow
Solution 1 - UbuntuBert BristowView Answer on Stackoverflow
Solution 2 - UbuntuYusuf KhanView Answer on Stackoverflow
Solution 3 - UbuntucodemacabreView Answer on Stackoverflow
Solution 4 - UbuntuJGallardoView Answer on Stackoverflow
Solution 5 - UbuntuAndre AraujoView Answer on Stackoverflow
Solution 6 - UbuntuRohit View Answer on Stackoverflow
Solution 7 - UbuntumoritzView Answer on Stackoverflow
Solution 8 - UbuntuAmit MeenaView Answer on Stackoverflow
Solution 9 - UbuntuGopi PView Answer on Stackoverflow