File tree Expand file tree Collapse file tree
java/io/maliboot/devkit/hyperf/common
kotlin/io/maliboot/devkit/idea/lombok/codeInsight Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11IntelliJ IDEA / PhpStorm Hyperf Plugin
22========================
3- [ toc]
43
54| Key | Value |
65| ------------| -------------------------------------------|
7- | Plugin Url | https://plugins.jetbrains.com/plugin/23007 |
6+ | Plugin Url | https://plugins.jetbrains.com/plugin/23164 |
87| ID | ` io.maliboot.www.hyperf ` |
98| Changelog | [ CHANGELOG] ( CHANGELOG.md ) |
109<!-- Plugin description -->
@@ -14,11 +13,11 @@ This is a PHPStorm plugin that provides support for the hyperf framework/compone
1413# 简介
1514这是一个对` hyperf ` 框架/组件、或者依赖` hyperf组件 ` 的第三方` vendor ` 扩展包,提供功能支持的` PHPStorm ` 插件。
1615
17- [ 功能介绍 ] ( https://github.com/maliboot/idea-hyperf-plugin/blob/master/README.md )
16+ [ 功能介绍传送门 ] ( https://github.com/maliboot/idea-hyperf-plugin/blob/master/README.md )
1817<!-- Plugin description end -->
1918
2019# Install
21- * 通过插件市场安装 [ Hyperf Booster] ( https://plugins.jetbrains.com/plugin/23007 ) ` Settings -> Plugins -> Browse repositories `
20+ * 通过插件市场安装 [ Hyperf Booster] ( https://plugins.jetbrains.com/plugin/23164 ) ` Settings -> Plugins -> Browse repositories `
2221* 通过本地磁盘安装 [ Hyperf Booster] ( https://github.com/maliboot/idea-hyperf-plugin/releases ) ` Settings -> Plugins -> Install Plugin from Disk... ` ,插件jar包可以在[ release] ( https://github.com/maliboot/idea-hyperf-plugin/releases ) 页面找到
2322* 预览版本只能通过[ release] ( https://github.com/maliboot/idea-hyperf-plugin/releases ) 页面安装,里面包含了一些正在测试中的功能
2423
Original file line number Diff line number Diff line change 11pluginGroup = io.maliboot.devkit
22pluginName = Hyperf Booster
3- pluginVersion = 1.0.1
3+ pluginVersion = 1.1.0
44pluginRepositoryUrl = https://github.com/maliboot/idea-hyperf-plugin
55
6- pluginSinceBuild = 231
7- pluginUntilBuild =
6+ pluginSinceBuild = 241.*
7+ pluginUntilBuild = 242.*
88
99platformType = PS
1010platformVersion = 2024.2.5
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import com.intellij.openapi.editor.Editor
55import com.intellij.psi.PsiElement
66import com.intellij.psi.PsiFile
77import com.intellij.psi.SmartPointerManager
8- import com.intellij.refactoring.suggested.endOffset
8+ import com.intellij.psi.util.startOffset
99import com.jetbrains.php.lang.psi.elements.PhpClass
1010import io.maliboot.devkit.idea.common.LombokBundle
1111import io.maliboot.devkit.idea.lombok.psi.FakePsiPhpMethod
@@ -34,9 +34,10 @@ class MethodInlayProvider : InlayHintsProvider {
3434 if (fakeMethodEntry.generatedByFQN != field.fqn) {
3535 continue
3636 }
37+
3738 sink.addPresentation(
38- position = InlineInlayPosition (field.endOffset + 1 , true ),
39- hasBackground = false
39+ position = InlineInlayPosition (field.startOffset + field.textLength + 1 , true ),
40+ hintFormat = HintFormat .default
4041 ) {
4142 text(
4243 fakeMethodEntry.getFeatureName(),
You can’t perform that action at this time.
0 commit comments