diff --git a/README.md b/README.md index 965fc39..8709bf5 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ -Open in Novel Window -================ +Open to Spick and Span Window +============================= [![License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) -[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/zokugun.open-in-novel-window?label=VS%20Marketplace)](https://marketplace.visualstudio.com/items?itemName=zokugun.open-in-novel-window) -[![Open VSX Version](https://img.shields.io/open-vsx/v/zokugun/open-in-novel-window?label=Open%20VSX)](https://open-vsx.org/extension/zokugun/open-in-novel-window) +[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/zokugun.open-to-spick-and-span-window?label=VS%20Marketplace)](https://marketplace.visualstudio.com/items?itemName=zokugun.open-to-spick-and-span-window) +[![Open VSX Version](https://img.shields.io/open-vsx/v/zokugun/open-to-spick-and-span-window?label=Open%20VSX)](https://open-vsx.org/extension/zokugun/open-to-spick-and-span-window) [![Donation](https://img.shields.io/badge/donate-ko--fi-green)](https://ko-fi.com/daiyam) [![Donation](https://img.shields.io/badge/donate-liberapay-green)](https://liberapay.com/daiyam/donate) [![Donation](https://img.shields.io/badge/donate-paypal-green)](https://paypal.me/daiyam99) -With [Open in Novel Window](https://github.com/zokugun/vscode-open-in-novel-window), you can: +With [Open to Spick and Span Window](https://github.com/zokugun/vscode-open-to-spick-and-span-window), you can: - open the selected document in a new window - in the explorer or folders pane - with the menu `Open in New Window` - open a parent of the current document in a new window - in the command palette - - with the command `> Open in Novel Window: Pick Folder` + - with the command `> Open in New Window: Pick Folder` Donations --------- diff --git a/package-lock.json b/package-lock.json index 9cedcb9..9e6f4e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "open-in-novel-window", + "name": "open-to-spick-and-span-window", "version": "0.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "open-in-novel-window", + "name": "open-to-spick-and-span-window", "version": "0.3.0", "license": "MIT", "devDependencies": { diff --git a/package.json b/package.json index df3dbce..02dafef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "open-in-novel-window", - "displayName": "Open in Novel Window", + "name": "open-to-spick-and-span-window", + "displayName": "Open to Spick and Span Window", "description": "Open a folder in a new window", "version": "0.3.0", "author": { @@ -9,13 +9,13 @@ }, "publisher": "zokugun", "license": "MIT", - "homepage": "https://github.com/zokugun/vscode-open-in-novel-window", + "homepage": "https://github.com/zokugun/vscode-open-to-spick-and-span-window", "repository": { "type": "git", - "url": "https://github.com/zokugun/vscode-open-in-novel-window.git" + "url": "https://github.com/zokugun/vscode-open-to-spick-and-span-window.git" }, "bugs": { - "url": "https://github.com/zokugun/vscode-open-in-novel-window/issues" + "url": "https://github.com/zokugun/vscode-open-to-spick-and-span-window/issues" }, "engines": { "vscode": "^1.23.0" @@ -54,8 +54,8 @@ }, "activationEvents": [ "onStartupFinished", - "onCommand:openInNovelWindow.openFolder", - "onCommand:openInNovelWindow.pickFolder" + "onCommand:openSpickSpanWindow.openFolder", + "onCommand:openSpickSpanWindow.pickFolder" ], "capabilities": { "virtualWorkspaces": true, @@ -66,25 +66,25 @@ "contributes": { "commands": [ { - "command": "openInNovelWindow.openFolder", + "command": "openSpickSpanWindow.openFolder", "title": "Open in New Window" }, { - "command": "openInNovelWindow.pickFolder", + "command": "openSpickSpanWindow.pickFolder", "title": "Pick Folder", - "category": "Open in Novel Window" + "category": "Open in New Window" } ], "menus": { "explorer/context": [ { - "command": "openInNovelWindow.openFolder", + "command": "openSpickSpanWindow.openFolder", "group": "navigation@99" } ], "commandPalette": [ { - "command": "openInNovelWindow.openFolder", + "command": "openSpickSpanWindow.openFolder", "when": "never" } ] diff --git a/src/extension.ts b/src/extension.ts index e2deaa4..b52ebdd 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -3,7 +3,7 @@ import pkg from '../package.json'; import { openFolder } from './commands/open-folder'; import { pickFolder } from './commands/pick-folder'; -const CONFIG_KEY = 'openInNovelWindow'; +const CONFIG_KEY = 'openSpickSpanWindow'; const VERSION_KEY = 'version'; async function showWhatsNewMessage(version: string) { // {{{ @@ -14,7 +14,7 @@ async function showWhatsNewMessage(version: string) { // {{{ }]; const result = await vscode.window.showInformationMessage( - `Open in Novel Window has been updated to v${version} — check out what's new!`, + `Open to Spick and Span Window has been updated to v${version} — check out what's new!`, ...actions, ); @@ -66,8 +66,8 @@ export async function activate(context: vscode.ExtensionContext): Promise const disposables: vscode.Disposable[] = []; disposables.push( - vscode.commands.registerCommand('openInNovelWindow.openFolder', openFolder), - vscode.commands.registerCommand('openInNovelWindow.pickFolder', pickFolder), + vscode.commands.registerCommand('openSpickSpanWindow.openFolder', openFolder), + vscode.commands.registerCommand('openSpickSpanWindow.pickFolder', pickFolder), ); context.subscriptions.push(...disposables);