Skip to content

Conversation

ayuayue
Copy link
Contributor

@ayuayue ayuayue commented Jul 1, 2025

  • 在工具窗口添加设置按钮
  • 实现设置按钮点击事件处理逻辑
  • 新增 SettingAction 类用于设置操作- 更新 MainPanel 和 MainToolBar 类以支持设置功能
  • 添加设置图标并更新 DebugToolsIcons 类

ayuayue and others added 4 commits July 1, 2025 11:33
- 在工具窗口添加设置按钮
- 实现设置按钮点击事件处理逻辑
- 新增 SettingAction 类用于设置操作- 更新 MainPanel 和 MainToolBar 类以支持设置功能
- 添加设置图标并更新 DebugToolsIcons 类
- 在工具窗口和主工具栏添加帮助按钮
- 实现帮助按钮点击后自动打开浏览器访问帮助文档
- 优化设置按钮,使其弹出设置窗口
Copy link
Collaborator

@future0923 future0923 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

别的没啥问题

import io.github.future0923.debug.tools.idea.utils.DebugToolsIcons;

/**
* @author future0923
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

作者

try {
Desktop.getDesktop().browse(new java.net.URI("https://debug-tools.cc/"));
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "无法自动打开浏览器,请手动访问: https://debug-tools.cc/", "提示", JOptionPane.INFORMATION_MESSAGE);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

英文

*/
package io.github.future0923.debug.tools.idea.tool.action;

import com.intellij.openapi.options.ShowSettingsUtil;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

移除没用到的类


import javax.swing.*;
import java.awt.*;
import java.net.URI;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

移除没用到的类

ayuayue added 2 commits July 2, 2025 16:18
- 将错误提示信息从中文改为英文,以适应国际化的使用场景
- 优化了代码结构,删除了未使用的导入语句
- 更新了作者信息
@future0923 future0923 merged commit 180c76d into java-hot-deploy:main Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants