Skip to content

Commit

Permalink
feat: rename extension
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Nov 13, 2024
1 parent 9e6d767 commit 7b3cbeb
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
---------
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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"
Expand Down Expand Up @@ -54,8 +54,8 @@
},
"activationEvents": [
"onStartupFinished",
"onCommand:openInNovelWindow.openFolder",
"onCommand:openInNovelWindow.pickFolder"
"onCommand:openSpickSpanWindow.openFolder",
"onCommand:openSpickSpanWindow.pickFolder"
],
"capabilities": {
"virtualWorkspaces": true,
Expand All @@ -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"
}
]
Expand Down
8 changes: 4 additions & 4 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) { // {{{
Expand All @@ -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,
);

Expand Down Expand Up @@ -66,8 +66,8 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
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);
Expand Down

0 comments on commit 7b3cbeb

Please sign in to comment.