主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Artem Khvastunov
活动总数
142
最后的活动
2022年12月01日 09:21
成员加入日期
2017年04月21日 10:34
关注
0 名用户
关注者数
0 名用户
投票数
6
订阅数
51
活动概览
文章(0)
帖子(0)
评论(85)
按最近的活动排序
最近的活动
投票数
创建于
2017年06月09日 09:33
Please check that php-openapi.jar has a provided scope. It seems it's included in your plugin but it shouldn't be because it's provided by PhpStorm itself.
社区
IntelliJ IDEA Open API and Plugin Development
PHP Psi Elements comparison not working
0 票
已编辑于
2017年06月09日 08:27
正式评论
Hi Nicolas, I'd recommend you to put a breakpoint and take a look at runtime what you get as a parent. Alternatively, you can write something like this println(element.parent.javaClass)
社区
IntelliJ IDEA Open API and Plugin Development
PHP Psi Elements comparison not working
0 票
已编辑于
2017年05月27日 15:50
The next code snippet should help you. InjectedLanguageManager.getInstance(psiElement.getProject()).isInjectedFragment(psiElement.getContainingFile()) P.S. Also, as we both now know that I'm bad in...
社区
IntelliJ IDEA Open API and Plugin Development
Recognizing html tag inside of php string
0 票
已编辑于
2017年05月27日 15:42
正式评论
I don't know how do you find HTML tags but I try to guess and would suggest you to work with XmlFile instead of PhpFile. final FileViewProvider viewProvider = phpFile.getViewProvider();final PsiFil...
社区
IntelliJ IDEA Open API and Plugin Development
Recognizing html tag inside of php string
0 票
已编辑于
2017年05月26日 08:10
The first thing you should do is to use TextFieldWithAutoCompletion#installProvider instead of TextFieldWithAutoCompletion#setVariants. Implementing TextFieldWithAutoCompletionListProvider will all...
社区
IntelliJ IDEA Open API and Plugin Development
[PhpStorm] Get All FQN class Names
0 票
已编辑于
2017年05月22日 10:02
正式评论
Hi Enrique, Depending on what you want to achieve, your code could look something like this final List<PhpClass> result = new ArrayList<>();final PhpIndex index = PhpIndex.getInstance(project);fina...
社区
IntelliJ IDEA Open API and Plugin Development
[PhpStorm] Get All FQN class Names
0 票
已编辑于
2017年05月15日 16:26
Well, I had to mention it from the very beginning. In general, it's not a good idea to insert PHP PSI elements into an HTML tree. Instead, you should just put your text directly into a document. It...
社区
IntelliJ IDEA Open API and Plugin Development
How to insert php-statement into html tag ?
0 票
创建于
2017年05月11日 11:16
正式评论
> But I can't create PsiElement with text "<?=SomeClass::getSomeString(); ?>" :( This is because the string consists of actually 4 PsiElements: an opening tag, an echo statement, a white space, and...
社区
IntelliJ IDEA Open API and Plugin Development
How to insert php-statement into html tag ?
0 票
已编辑于
2017年05月08日 10:14
正式评论
PhpPsiElementFactory is located in php.jar. While it's an internal class and subject to change, you can still use it. final String text = "$qb->addSelect('a');";final Statement statement = PhpPsiEl...
社区
IntelliJ IDEA Open API and Plugin Development
PHPstorm plugin create statement
0 票
创建于
2017年04月21日 10:34
正式评论
Hi David, Does the plugin you develop have any dependencies on the PHP plugin libraries? You can find them under File | Project Structure | Modules | Dependencies. If yes do they have the "Provided...
社区
IntelliJ IDEA Open API and Plugin Development
Problem casting PsiFile to PhpFile in PhpStorm
0 票
«
第一页
‹
上一页