主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Brandon Fergerson
活动总数
85
最后的活动
2024年01月12日 17:46
成员加入日期
2019年05月19日 18:22
关注
0 名用户
关注者数
0 名用户
投票数
7
订阅数
21
活动概览
帖子(18)
评论(39)
按最近的活动排序
最近的活动
投票数
已编辑于
2022年06月07日 15:27
Thanks for the response. I guessed that was expected behavior. Apologies if I'm being dense, but what then is the recommended way to get the opened project for dynamic plugins? The link you provide...
社区
IntelliJ IDEA Open API and Plugin Development
Dynamic plugin using ProjectManagerListener
0 票
已编辑于
2022年06月02日 13:43
That's what I'm saying, the project was opened before installing the plugin. If I close the project and open it again it works fine. I'd like to know how to trigger the listener if someone installs...
社区
IntelliJ IDEA Open API and Plugin Development
Dynamic plugin using ProjectManagerListener
0 票
创建于
2022年04月23日 12:42
Just regular Java. The picture above shows me creating a Java file outside the src directory and it allows me to input bad Java. Here is a similar file inside the src directory: Now it correctly s...
社区
IntelliJ IDEA Open API and Plugin Development
Add inspections/dependencies to file outside src
0 票
创建于
2022年04月21日 18:14
Essentially, yes. My plugin adds gutter and inlay marks to source code based on predefined criteria embedded in the plugin. My idea is to open this open so developers can define their own criteria ...
社区
IntelliJ IDEA Open API and Plugin Development
Add inspections/dependencies to file outside src
0 票
已编辑于
2022年04月21日 14:26
Thanks for your response, but I'm not sure you've understood the goal behind my request. I'm not looking for this source code file to be a part of the main application as I don't want it to share t...
社区
IntelliJ IDEA Open API and Plugin Development
Add inspections/dependencies to file outside src
0 票
已编辑于
2022年03月19日 16:21
Turns out I don't need to use reflection, I can get my presentation via: editor.inlayModel.getBlockElementsInRange(0, editor.document.textLength).forEach { if (it.renderer is BlockInlayRenderer)...
社区
IntelliJ IDEA Open API and Plugin Development
Remove inlay created through InlayHintsSink
0 票
已编辑于
2022年03月19日 07:47
The above is similar to how I was planning on implementing this via reflection. Using InlayHintsSink I'm only able to provide a InlayPresentation. This automatically gets wrapped in a BlockInlayRen...
社区
IntelliJ IDEA Open API and Plugin Development
Remove inlay created through InlayHintsSink
0 票
已编辑于
2022年03月18日 14:47
Thanks for the improved solution, but I think I should have been a bit more specific. That approach removes all inlays and I'm only interested in removing specific inlays. Is there a way to add som...
社区
IntelliJ IDEA Open API and Plugin Development
Remove inlay created through InlayHintsSink
0 票
创建于
2022年03月11日 14:07
Thanks Dmitry, the elements.parents(true) solution seems to be the easiest to understand/implement. The only change I made was to filter on KtBlockExpression instead of KtNamedFunction. This allows...
社区
IntelliJ IDEA Open API and Plugin Development
Getting declared variables within Kotlin scope
0 票
创建于
2022年03月04日 14:47
Hi Karol, I tried using PsiTreeUtil.treeWalkUp which belongs to platform-api.jar, but it has the same effect. Looking closer, it seems most (if not all) Kotlin elements do not implement processDecl...
社区
IntelliJ IDEA Open API and Plugin Development
Getting declared variables within Kotlin scope
0 票
«
第一页
‹
上一页
下一页
›
最后
»