Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Brandon Fergerson
Total activity
85
Last activity
January 12, 2024 17:46
Member since
May 19, 2019 18:22
Following
0 users
Followed by
0 users
Votes
7
Subscriptions
21
Activity overview
Posts (18)
Comments (39)
Sort by recent activity
Recent activity
Votes
Edited
June 07, 2022 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...
Community
IntelliJ IDEA Open API and Plugin Development
Dynamic plugin using ProjectManagerListener
0 votes
Edited
June 02, 2022 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...
Community
IntelliJ IDEA Open API and Plugin Development
Dynamic plugin using ProjectManagerListener
0 votes
Created
April 23, 2022 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...
Community
IntelliJ IDEA Open API and Plugin Development
Add inspections/dependencies to file outside src
0 votes
Created
April 21, 2022 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 ...
Community
IntelliJ IDEA Open API and Plugin Development
Add inspections/dependencies to file outside src
0 votes
Edited
April 21, 2022 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...
Community
IntelliJ IDEA Open API and Plugin Development
Add inspections/dependencies to file outside src
0 votes
Edited
March 19, 2022 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)...
Community
IntelliJ IDEA Open API and Plugin Development
Remove inlay created through InlayHintsSink
0 votes
Edited
March 19, 2022 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...
Community
IntelliJ IDEA Open API and Plugin Development
Remove inlay created through InlayHintsSink
0 votes
Edited
March 18, 2022 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...
Community
IntelliJ IDEA Open API and Plugin Development
Remove inlay created through InlayHintsSink
0 votes
Created
March 11, 2022 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...
Community
IntelliJ IDEA Open API and Plugin Development
Getting declared variables within Kotlin scope
0 votes
Created
March 04, 2022 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...
Community
IntelliJ IDEA Open API and Plugin Development
Getting declared variables within Kotlin scope
0 votes
«
First
‹
Previous
Next
›
Last
»