1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

将一处 require 导包方式改为 import 方式;代码目录结构调整

This commit is contained in:
程序员小墨 2024-12-03 23:56:14 +08:00
parent d3a4b0d79f
commit 57d6be7019
7 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
import * as vscode from 'vscode';
import { EOL } from '../type-definition/EOLType';
import { caseConversion } from '../main-code/conversion';
import { caseConversion } from '../main-code/variable-convert/conversion';
import { SupportCase } from '../type-definition/SupportCaseType';
import { isStringArrayEqual } from '../main-code/utils';

View File

@ -2,9 +2,9 @@ import * as vscode from 'vscode';
import QuickPickItemEx from "../type-definition/QuickPickItemExType";
import { QuickPickSupportCaseItem, quickPickSupportCases } from '../type-definition/SupportCaseType';
import { TransformTextResult } from '../type-definition/TransformTextResultType';
import { transformMutliSelectionText } from '../main-code/transform';
import { transformMutliSelectionText } from '../main-code/variable-convert/transform';
import { EOL } from '../type-definition/EOLType';
import { caseConversion } from '../main-code/conversion';
import { caseConversion } from '../main-code/variable-convert/conversion';
import { isStringArrayEqual } from '../main-code/utils';
import { getUserConfigurations } from '../main-code/user-configuration';

View File

@ -5,7 +5,7 @@ import handleEditorReplace from './extension-handler/editor-submenu-handler';
import { handleQuickPick } from './extension-handler/quick-pick-handler';
import { commands } from './type-definition/SupportCaseType';
import { createStatusBarItem, updateStatusBarItemVisable } from './extension-handler/status-bar-handler';
import * as CyclicConversion from './main-code/cyclic-conversion';
import * as CyclicConversion from './main-code/variable-convert/cyclic-conversion';
import { EOL } from './type-definition/EOLType';
import { getUserConfigurations } from './main-code/user-configuration';

View File

@ -1,4 +1,4 @@
const vscode = require('vscode');
import vscode from 'vscode';
/**
*

View File

@ -1,6 +1,6 @@
import { EOL } from '../type-definition/EOLType';
import { SupportCase } from '../type-definition/SupportCaseType';
import { TransformTextResult } from '../type-definition/TransformTextResultType';
import { EOL } from '../../type-definition/EOLType';
import { SupportCase } from '../../type-definition/SupportCaseType';
import { TransformTextResult } from '../../type-definition/TransformTextResultType';
import { transformMutliLineText, transformText } from './transform';
/**

View File

@ -1,9 +1,9 @@
import * as vscode from 'vscode';
import { EOL } from "../type-definition/EOLType";
import { cyclicConvertCaseOrder } from "../type-definition/SupportCaseType";
import { EOL } from "../../type-definition/EOLType";
import { cyclicConvertCaseOrder } from "../../type-definition/SupportCaseType";
import { caseConversion } from "./conversion";
import { isStringArrayEqual, stringListArrayDuplicateRemoval } from './utils';
import { getUserConfigurations } from './user-configuration';
import { isStringArrayEqual, stringListArrayDuplicateRemoval } from '../utils';
import { getUserConfigurations } from '../user-configuration';
interface UserSelection {
currentEol: EOL

View File

@ -1,4 +1,4 @@
import { TransformTextResult } from "../type-definition/TransformTextResultType";
import { TransformTextResult } from "../../type-definition/TransformTextResultType";
const logDebugInfo = false;