PR File Search is a Visual Studio Code extension that allows you to quickly search and open files that are part of your current branch changes compared to the main branch.
- Quickly access files changed in the current branch compared to the main branch
- Custom keybinding to activate the search functionality
- Works with local Git repositories
- Includes staged, unstaged, and new files in the search
- Excludes deleted files from the search results
- Fast performance by using local Git operations
- Visual Studio Code v1.60.0 or higher
- Git must be installed and accessible from the command line
- The workspace must be a Git repository
https://marketplace.visualstudio.com/items?itemName=KeisukeTerada.pr-file-search
- Open a folder containing a Git repository in VS Code.
- Checkout the branch with your changes.
- Use the keyboard shortcut
Cmd+Ctrl+P
on macOS orCtrl+Alt+P
on Windows/Linux to activate the file search. - Select a file from the list to open it.
This extension doesn't add any VS Code settings.
- The extension assumes that your main branch is named either 'main' or 'master'. If your repository uses a different name for the main branch, the extension may not work as expected.
- The extension compares your current branch with the local main branch. If your local main branch is not up to date with the remote, the results may differ from what you see on GitHub or other remote repositories.
- Excluded deleted files from search results
- Improved handling of newly added files, including untracked files
- Updated to use local Git operations for faster performance
- Now includes staged, unstaged, and new files in the search
- Removed caching mechanism as it's no longer necessary due to improved performance
- Initial release of PR File Search
If you encounter any issues or have suggestions for improvements, please report them on the GitHub issues page. Pull requests are welcome!
This project is licensed under the MIT License.
PR ファイル検索は、現在のブランチの変更をメインブランチと比較して、変更されたファイルを素早く検索し開くことができる Visual Studio Code 拡張機能です。
- メインブランチと比較して、現在のブランチで変更されたファイルに素早くアクセス
- 検索機能を起動するためのカスタムキーバインディング
- ローカルの Git リポジトリで動作
- ステージされたファイル、ステージされていないファイル、新規ファイルを検索対象に含む
- 削除されたファイルを検索結果から除外
- ローカルの Git 操作を使用した高速なパフォーマンス
- Visual Studio Code v1.60.0 以上
- Git がインストールされ、コマンドラインからアクセス可能であること
- ワークスペースが Git リポジトリであること
公開されております、こちらからインストールを行ってください
https://marketplace.visualstudio.com/items?itemName=KeisukeTerada.pr-file-search
- VS Code で Git リポジトリを含むフォルダを開きます。
- 変更を含むブランチにチェックアウトします。
- macOS では
Cmd+Ctrl+P
、Windows/Linux ではCtrl+Alt+P
のキーボードショートカットを使用してファイル検索を起動します。 - リストからファイルを選択して開きます。
この拡張機能は VS Code に設定を追加しません。
- この拡張機能は、メインブランチの名前が 'main' または 'master' であることを前提としています。リポジトリがメインブランチに異なる名前を使用している場合、拡張機能が期待通りに動作しない可能性があります。
- この拡張機能は、現在のブランチをローカルのメインブランチと比較します。ローカルのメインブランチがリモートの最新状態と同期していない場合、結果が GitHub や他のリモートリポジトリで見られるものと異なる可能性があります。
- 削除されたファイルを検索結果から除外
- 新規追加ファイルの扱いを改善(未追跡のファイルも含む)
- ローカルの Git 操作を使用してパフォーマンスを向上
- ステージされたファイル、ステージされていないファイル、新規ファイルを検索対象に含むように更新
- パフォーマンス向上により、キャッシュメカニズムを削除
- PR ファイル検索の初回リリース
問題が発生した場合や改善の提案がある場合は、GitHub の issues ページで報告してください。 プルリクエストも歓迎します!
このプロジェクトは MIT ライセンスの下でライセンスされています。
お楽しみください!