Add check and message when *All commands are run with no applicable resources
[?]
Dec 29, 2020, 1:55 AM
VSIDBSWZJMU47QW26SUVEJYKRBQYVMST3KGBMRTDDDJ6IRF3OQDACDependencies
- [2]
MU6ZNUYZIntegrate recordAll command with input box - [3]
JYMSJCPQAdd command to add all untracked files and fix repository refreshing - [4]
L44OILGKAdd reset command to resource state context menu - [5]
YUVLBWV3Populate resource groups for unrecorded and untracked changes - [*]
B4SKYP3YAdd repository model and add steps to initialize it
Change contents
- edit in src/repository.ts at line 158
if (this.changedGroup.resourceStates.length === 0) {window.showInformationMessage('No Changes to Record');return;} - replacement in src/repository.ts at line 188
for await (const untrackedFile of this.untrackedGroup.resourceStates) {await this.repository.addFile(untrackedFile.resourceUri);if (this.untrackedGroup.resourceStates.length > 0) {for await (const untrackedFile of this.untrackedGroup.resourceStates) {await this.repository.addFile(untrackedFile.resourceUri);}} else {window.showInformationMessage('No Files to Add'); - replacement in src/repository.ts at line 201
await this.repository.resetAll();if (this.changedGroup.resourceStates.length > 0) {await this.repository.resetAll();} else {window.showInformationMessage('No Changes to Reset');}