Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Ctrl+G fails to open a quoted VS Code path containing spaces

オープン 初心者向け
#179 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
shell, typescript

調査の方向性

外部エディタを扱うコード(おそらく src/editor.ts や src/cli.ts などのファイル内)を確認してください。問題は、スペースを含む引用符付きパスが含まれる場合の VISUAL 環境変数の解析にあります。修正では、シェルコマンドが正しく分割されるようにする必要があります。説明通りに VISUAL を設定し、Step プロンプトで Ctrl+G コマンドを実行してテストしてください。

索引モデルが issue の本文から書いたものです。

説明

bug
What happened?

On macOS, Ctrl+G briefly shows the external-editor launch message, then returns to Step without opening VS Code. I reproduced this with Step 0.1.0 and extensions disabled (step -ne --no-session). No error is shown. This makes Ctrl+G unusable when VISUAL points to a quoted app-bundle path with spaces. I have a fix and regression test ready in my fork and would like to submit a PR when external PRs are accepted.

Steps to reproduce
  1. Confirm that /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code exists.
  2. Run VISUAL='"/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" --wait' step -ne --no-session.
  3. Press Ctrl+G in the Step prompt.
Expected behavior

VS Code opens the temporary prompt.md file and Step waits until I close the editor.

Version

0.1.0

主要言語
TypeScript
スター
850
フォーク
62
平均マージ
1日 9時間
マージ済み PR(30日)
48

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stepfun-ai/Step-Code のほかの issue

stepfun-ai/Step-Code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。