Add command to open resources on SCM view

[?]
Jan 4, 2021, 11:58 PM
IN7667MVX2ZGUANBQGIQXQTAMCDSEFASFM7LHZVEWD2WHWNHELPQC

Dependencies

  • [2] BIEL6Z5J Update resource groups to use custom interface
  • [3] H6KYVQ2Q Add a class to represent resources

Change contents

  • replacement in src/resource.ts at line 1
    [3.14][2.821:969]()
    import { FileDecoration, SourceControlResourceDecorations, SourceControlResourceGroup, SourceControlResourceState, ThemeColor, Uri } from 'vscode';
    [3.14]
    [3.135]
    import { Command, FileDecoration, SourceControlResourceDecorations, SourceControlResourceGroup, SourceControlResourceState, ThemeColor, Uri } from 'vscode';
  • edit in src/resource.ts at line 26
    [3.547]
    [3.547]
    * The command which will be run when the resource is clicked on
    */
    get command (): Command {
    return {
    command: 'vscode.open',
    title: 'Open',
    arguments: [this.resourceUri]
    };
    }
    /**