DEV Community

Discussion on: Visual Studio Code - Tips & Tricks - Command Palette and its friends

Collapse
 
hey68you profile image
hey68you • Edited

Note quite related but I'm looking for a way to add 'pending' change set lists like in webstorm, where can create a new 'change list' in the source control view, and drag and drop modified files into this 'change list' to break down big change sets.

E.g. some files you changed only for set-up / testing and are not really part of the feature you want to commit/push

Does vscode have this feature or is there an extension out there that can do this?
dev-to-uploads.s3.amazonaws.com/up...
in my screen shot - is there a way to have instead of 'Changes' list additional lists where I drag files in/out of and give this list a name like - 'testing only - not for commit'

Collapse
 
puppo profile image
Luca Del Puppo

Also I am looking for this feature. Unfortunately so far I haven't found anything in vscode that does this.

Collapse
 
sinewalker profile image
Mike Lockhart

Do you mean a visual interface to git stash / git pop? VS Code has a Stashes section in the built-in Source Control view, and the Git: Stash / Git: Apply / Git: Pop / Git: Drop commands from the Pallet.

I can't find a way to drag/drop modified / untracked files into Stashes

Or, do you mean to selectively stage some hunks of a change instead of an entire file (or files)? In the built-in diff view, select the changed lines and then right-click and choose Stage Selected Ranges.

Collapse
 
hey68you profile image
hey68you • Edited

I don't want to stash - I just want to organize my modified files into separate lists.
Currently, in VS Code, there is one only list called "Changes". I would like to add more lists (at least one more list) and drag modified files out of the "Changes" list and put them in another list that I can name (e.g. "do not commit these files").

Stage is sort of a solution to this but - I want to be able to name the list of un-staged and be able to make multiple such un-staged lists

This a built-in feature of webstorm.