如何在Atom中打开终端?我需要安装插件吗?
如果可能的话,我也想知道如何使用快捷键打开终端。
答案 0 :(得分:16)
在 Atom IDE中:
答案 1 :(得分:7)
有许多Atom软件包可以让您从Atom中访问终端。尝试一些为您找到最佳选择。
一些适用于Ubuntu的推荐(带有主键盘快捷键):
编辑:不再维护terminal-plus
更改的推荐插件。谢谢你的头脑,@ MorganRodgers。
如果您想在 Atom中打开终端面板,请尝试atom-ide-terminal
。使用键盘快捷键ctrl-`
打开新的终端实例。
如果您只想从Atom中打开外部终端的快捷方式,请尝试atom-terminal
(这是我使用的)。您可以使用ctrl-shift-t
在当前文件的目录中打开外部终端,或alt-shift-t
在项目的根目录中打开终端。
答案 2 :(得分:4)
对于Windows,请执行以下步骤
(2),然后在软件包中键入“ platformio-ide-terminal”,然后单击安装 (3)完成安装后,重新启动原子并按
ctrl + ~ for opening the terminal `~` is the key below `Esc`
欢迎;-)
答案 3 :(得分:4)
在当前版本的Mac Catalina中
转到软件包选项卡->设置视图--->安装软件包/主题---> +安装按钮->添加“ platformio-ide-terminal”
控制〜获取终端
答案 4 :(得分:1)
Atom当前没有内置终端(据我所知),因此您将必须安装其他软件包,例如platformio-ide-terminal
。
以下屏幕截图是在Mac上拍摄的。
答案 5 :(得分:1)
我不想为此安装软件包,所以最终在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
}
这样,我可以将ctrl-shift-t
映射到open-terminal
命令,它会打开一个配合端子。
答案 6 :(得分:0)
准确回答问题。要打开终端,只需使用以下命令即可:
ctrl-`
或Option + Command + T(⌥⌘T)答案 7 :(得分:0)