File tree Expand file tree Collapse file tree 5 files changed +16
-4
lines changed
kotlin/com/github/dcsmf/plugin/formatmethods/settings Expand file tree Collapse file tree 5 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# intellij-format-methods-plugin Changelog
4
4
5
+ ## [ 1.0.6] (2023/09/28)
6
+ - Add plugin settings, now you can customize the sort by
7
+ - 新增插件设置,你可以自定义排序依据了
8
+
5
9
## [ 1.0.5] (2023/06/25)
6
10
- Clean up some excess code
7
11
- Resolve the ` com.intellij.serviceContainer.AlreadyDisposedException ` caused
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pluginGroup = com.github.dcsmf.intellijformatmethodsplugin
4
4
pluginName = FormatMethodPyramid
5
5
pluginRepositoryUrl = https://github.com/dcsmf/intellij-format-methods-plugin
6
6
# SemVer format -> https://semver.org
7
- pluginVersion = 1.0.5
7
+ pluginVersion = 1.0.6
8
8
9
9
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
10
10
pluginSinceBuild = 201
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ class AppSettingsConfigurable(project: Project) : BoundConfigurable(message("set
14
14
15
15
override fun createPanel (): DialogPanel {
16
16
return panel {
17
+ row{
18
+ label(message(" note" ))
19
+ }
17
20
titledRow(message(" group1" )) {
18
21
row {
19
22
label(message(" methodExample" ))
@@ -48,6 +51,7 @@ class AppSettingsConfigurable(project: Project) : BoundConfigurable(message("set
48
51
row {
49
52
checkBox(
50
53
message(" methodName" ),
54
+ comment = message(" methodNameLabel" )
51
55
).withSelectedBinding(
52
56
PropertyBinding ({ appSettingsState.methodName },
53
57
{ value -> appSettingsState.methodName = value })
Original file line number Diff line number Diff line change @@ -11,4 +11,6 @@ returnTypeLabel=like "void"
11
11
settingName =FormatMethods Settings
12
12
throws =throws
13
13
throwsLabel =like " throws Exception"
14
- methodExample =example: public <T> void myMethod(int a, int b) throws Exception
14
+ methodExample =Method style reference: public <T> void myMethod(int a, int b) throws Exception
15
+ note =<html><b>Note:</b> If all are unchecked, the <b>method name</b> sorting is used by default</html>
16
+ methodNameLabel =like " myMethod"
Original file line number Diff line number Diff line change 1
1
genericTypeParameter =\u6CDB\u578B\u7C7B\u578B\u53C2\u6570
2
2
genericTypeParameterLabel =\u5982\u5728\u6807\u8BC6\u7B26\u540E\u7684 " T"
3
3
group1 =\u6839\u636E...\u6392\u5E8F
4
- methodName =\u51FD\u6570 \u540D
4
+ methodName =\u65B9\u6CD5 \u540D
5
5
modifier =\u6807\u8BC6\u7B26
6
6
modifierLabel =\u5982 " public"
7
7
parameters =\u53C2\u6570\u5217\u8868
@@ -11,4 +11,6 @@ returnTypeLabel=\u5982 "void"
11
11
settingName =\u91D1\u5B57\u5854\u683C\u5F0F\u5316\u65B9\u6CD5\u8BBE\u7F6E
12
12
throws =\u5F02\u5E38\u629B\u51FA
13
13
throwsLabel =\u5982 " throws Exception"
14
- methodExample =\u4F8B\u5B50\uFF1Apublic <T> void myMethod(int a, int b) throws Exception
14
+ methodExample =\u65B9\u6CD5\u6837\u5F0F\u53C2\u8003\uFF1Apublic <T> void myMethod(int a, int b) throws Exception
15
+ note =<html><b>\u63D0\u793A\uFF1A</b>\u5168\u90E8\u53D6\u6D88\u52FE\u9009\uFF0C\u5219\u9ED8\u8BA4\u4F7F\u7528 <b>\u65B9\u6CD5\u540D</b> \u8FDB\u884C\u6392\u5E8F</html>
16
+ methodNameLabel =\u5982 " myMethod"
You can’t perform that action at this time.
0 commit comments