From b3c4d8b9897a6609b383b11f4d81137ff6d7e9c5 Mon Sep 17 00:00:00 2001 From: hogashi Date: Wed, 13 Aug 2025 06:26:22 +0900 Subject: [PATCH 1/2] update README --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a3ecff5..f65619c 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,20 @@ Copies GitHub permalink of active file (name and line) to clipboard on VSCode. https://marketplace.visualstudio.com/items?itemName=hogashi.vscode-copy-github-permalink -## Features +## Usage - Open command pallete (with Cmd-Shift-P or so) - Input to search `Copy GitHub Permalink` and select it - Then your clipboard has a GitHub permalink generated by your workspace's git info and active file (name / line number) - - Like this: `https://github.com/hogashi/vscode-copy-github-permalink/blob/47b96dd6cc7c521d9ab017ce7760d62536cbb4cc/src/extension.ts#L4` - - Multiple-lined permalink will be copied if multiple lines are selected: `https://github.com/hogashi/vscode-copy-github-permalink/blob/47b96dd6cc7c521d9ab017ce7760d62536cbb4cc/src/extension.ts#L4-L6` + +## Features + +- `Copy GitHub Permalink` command copies GitHub permalink generated by your workspace's git info and active file (name / line number) + - e.g. `https://github.com/hogashi/vscode-copy-github-permalink/blob/47b96dd6cc7c521d9ab017ce7760d62536cbb4cc/src/extension.ts#L4` +- Multiple-lined permalink will be copied if multiple lines are selected + - e.g. `https://github.com/hogashi/vscode-copy-github-permalink/blob/47b96dd6cc7c521d9ab017ce7760d62536cbb4cc/src/extension.ts#L4-L6` +- `?plain=1` will be added if Markdown (and other rich docs that will be rendered in web) + - e.g. `https://github.com/hogashi/vscode-copy-github-permalink/blob/47b96dd6cc7c521d9ab017ce7760d62536cbb4cc/src/README.md?plain=1#L4` ## Requirements From e5bbb68b2d66632c73d11ea62a9e842b86ffd2d6 Mon Sep 17 00:00:00 2001 From: hogashi Date: Wed, 13 Aug 2025 06:27:36 +0900 Subject: [PATCH 2/2] bump version --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 97e1e1d..7900de8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-copy-github-permalink", - "version": "0.3.0", + "version": "0.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-copy-github-permalink", - "version": "0.3.0", + "version": "0.5.0", "dependencies": { "normalize-git-url": "^3.0.2", "upath": "^2.0.1" diff --git a/package.json b/package.json index 85d79cf..cb5695f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-copy-github-permalink", "displayName": "vscode-copy-github-permalink", "description": "Copies GitHub permalink of active file (name and line) to clipboard on VSCode", - "version": "0.4.0", + "version": "0.5.0", "engines": { "vscode": "^1.73.1" },