主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Serhii Kachan
活动总数
47
最后的活动
2023年03月13日 12:54
成员加入日期
2022年10月17日 14:28
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
10
活动概览
帖子(10)
评论(27)
按最近的活动排序
最近的活动
投票数
创建于
2023年03月13日 12:54
Hi Karol!I was not able to debug `processElement()` so its never triggered.However I achieved my goal in `processText()`.Thank you for useful links, they were essential for me.
社区
IntelliJ IDEA Open API and Plugin Development
Custom string literal formatter
0 票
创建于
2023年03月08日 07:52
Hi Karol, no worries.When you talk about "debugging the formatting action". What in practice should I do? Can you suggest exact classes and methods to set breakpoints?About literal modification: Sh...
社区
IntelliJ IDEA Open API and Plugin Development
Custom string literal formatter
0 票
创建于
2023年03月06日 19:47
Karol Lewandowski thank you for the response!I see that there are two methods to implement.processElement() for some reason never gets triggered - what can be a problem?processText() does get trigg...
社区
IntelliJ IDEA Open API and Plugin Development
Custom string literal formatter
0 票
已编辑于
2022年11月10日 14:32
Yann Cebron Hi!I use PsiAugmentProvider in my plugin to generate some light elements in a class.The provider works with built-in logic that it can return a List of generated elements of a particula...
社区
IntelliJ IDEA Open API and Plugin Development
ServiceLoader alternative for plugin SDK
0 票
创建于
2022年10月26日 21:03
Got this working for methods, exactly what I was looking for: MethodReferencesSearch.search(method, method.getResolveScope(), true).iterator().hasNext() Thank you Karol Lewandowski
社区
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 票
已编辑于
2022年10月26日 16:06
Yes, it is called when usages are searched.Should I use this - is this the widest scope available? GlobalSearchScope.allScope(element.getProject()) EDIT:Also tried with this - neither worked for me ;(
社区
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 票
已编辑于
2022年10月26日 14:18
Just to skip all misunderstandings here is the example:I have a literal in code (lets imagine it works only for literals with value "I am literal"): When I Hold CTRL it resolves as it has a referen...
社区
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 票
创建于
2022年10月26日 12:45
Yes, I tried that as well, however with .findAll();But it always returns me empty collection
社区
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 票
已编辑于
2022年10月26日 11:56
Karol LewandowskiTried to implement this, but I don't get how to complete my validation... In my case it should return true if any reference leads to my element (please see comment in the code): pu...
社区
IntelliJ IDEA Open API and Plugin Development
How to check whether element ever referenced by custom reference
0 票
创建于
2022年10月25日 19:38
Karol LewandowskiIt worked like a charm, thank you so much for help provided. Topic can be closed ;)
社区
IntelliJ IDEA Open API and Plugin Development
Get usages in return from referenced element
0 票
下一页
›
最后
»