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

chore: showConvertCaseOrderDialog 改为 showConvertCaseDetailDialog

This commit is contained in:
2025-12-05 14:11:05 +08:00
parent 06c842249b
commit 4aaa8c8569
5 changed files with 11 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ import { getUserConfigurations } from '../../utils/user-configuration';
/**
* 显示当前配置的格式顺序信息
*/
export function showConvertCaseOrderDialog() {
export function showConvertCaseDetailDialog() {
// 获取用户配置的格式顺序
const formatOrder = getUserConfigurations<string[]>('formatOrder') || [];
// 获取启用的格式
@@ -120,7 +120,7 @@ export function showConvertCaseOrderDialog() {
// 显示信息弹窗
vscode.window.showInformationMessage<vscode.MessageItem>(
'格式顺序配置信息',
'变量转换功能配置信息',
{ modal: true, detail: message.join('') },
// 弹窗按钮
{ title: '插件全部配置' },

View File

@@ -17,7 +17,7 @@ import handleEditorReplaceVariable from './handler/variable-convert/editor-subme
import { handleQuickPick as handleQuickPickVariable } from './handler/variable-convert/quick-pick-handler';
import { commands as variableCommands } from './core/variable-convert/types/SupportVariableCaseType';
import * as CyclicConversionVariable from './core/variable-convert/cyclic-conversion';
import { showConvertCaseOrderDialog } from './core/variable-convert/show-convert-case-order-dialog';
import { showConvertCaseDetailDialog } from './core/variable-convert/show-convert-case-order-dialog';
// Path Convert
import handleEditorReplacePath from './handler/path-convert/editor-submenu-handler';
@@ -158,8 +158,8 @@ export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(loopConvertCaseNextDisposable);
// 注册显示格式顺序信息的命令
let showConvertCaseOrderDialogDisposable = vscode.commands.registerCommand('variable-conversion.showConvertCaseOrderDialog', showConvertCaseOrderDialog);
context.subscriptions.push(showConvertCaseOrderDialogDisposable);
let showConvertCaseDetailDialogDisposable = vscode.commands.registerCommand('variable-conversion.showConvertCaseDetailDialog', showConvertCaseDetailDialog);
context.subscriptions.push(showConvertCaseDetailDialogDisposable);
/**