Add command to open resources on SCM view
[?]
Jan 4, 2021, 11:58 PM
IN7667MVX2ZGUANBQGIQXQTAMCDSEFASFM7LHZVEWD2WHWNHELPQCDependencies
- [2]
BIEL6Z5JUpdate resource groups to use custom interface - [3]
H6KYVQ2QAdd a class to represent resources
Change contents
- replacement in src/resource.ts at line 1
import { FileDecoration, SourceControlResourceDecorations, SourceControlResourceGroup, SourceControlResourceState, ThemeColor, Uri } from 'vscode';import { Command, FileDecoration, SourceControlResourceDecorations, SourceControlResourceGroup, SourceControlResourceState, ThemeColor, Uri } from 'vscode'; - edit in src/resource.ts at line 26
* The command which will be run when the resource is clicked on*/get command (): Command {return {command: 'vscode.open',title: 'Open',arguments: [this.resourceUri]};}/**