Questions tagged [intellij-plugin]

Plugin Development for IntelliJ-based IDEs

The IntelliJ Platform SDK is an OSS platform developed by JetBrains for creating language-aware developer tools, plugins, and custom IDEs.

The API provides support for custom languages and frameworks, including syntax highlighting, navigation, code completion, inspections, intentions, refactorings, a debugger, test runners, tool windows, actions, and more, as well as general lexers and parsers.

Resources:

1290 questions
77
votes
8 answers

Intellij, project navigation. Expand all folder and file tree

Is it possible to expand the entire project tree in Intellij? I would like to do this so I can more easily search the structure and jump back and forth between files and folders. I know of double shift, and CTRL+SHIFT+N, but that is not what I am…
mjs
  • 21,431
  • 31
  • 118
  • 200
54
votes
7 answers

Can't render component diagram with PlantUML in IntelliJ

I am trying to create a component diagram using the PlantUML plugin for IntelliJ. I have installed the plugin and worked with it before. However, when I try to render a component diagram, I get an error: Cannot find Graphviz I've also checked…
Yedidya kfir
  • 1,419
  • 3
  • 17
  • 32
50
votes
6 answers

Save state of object in IntelliJ debug?

Does anyone know whether it is possible to save the state of an object while debugging? I would like to compare the state of an object in two different execution cycles. Bonus Question: Anyone with experience in writing IntelliJ plugins? Does the…
Moritz Schmitz v. Hülst
  • 3,229
  • 4
  • 36
  • 63
47
votes
1 answer

Retrieving and setting split window settings for IntelliJ IDEA plugin development

I am writing an IntelliJ IDEA plugin for saving sessions of open tabs called Tab Session. This question is a follow-up of IntelliJ IDEA Plugin Development: Save groups of tabs, save them persistently and reload a set of tabs if requested by the…
Alp
  • 29,274
  • 27
  • 120
  • 198
45
votes
3 answers

How do you set a value in the IntelliJ Registry?

How can I override a value that is used internally in IntelliJ, for example this expression: Registry.intValue("a.b.c") I can access the registry Registry.getInstance() but it doesn't allow updating any key/value pairs. Any tips?
vikingsteve
  • 38,481
  • 23
  • 112
  • 156
43
votes
6 answers

After updating to Android Studio Arctic Fox, I cannot use any custom theme

After updating to Android Studio Arctic Fox, I cannot choose any of my installed themes. Invalid cache and restart didn't help ;) Also reinstalling themes still not solving this problem. I updated AS 4.2 to Arctic Fox using Toolbox on the stable…
43
votes
10 answers

IntelliJ IDEA global environment variable configuration

I need to use an environment variable in all of my idea run configurations. I currently use run->edit configurations->and then enter the env variables in selected configuration. However, that's very tedious when I need to run isolated test scenarios…
Ben
  • 3,989
  • 9
  • 48
  • 84
40
votes
5 answers

How to go back in PyCharm while browsing code like we have a back button in eclipse?

While browsing the code in PyCharm(community edition) how to go back to the previously browsed section? I am looking for eclipse back button type functionality with Pycharm.
timedout
  • 541
  • 1
  • 4
  • 12
38
votes
3 answers

Attaching Gradle sources in IntelliJ IDEA

Once after I create a Gradle project in IntelliJ using the default gradle wrapper and create directories option I see the project structure gets created with build.gradle file. IntelliJ tips me to "You can configure Gradle wrapper to use…
John Jai
  • 3,463
  • 6
  • 25
  • 32
33
votes
12 answers

Where is the plugin folder for Android Studio on Mac

I have installed a plugin which now crashes my Android Studio on start. Does someone know where Android Studio stores its downloaded plugin files, so I can delete it manually?
JimVanB
  • 1,215
  • 1
  • 13
  • 29
30
votes
1 answer

IntelliJ IDEA: Enable Annotation processors by default

How can I configure IntelliJ IDEA to have Annotation processors enabled by default? Currently, I have to enable it manually for every imported project.
Andrii Abramov
  • 10,019
  • 9
  • 74
  • 96
27
votes
2 answers

Why to use @AllArgsConstructor and @NoArgsConstructor together over an Entity?

I have seen multiple codes online on applications of Spring Boot in IntelliJ, and many use both @AllArgsConstructor and @NoArgsConstructor together and both are constructors however the purpose of each is different - @AllArgsConstructor generates a…
NIKITA RATH
  • 354
  • 1
  • 3
  • 12
27
votes
5 answers

Extremely slow in autocompletion & code analysis for Kotlin projects in Intellij IDEA

We have a project on IDEA that consists of a couple med sized Java packages and one very small Kotlin package (5 files). I noticed performance is fine with any Java packages, but it's 10x slower in autocompletion, code analysis and compilation for…
24
votes
2 answers

How to configure antlr4 plugin for Intellij IDEA

I looked all over the place for how to configure the antlr4 plugin for IntelliJ IDEA. But I can't find anything. I was only able to install the plugin. If I add .g4 files manually for a empty project I get the "Generate ANTLR Recognizer" option in…
Morpheus
  • 1,722
  • 5
  • 27
  • 38
22
votes
3 answers

lombok @Data complains "lombok needs a default constructor in the base class", when abstract class having final field

@Data public abstract class B { private final String str; } @Data public class A extends B{ private final String s; } Data on class A complains in intellij, but the codes can get compiled successfully through command line, not sure what to…
Richard
  • 223
  • 1
  • 2
  • 5
1
2 3
85 86