Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DVC menu to the built-in VSCode File Explorer #41

Closed
RandomFractals opened this issue Dec 25, 2020 · 0 comments · Fixed by #121
Closed

Add DVC menu to the built-in VSCode File Explorer #41

RandomFractals opened this issue Dec 25, 2020 · 0 comments · Fixed by #121

Comments

@RandomFractals
Copy link

RandomFractals commented Dec 25, 2020

VSCode allows us to add custom context menu items to the built-in File Explorer.

We can expose the following commonly used DVC commands via new custom DVC menu group for managed files and folders:

VSCode Command DVC Command Description
DVC: Initialize Directory dvc init --subdir <dir> Creates a DVC project for the selected directory in File Explorer.
DVC: Add dvc add targets <dir/file> Adds a file or a directory selected in File Explorer to DVC.
DVC: Checkout dvc checkout targets <dir/file> Runs dvc checkout for the selected file or directory.
DVC: Checkout Recursive dvc checkout --recursive targets <dir> Runs dvc checkout recursively for the selected directory and its subdirectories.
... ... ...
...
@RandomFractals RandomFractals changed the title Add DVC menu to the built-in vscode file explorer Add DVC menu to the built-in VSCode File Explorer Dec 25, 2020
@itsmesean itsmesean self-assigned this Feb 26, 2021
@itsmesean itsmesean linked a pull request Feb 28, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants