Skip to content

Commit

Permalink
feat: 5.0.6 预发发布
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Apr 7, 2023
1 parent 8a2cff8 commit 2eb9003
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion mybatis-idea-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ allprojects {
}

group 'com.plugins.mybaitslog.idea.plugin'
version '5.0.5'
version '5.0.6'

dependencies {
compileOnly 'org.jetbrains:annotations:24.0.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static class Idea {
public static final Map<String, String> ColorMap = new HashMap<String, String>() {{
put("select", "42,199,180");
put("update", "158,190,92");
put("delect", "231,29,54");
put("delete", "231,29,54");
put("insert", "97,163,172");
put("other", "252,255,253");
}};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

/**
* console 窗口
*
* @author lk
* @version 1.0
* @date 2020/4/10 22:00
Expand Down Expand Up @@ -76,7 +77,7 @@ public JComponent getConsolePanel(final Project myProject) {
* 创建工具栏
*
* @param consolePanel 输出面板
* @param consoleView 输出窗口
* @param consoleView 输出窗口
* @return
*/
@NotNull
Expand All @@ -86,15 +87,16 @@ private ActionToolbar createActionToolbar(final Project project, JComponent cons
//启动filter配置
FilterSetting dialog = new FilterSetting(project);
dialog.pack();
dialog.setSize(520, 380);//配置大小
dialog.setResizable(false);
dialog.setSize(520, 390);//配置大小
dialog.setResizable(true);
dialog.setLocationRelativeTo(null);//位置居中显示
dialog.setVisible(true);
});
actionGroup.add(new ConsoleActionGroup.FilterAction());
actionGroup.add(consoleView.createConsoleActions()[2]);
actionGroup.addAll(consoleView.createConsoleActions());
/*actionGroup.add(consoleView.createConsoleActions()[2]);
actionGroup.add(consoleView.createConsoleActions()[3]);
actionGroup.add(consoleView.createConsoleActions()[5]);
actionGroup.add(consoleView.createConsoleActions()[5]);*/
return ActionManager.getInstance().createActionToolbar("EventLog", actionGroup, false);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public FilterSetting(Project project) {
this.excludeTable.setModel(myTableModel);

addOpensTextArea.setText(String.join("\n", Config.Idea.getAddOpens()));
String[] colorname = {"select", "update", "delect", "insert", "other"};
String[] colorname = {"select", "update", "delete", "insert", "other"};
for (String s : colorname) {
final MyColorButton myColorButton = new MyColorButton(Config.Idea.getColor(s));
myColorButton.addActionListener(e -> onColor(project, s, myColorButton));
Expand All @@ -74,7 +74,7 @@ public FilterSetting(Project project) {
case "update":
this.jpanel_update.add(myColorButton);
break;
case "delect":
case "delete":
this.jpanel_delect.add(myColorButton);
break;
case "insert":
Expand Down
7 changes: 6 additions & 1 deletion mybatis-idea-plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<vendor email="[email protected]" url="https://github.com/Link-Kou/intellij-mybaitslog">linkkou</vendor>

<!-- 插件版本 -->
<version>5.0.5</version>
<version>5.0.6</version>
<!-- please see https://confluence.jetbrains.com/display/IDEADEV/Build+Number+Ranges for description -->
<idea-version since-build="201"/>
<!-- 插件的描述 -->
Expand All @@ -26,6 +26,11 @@

<!-- 插件的功能 -->
<change-notes><![CDATA[
<ul>
<p>5.0.6</p>
<li>修复颜色设置bug</li>
<li>Fixed a color setting bug</li>
</ul>
<ul>
<p>5.0.5</p>
<li>参数转换JSON未经过对象复杂度判断</li>
Expand Down

0 comments on commit 2eb9003

Please sign in to comment.