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
22
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
  • 5,862
  • 3
  • 29
  • 48
22
votes
2 answers

Ideavim Folding and Expanding Code Blocks

What is the key binding for folding and expanding code blocks in ideavim plugin ? (za works in vrapper for eclipse , but not in ideavim )
amin
  • 3,672
  • 5
  • 33
  • 61
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
  • 2,151
  • 6
  • 35
  • 53
21
votes
4 answers

How to import and run existing plugins from intellij community edition repo

I'm trying to import and run the IntelliJ git4idea (Git Integration) plugin in order to play around and contribute some of my own code. I've pulled the Intellij community edition from the github repo, and imported the git4idea plugin as a project.…
OpherV
  • 6,787
  • 6
  • 36
  • 55
21
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
  • 29,274
  • 27
  • 120
  • 198
19
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.
mjs
  • 21,431
  • 31
  • 118
  • 200
19
votes
9 answers

IntelliJ IDEA: Cannot import SBT project

I'm completely new to development using Play or IntelliJ for that matter. I've created a simple HelloWorld application using Activator, and this is an sbt project. I've been trying to import this to IntelliJ and this is the screen I'm stuck…
Ashesh
  • 2,978
  • 4
  • 27
  • 47
19
votes
4 answers

List all gradle dependencies with their licences

I want to list all maven dependencies (including transitive ones) of my gradle build with their licenses. Is this possible with the IntelliJ gradle plugin? If yes, how? Alternatively a gradle command line instruction would be sufficient, too.
Matthias Kricke
  • 4,931
  • 4
  • 29
  • 43
18
votes
1 answer

Use JavaFX to develop Intellij IDEA plugin UI

As a result of a custom Intellij action plugin developer can popup a dialog window with a custom UI. I am developing UI using JavaFX embedded into Swing panel. JavaFX wise everything works fine. The problem is plugin class loader. It can't find any…
Mykola Golubyev
  • 57,943
  • 15
  • 89
  • 102
17
votes
6 answers

How to get both absolute and relative line numbers in ideavim for IntelliJ?

I am using IntelliJ IDE for my projects and just installed ideamvim plugin. In the .ideavimrc I added this property set rnu with this property I get relative line numbers in my files in intellij which is amazing. But can I ALSO get absolute line…
theprogrammer
  • 1,698
  • 7
  • 28
  • 48
16
votes
4 answers

Create a background task in IntelliJ plugin

I'm developing an IntelliJ-idea plugin and want to run code in background task (visible in the background tasks dialog and in another thread than the UI). I found the following Helper class and tried it by passing a Runnable object and implement its…
Mahmoud Adam
  • 5,772
  • 5
  • 41
  • 62
15
votes
2 answers

Is there a way to enable/disable Intellij IdeaVim plugin using keyboard shortcut?

I am using IdeaVim in Intellij as I can't really get over modular editing. But there are times when I just want it completely disabled (like when a coworker shows me something on my computer). I know it can be disabled through the plugin manager by…
FLPP
  • 153
  • 1
  • 5
14
votes
1 answer

How to open temporary/preview tab in intellij Idea

I like VS Code and sublime editor and in particular their default behaviour of preview the file. When you single click on a file from file explorer pan, it would open it in a temporary tab, unless a change is made in the file or opened with a double…
fusionstrings
  • 1,025
  • 2
  • 13
  • 23
13
votes
7 answers

IDEA plugin 'github copilot' can't login in github

My IDEA plugin, GitHub copilot, can't login in GitHub. It is wating for GitHub Authentication... But! My VSCode can login in successfully.
曹培胜
  • 133
  • 1
  • 1
  • 7
13
votes
8 answers

Plugin 'flutter' is incompatible with this installation Android Studio 3.6.3

I am trying to install flutter and dart into Android studio and for reasons beyond my comprehension i cannot use the plugins marketplace online so i have to download the plugins manually by the browser from the marketplace and add the plugins from…
EvilNeo
  • 313
  • 1
  • 3
  • 7
1
2
3
85 86