Cleanup commands available in the command palette

[?]
Jan 11, 2021, 1:49 AM
MO3G3S2V2TRBA5T6LHYIAUZO4WHJZCBV7XS2SDXKH33G5AJHN7JAC

Dependencies

  • [2] OXW4KMVU Add QuickDiffProvider
  • [3] 6ONRFFRG First pass of file decorations
  • [4] B4SKYP3Y Add repository model and add steps to initialize it
  • [5] WHQQV5QQ Add watcher to refresh on file system changes
  • [6] L44OILGK Add reset command to resource state context menu
  • [7] BIEL6Z5J Update resource groups to use custom interface
  • [8] MU6ZNUYZ Integrate recordAll command with input box
  • [*] NCBEWRYE Initialize Repository
  • [*] VWRDBPJZ Add command and menu option for adding one or more files to the repository

Change contents

  • replacement in src/repository.ts at line 1
    [3.16][3.0:162]()
    import { Disposable, Event, EventEmitter, OutputChannel, RelativePattern, scm, SourceControl, SourceControlResourceState, Uri, window, workspace } from 'vscode';
    [3.16]
    [3.0]
    import { commands, Disposable, Event, EventEmitter, OutputChannel, RelativePattern, scm, SourceControl, SourceControlResourceState, Uri, window, workspace } from 'vscode';
  • edit in src/repository.ts at line 113
    [2.61]
    [3.241]
    commands.executeCommand('setContext', 'pijul.activated', true);
  • edit in package.json at line 178
    [3.1511]
    [11.1024]
    "commandPalette": [
    {
    "command": "pijul.init",
    "when": "config.pijul.enabled"
    },
    {
    "command": "pijul.refresh",
    "when": "config.pijul.enabled && pijul.activated"
    },
    {
    "command": "pijul.showOutput",
    "when": "config.pijul.enabled && pijul.activated"
    },
    {
    "command": "pijul.record",
    "when": "false"
    },
    {
    "command": "pijul.recordAll",
    "when": "config.pijul.enabled && pijul.activated"
    },
    {
    "command": "pijul.amendAll",
    "when": "config.pijul.enabled && pijul.activated"
    },
    {
    "command": "pijul.add",
    "when": "false"
    },
    {
    "command": "pijul.addAll",
    "when": "config.pijul.enabled && pijul.activated"
    },
    {
    "command": "pijul.reset",
    "when": "false"
    },
    {
    "command": "pijul.resetAll",
    "when": "config.pijul.enabled && pijul.activated"
    },
    {
    "command": "pijul.openFile",
    "when": "false"
    },
    {
    "command": "pijul.openDiff",
    "when": "false"
    },
    {
    "command": "pijul.openChange",
    "when": "false"
    },
    {
    "command": "pijul.unrecordChange",
    "when": "false"
    },
    {
    "command": "pijul.applyChangeToCurrentChannel",
    "when": "false"
    },
    {
    "command": "pijul.unrecordChange",
    "when": "false"
    },
    {
    "command": "pijul.unrecordChangeReset",
    "when": "false"
    },
    {
    "command": "pijul.copyChangeHash",
    "when": "false"
    },
    {
    "command": "pijul.copyChangeMessage",
    "when": "false"
    },
    {
    "command": "pijul.renameChannel",
    "when": "false"
    },
    {
    "command": "pijul.switchChannel",
    "when": "false"
    },
    {
    "command": "pijul.deleteChannel",
    "when": "false"
    },
    {
    "command": "pijul.forkChannel",
    "when": "config.pijul.enabled && pijul.activated"
    },
    {
    "command": "pijul.editRepoConfiguration",
    "when": "config.pijul.enabled && pijul.activated"
    },
    {
    "command": "pijul.editGlobalConfiguration",
    "when": "config.pijul.enabled && pijul.activated"
    }
    ],