Add commands to copy the hash and message of changes in the log
[?]
Jan 5, 2021, 12:16 AM
5ISTB4TW2BH52Y7U4XSVQ5PBHWIHIN2Q26V5M25HLWWHKJIPCNOQCDependencies
- [2]
GNQD74OZAdd pijul.openChange command and text document provider for pijul-change scheme - [3]
VP6KWIRTAdd inline icons for commands on SCM view - [4]
FAMBRMO7Add command to open file to source control resources - [5]
ILH3GIVTAdd command centre and refresh/init commands - [6]
ODRMVURUImplement first iteration of file diffing - [7]
L3VOQYAFAdd changelog view to the source control panel - [8]
6H4B4UJQAdd commands to open repo and global pijul configuration files - [*]
NCBEWRYEInitialize Repository
Change contents
- replacement in src/commands.ts at line 3
import { commands, Disposable, OutputChannel, SourceControlResourceState, Uri, window, workspace } from 'vscode';import { commands, Disposable, env, OutputChannel, SourceControlResourceState, Uri, window, workspace } from 'vscode'; - replacement in src/commands.ts at line 242
* @param resourceStates The resources to open* @param change The change top open - edit in src/commands.ts at line 247
console.log(changeUri); - edit in src/commands.ts at line 251
* Copy the hash of a change to the clipboard* @param change The resources to copy the hash of*/@command('pijul.copyChangeHash')async copyChangeHash (change: PijulChange): Promise<void> {env.clipboard.writeText(change.hash);}/*** Copy the message of a change to the clipboard* @param change The resources to copy the message of*/@command('pijul.copyChangeMessage')async copyChangeMessage (change: PijulChange): Promise<void> {env.clipboard.writeText(change.message);}/** - edit in package.json at line 94
"category": "Pijul"},{"command": "pijul.copyChangeHash","title": "Copy Change Hash","category": "Pijul"},{"command": "pijul.copyChangeMessage","title": "Copy Change Message", - replacement in package.json at line 227
},}, - replacement in package.json at line 266
"command": "pijul.openChange","when": "view == pijul.views.log && viewItem == pijulChange""command": "pijul.openChange","when": "view == pijul.views.log && viewItem == pijulChange"},{"command": "pijul.copyChangeHash","when": "view == pijul.views.log && viewItem == pijulChange","group": "change"},{"command": "pijul.copyChangeMessage","when": "view == pijul.views.log && viewItem == pijulChange","group": "change" - replacement in package.json at line 279
]]