Skip to content

Commit 0921c58

Browse files
authored
Merge pull request #7 from maliboot/2024.x
适配PHPStorm-243.*
2 parents 8ed5585 + 9aa4f9b commit 0921c58

3 files changed

Lines changed: 17 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
# Changelog
44
<hr>
55

6+
## [1.1.1] - 2025-04-28
7+
### Added
8+
- Nothing
9+
10+
### Removed
11+
- 去除旧版本不兼容api相应的功能
12+
13+
### Changed
14+
- 适配PHPStorm-243.*
15+
<hr>
16+
617
## [1.1.0] - 2025-04-27
718
### Added
819
- Nothing

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pluginGroup = io.maliboot.devkit
22
pluginName = Hyperf Booster
3-
pluginVersion = 1.1.0
3+
pluginVersion = 1.1.1
44
pluginRepositoryUrl = https://github.com/maliboot/idea-hyperf-plugin
55

66
pluginSinceBuild = 241.19416.23

src/main/kotlin/io/maliboot/devkit/idea/lombok/codeInsight/MethodInlayProvider.kt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ class MethodInlayProvider : InlayHintsProvider {
3737

3838
sink.addPresentation(
3939
position = InlineInlayPosition(field.startOffset + field.textLength + 1, true),
40-
hintFormat = HintFormat.default
40+
tooltip = fakeMethodEntry.getDocumentation(),
41+
hintFormat = HintFormat.default.withHorizontalMargin(HintFormat.default.horizontalMarginPadding)
4142
) {
4243
text(
4344
fakeMethodEntry.getFeatureName(),
4445
InlayActionData(
4546
PsiPointerInlayActionPayload(
46-
SmartPointerManager.getInstance(element.project) .createSmartPsiElementPointer(fakeMethodEntry)
47-
), LombokBundle.message("lombok.method.inlay.handler")
47+
SmartPointerManager.getInstance(element.project).createSmartPsiElementPointer(fakeMethodEntry)
48+
),
49+
PsiPointerInlayActionNavigationHandler.HANDLER_ID
4850
)
4951
)
5052
}

0 commit comments

Comments
 (0)