0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Zed】プロジェクト開始時にGit パネルを自動的に開く方法

0
Posted at

設定方法

Zed の設定ファイル(settings.json)に以下を追加します。

{
  "git_panel": {
    "starts_open": true
  }
}

starts_opentrue を設定すると、パネルの状態が保存されていない新しいワークスペースで Git パネルが自動的に開きます。false(デフォルト値)の場合は、従来通り閉じた状態でワークスペースが起動します。

「パネルの状態が保存されていない」とは

この設定が有効になるのは、保存済みのパネル状態がないワークスペースが対象です。

Zed はワークスペースごとにパネルの開閉状態を記憶しています。たとえば、一度 Git パネルを手動で閉じたワークスペースは「閉じている」という状態が保存されるため、starts_open: true であっても次回起動時は閉じた状態になります。

starts_open が効くのは、主に以下のようなケースです。

  • 新しいフォルダを初めて Zed で開いたとき
  • パネル状態がまだ記録されていないワークスペース

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?