facebookarchive/atom-ide-ui

Atom IDE Terminal should open in current project directory by default

開放

#265 建立於 2018年6月5日

 (3 則留言) (5 個反應) (0 位負責人)JavaScript (110 個分叉)batch import
help wanted

倉庫指標

星標
 (937 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Before Submitting

  • Have you installed an "ide-" language package? atom-ide-ui provides no functionality out-of-the box unless you've installed a suitable package.
  • If your issue is language-specific, please file an issue against the "ide-" language package you're using instead.

Description

  1. Open a project directory in Atom by going to File > Open folder and selecting a directory.
  2. Start an Atom IDE Terminal by toggling the command pane and running atom-ide-terminal:new-terminal.
  3. Observe the current working directory of the terminal. Try the command cwd.

Expected Behavior

By default, the terminal should open in the project directory, or there should be an option in package config to set it to open by default in the package directory, even when there is a file open. Ideally the current working directory would have three options:

  • Open in file directory, fall back to project directory
  • Always open in project directory
  • Open in file directory, fall back to home directory (current behavior)

Actual Behavior

The terminal will open in the directory of the currently opened file, which is fine, but if there is no file open it will open in your home directory ~.

Versions

  • Atom: 1.27.2 x64
  • Client OS: Windows 10 64-bit Version 1803
  • atom-ide-ui: 0.12.0

貢獻者指南