Open
Conversation
- エディタ選択のプロンプトを追加 - 選択に応じて設定ファイルのパスを切り替え - 選択に応じてCLIコマンド(code/cursor)を切り替え Closes #26
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| done | ||
|
|
||
| code --list-extensions > "$SCRIPT_DIR/extensions" | ||
| "$EDITOR_CMD" --list-extensions > "$SCRIPT_DIR/extensions" |
There was a problem hiding this comment.
Shared extensions file causes cross-editor contamination
Medium Severity
The script reads from and writes to a single shared extensions file for both VS Code and Cursor. When a user runs the script for one editor, it overwrites the extensions file with that editor's installed extensions. Running the script later for the other editor will use the wrong extension list and then overwrite it again. This causes unintended cross-contamination between the two editors' extension configurations.
Additional Locations (1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vscode_install.shで VS Code と Cursor のどちらかを対話式で選択できるように変更Test plan
Closes #26
Note
Enables interactive selection of editor and applies settings/extensions accordingly.
vscode_install.shto chooseVS CodeorCursor, settingSETTING_DIRandEDITOR_CMDbased on choicesettings.jsonandkeybindings.jsonto the chosen editor'sUserdirectory and prints statuscodeorcursor) to install extensions fromextensionsand to refresh the listWritten by Cursor Bugbot for commit fd662b2. This will update automatically on new commits. Configure here.