From 7d0c1a0a3e52b9c34a05eb4d21343b9a99c2454b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=8D=9A=E5=87=AF?= Date: Sat, 7 Dec 2024 18:13:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=BB=A3=E7=A0=81=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/variable-convert/conversion.ts | 4 ++-- src/core/variable-convert/cyclic-conversion.ts | 2 +- src/extension.ts | 2 +- src/handler/editor-submenu-handler.ts | 2 +- src/handler/quick-pick-handler.ts | 6 +++--- .../types}/QuickPickItemExType.ts | 0 src/test/extension.test.ts | 2 +- src/test/types/TestCaseType.ts | 2 +- src/{type-definition => types}/EOLType.ts | 0 src/{type-definition => types}/TransformTextResultType.ts | 0 src/utils/transform.ts | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) rename src/{type-definition => handler/types}/QuickPickItemExType.ts (100%) rename src/{type-definition => types}/EOLType.ts (100%) rename src/{type-definition => types}/TransformTextResultType.ts (100%) diff --git a/src/core/variable-convert/conversion.ts b/src/core/variable-convert/conversion.ts index a1ba205..a91779f 100644 --- a/src/core/variable-convert/conversion.ts +++ b/src/core/variable-convert/conversion.ts @@ -1,6 +1,6 @@ -import { EOL } from '../../type-definition/EOLType'; +import { EOL } from '../../types/EOLType'; import { SupportCase } from './types/SupportCaseType'; -import { TransformTextResult } from '../../type-definition/TransformTextResultType'; +import { TransformTextResult } from '../../types/TransformTextResultType'; import { transformMutliLineText, transformText } from '../../utils/transform'; /** diff --git a/src/core/variable-convert/cyclic-conversion.ts b/src/core/variable-convert/cyclic-conversion.ts index 242f354..cd21c08 100644 --- a/src/core/variable-convert/cyclic-conversion.ts +++ b/src/core/variable-convert/cyclic-conversion.ts @@ -1,5 +1,5 @@ import * as vscode from 'vscode'; -import { EOL } from "../../type-definition/EOLType"; +import { EOL } from "../../types/EOLType"; import { cyclicConvertCaseOrder } from "./types/SupportCaseType"; import { caseConversion } from "./conversion"; import { isStringArrayEqual, stringListArrayDuplicateRemoval } from '../../utils/utils'; diff --git a/src/extension.ts b/src/extension.ts index 485e88c..27bef59 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -16,7 +16,7 @@ import { handleQuickPick } from './handler/quick-pick-handler'; import { commands } from './core/variable-convert/types/SupportCaseType'; import { createStatusBarItem, updateStatusBarItemVisable } from './handler/status-bar-handler'; import * as CyclicConversion from './core/variable-convert/cyclic-conversion'; -import { EOL } from './type-definition/EOLType'; +import { EOL } from './types/EOLType'; import { getUserConfigurations } from './utils/user-configuration'; // This method is called when your extension is activated diff --git a/src/handler/editor-submenu-handler.ts b/src/handler/editor-submenu-handler.ts index ac7be8e..e2eb080 100644 --- a/src/handler/editor-submenu-handler.ts +++ b/src/handler/editor-submenu-handler.ts @@ -1,5 +1,5 @@ import * as vscode from 'vscode'; -import { EOL } from '../type-definition/EOLType'; +import { EOL } from '../types/EOLType'; import { caseConversion } from '../core/variable-convert/conversion'; import { SupportCase } from '../core/variable-convert/types/SupportCaseType'; import { isStringArrayEqual } from '../utils/utils'; diff --git a/src/handler/quick-pick-handler.ts b/src/handler/quick-pick-handler.ts index 42c34b0..2a71e19 100644 --- a/src/handler/quick-pick-handler.ts +++ b/src/handler/quick-pick-handler.ts @@ -1,9 +1,9 @@ import * as vscode from 'vscode'; -import QuickPickItemEx from "../type-definition/QuickPickItemExType"; +import QuickPickItemEx from "./types/QuickPickItemExType"; import { QuickPickSupportCaseItem, quickPickSupportCases } from '../core/variable-convert/types/SupportCaseType'; -import { TransformTextResult } from '../type-definition/TransformTextResultType'; +import { TransformTextResult } from '../types/TransformTextResultType'; import { transformMutliSelectionText } from '../utils/transform'; -import { EOL } from '../type-definition/EOLType'; +import { EOL } from '../types/EOLType'; import { caseConversion } from '../core/variable-convert/conversion'; import { isStringArrayEqual } from '../utils/utils'; import { getUserConfigurations } from '../utils/user-configuration'; diff --git a/src/type-definition/QuickPickItemExType.ts b/src/handler/types/QuickPickItemExType.ts similarity index 100% rename from src/type-definition/QuickPickItemExType.ts rename to src/handler/types/QuickPickItemExType.ts diff --git a/src/test/extension.test.ts b/src/test/extension.test.ts index 9f45cfd..b981571 100644 --- a/src/test/extension.test.ts +++ b/src/test/extension.test.ts @@ -8,7 +8,7 @@ import { TestCase, TestCaseGroup } from './types/TestCaseType'; import { transformMutliLineText, transformText } from '../utils/transform'; import { caseConversion } from '../core/variable-convert/conversion'; import { SupportCase } from '../core/variable-convert/types/SupportCaseType'; -import { TransformTextResult } from '../type-definition/TransformTextResultType'; +import { TransformTextResult } from '../types/TransformTextResultType'; // import * as myExtension from '../../extension'; /* diff --git a/src/test/types/TestCaseType.ts b/src/test/types/TestCaseType.ts index 0261161..3b8e589 100644 --- a/src/test/types/TestCaseType.ts +++ b/src/test/types/TestCaseType.ts @@ -1,4 +1,4 @@ -import { EOL } from "../../type-definition/EOLType"; +import { EOL } from "../../types/EOLType"; export type TestCaseGroup = { group: string diff --git a/src/type-definition/EOLType.ts b/src/types/EOLType.ts similarity index 100% rename from src/type-definition/EOLType.ts rename to src/types/EOLType.ts diff --git a/src/type-definition/TransformTextResultType.ts b/src/types/TransformTextResultType.ts similarity index 100% rename from src/type-definition/TransformTextResultType.ts rename to src/types/TransformTextResultType.ts diff --git a/src/utils/transform.ts b/src/utils/transform.ts index 814f3e9..0ad0f92 100644 --- a/src/utils/transform.ts +++ b/src/utils/transform.ts @@ -1,4 +1,4 @@ -import { TransformTextResult } from "../type-definition/TransformTextResultType"; +import { TransformTextResult } from "../types/TransformTextResultType"; const logDebugInfo = false;