主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Artemy Pestretsov
活动总数
10
最后的活动
2024年07月03日 08:25
成员加入日期
2023年09月20日 10:42
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
3
活动概览
文章(0)
帖子(0)
评论(7)
按最近的活动排序
最近的活动
投票数
创建于
2024年04月02日 17:31
It will have some autocomplete and some inspections:
社区
IntelliJ IDEA Open API and Plugin Development
Injecting PHP in HTML in PHP files
1 票
创建于
2024年04月02日 17:15
This will look like:
社区
IntelliJ IDEA Open API and Plugin Development
Injecting PHP in HTML in PHP files
1 票
已编辑于
2024年04月02日 17:15
Hi yoskaldyr ! This is indeed possible, however it won't be exactly the same quality in terms of user experience than using regular <?php …… ?> tagsIf you still want to proceed with <php></php> tag...
社区
IntelliJ IDEA Open API and Plugin Development
Injecting PHP in HTML in PHP files
1 票
创建于
2024年07月03日 08:25
Hi javanoob ! The correct way of working with types in PhpStorm plugins is usually by calling getType().global(project) . Please try it and come back if you need further help!
社区
IntelliJ IDEA Open API and Plugin Development
I do not get the correct Returntype for the PHP method?
0 票
已编辑于
2024年04月03日 07:55
It is not possible out of the box. resolve/autocomplete/inspections should work fine with definitions from other files, but probably will struggle within one file. You could try to hack over those ...
社区
IntelliJ IDEA Open API and Plugin Development
Injecting PHP in HTML in PHP files
0 票
创建于
2023年09月20日 10:42
Hi, Prihod! We have a set of API to allow to add libraries from plugins, please check out `com.jetbrains.php.config.library.PhpLibraryRoot`, `com.jetbrains.php.config.library.PhpLibraryRoot#EP_NAM...
社区
IntelliJ IDEA Open API and Plugin Development
phpstorm Dynamically creating an external library
0 票
创建于
2024年04月03日 11:57
Oh, ok, I see. This is the limitation of injected fragments right now. But you can extend existing facilities through respective APIs (extension points)
社区
IntelliJ IDEA Open API and Plugin Development
Injecting PHP in HTML in PHP files
-1 票