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:

1015 questions
66
votes
7 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…
mmm
  • 18,431
  • 26
  • 99
  • 165
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
  • 27,423
  • 26
  • 110
  • 190
39
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
  • 2,260
  • 3
  • 24
  • 43
35
votes
4 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
  • 483
  • 1
  • 4
  • 12
34
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
  • 2,363
  • 4
  • 20
  • 29
28
votes
6 answers

IntelliJ IDEA global environment variable configuration

I need to use an envirnoment 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,051
  • 5
  • 38
  • 70
26
votes
2 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
  • 34,284
  • 19
  • 101
  • 142
24
votes
1 answer

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
  • 7,967
  • 8
  • 55
  • 79
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,672
  • 5
  • 25
  • 38
24
votes
9 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,115
  • 1
  • 11
  • 28
21
votes
2 answers

IntelliJ Idea: how to expose classes, interfaces, annotations in developed plugins

I have created a plugin for IntelliJ Idea. In the plugin I have defined an annotation I want to use in my projects, but it doesn't seem to be accessible. How should I specify in the plugin.xml file the packages I want to expose?
lowcoupling
  • 1,961
  • 5
  • 30
  • 52
20
votes
2 answers

IntelliJ IDEA plugin development - Log from within plugin

How can I log something for debugging purpose from within a IntelliJ plugin? (I'm not using Community Edition)
Alireza Mirian
  • 3,995
  • 2
  • 23
  • 45
20
votes
1 answer

IntelliJ IDEA Plugin Development: Save groups of tabs, save them persistently and reload a set of tabs if requested by the user

I am currently at the move to write an IntelliJ plugin. I want to be able to store/restore a set of tabs to switch between different tab sessions (comparable to browser plugins like Session Manager or Session Buddy). Therefore i need basically three…
Alp
  • 27,423
  • 26
  • 110
  • 190
19
votes
4 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…
18
votes
1 answer

Intellij, how to disable the incredibly slow animation of tool windows

Is there a way to make intellij a bit snappier and not animate the tool windows? It's incredibly slow as it is, and not very useful.
mmm
  • 18,431
  • 26
  • 99
  • 165
1
2 3
67 68