Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Sparse Checkout PickerNew to Visual Studio Code? Get it now.
Sparse Checkout Picker

Sparse Checkout Picker

Melissa Hilliard

|
4 installs
| (0) | Free
Pick which folders are checked out via git sparse-checkout with a simple checkbox tree
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Sparse Checkout Picker

A simple checkbox tree in the Explorer view for managing Git cone-mode sparse-checkout, aimed at writers/non-technical users who just want to pick which top-level folders of a repo they need checked out.

Features

  • Adds a Sparse Checkout view to the Explorer showing your repo's folders.
  • Check a folder to check it out (git sparse-checkout set --cone), uncheck to remove it. Checking a folder includes its entire subtree.
  • Brand-new folders that haven't been committed yet also show up in the tree (labeled "new, not committed"). They're checked by default so their contents can be staged/committed from the Source Control view right away; uncheck one if you don't want it added to the sparse-checkout selection.
  • Changes apply automatically a moment after you stop clicking — no separate "Apply" step.
  • A refresh button picks up changes made outside the view (e.g. from the terminal).
  • Turn sparse-checkout off entirely with Disable Sparse Checkout and Check Out All Files, which warns you how many additional files that will write to disk before doing anything. Turn it back on again from the same view with Enable Sparse Checkout.

Requirements

  • Git must be installed and available on PATH.
  • The first workspace folder must be the root of a Git repository.

Known Issues

  • Cone-mode sparse-checkout can't exclude a subfolder of an already-checked parent folder. If you need finer control, uncheck the parent and check the specific subfolders you want instead.
  • Only folders are shown; individual file-level sparse-checkout patterns are not supported.

Release Notes

See CHANGELOG.md (in this repo) for the full history of changes.


Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

Working with Markdown

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft