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
13
votes
1 answer

SBT project refresh failed [IntelliJ, Scala, SBT]

Whenever I try to enable auto-import in IntelliJ it always gives me this error: SBT 'Example' project refresh failed Error while importing SBT project: ... [warn] ==== public: tried [warn] …
sarah
  • 131
  • 1
  • 1
  • 3
13
votes
2 answers

Intellij Completion Contributor

I am developing a plugin for intellij and I want to add custom suggestions to xml editor based on a xsd. Up to now I can get required suggestions from xsd file. I have implemented a completion contributor for xml as follows import…
12
votes
1 answer

Pin & recoverWhile in a .bnf (Parsing)

I've searched the internet far and wide (for at least half a day now) and I can't seem to find the answers needed. Currently I'm trying to create a .bnf-file for an IntelliJ-Plugin with custom language support. A few tutorials mention the existance…
Fuchs
  • 133
  • 6
12
votes
1 answer

How do I "register" a new Module Type in an IntelliJ Plugin?

I am a beginner when it comes to IntelliJ plugin development but i want my plugin to register a new Module Type in the "New Project" / "New Module" windows. I already searched through the Documentation for plugin developers but wasn't able to find…
mojomex
  • 139
  • 1
  • 12
12
votes
2 answers

How to specify library dependencies for an IntelliJ IDEA plugin?

I am developing a plugin for IntelliJ IDEA. The way I am going about this is by creating a plugin project in IDEA, then packaging this into a jar with appropriate META-INF/plugin.xml, and installing the plugin from the jar. The problem is that I…
Owen
  • 38,836
  • 14
  • 95
  • 125
12
votes
3 answers

Is there a separate FindBugs plug-in for Android Studio?

According to this, FindBugs supports several IDEs as a plug-in, including IntelliJ-Idea, on which Droidio (Android Studio) is based. So does this mean that the IntelliJ-Idea plug-in can be installed into Droidio, or is there a distinct one somewhere…
12
votes
1 answer

Create Intellij IDEA plugin. Store plugin settings

I am new at IDEA plugin development and I have a plugin that I need to support. Now there are some settings for this plugin. I want to create settings that will be stored at the project level, but I don't know how to do this. I have created the UI…
Georgy Gobozov
  • 13,633
  • 8
  • 72
  • 78
11
votes
2 answers

How to test a intellij plugin

Documentation on Intellij plugin development is scarce. If you have written any Intellij plugin, how did you write tests for plugin? Any pointer to documentation or source code is appreciated.
Journeyman Programmer
  • 1,346
  • 1
  • 9
  • 15
11
votes
4 answers

How to check if thread holds the monitor in IntelliJ?

While working on IntelliJ , I am unable to check that if the thread is holding the lock or not. On eclipse GUI there is a lock like icon against the thread , telling us that it is holding that lock. In below code snapshot, my thread is at…
T-Bag
  • 10,916
  • 3
  • 54
  • 118
11
votes
5 answers

Lombok @Builder not recognised by IntelliJ

I updated IntelliJ IDEA to version 2018.2.7, and Lombok's @Builder annotation is not recognised anymore. The project already had Lombok annotations, which worked fine with previous (2017...) version of IntelliJ. Only @Builder is failing. I am using…
Laguh
  • 621
  • 2
  • 10
  • 23
11
votes
0 answers

Intellij Idea plugin: What's the method call to Resolve a Kotlin reference

I'm writing an Intellij plugin in Kotlin for Java and Kotlin files. The following code works for Java files: val node: ASTNode .... val referencedFieldElement = node.psi.reference!!.resolve() But it doesn't work for Kotlin files because there is no…
vovahost
  • 34,185
  • 17
  • 113
  • 116
11
votes
3 answers

IntelliJ is very slow when handling big files

I'm using Guidewire development Studio (IntelliJ-based IDE), and it is very slow when handling big text files (~ 1500 lines and above). I tried with an out-of-the-box community IntelliJ as well, but meet the same problem. When I open those files, it…
Hoàng Long
  • 10,746
  • 20
  • 75
  • 124
10
votes
2 answers

How to write an IntelliJ IDEA Plugin?

IDEA has many plugins to use. I.e. IDEtalk is one of them which I use. How can I code a simple plugin that just connects to Internet and shows a web page? (no need for an address bar but it is not a problem to be). I want my plugin's shortcut's …
kamaci
  • 72,915
  • 69
  • 228
  • 366
10
votes
1 answer

Log Colors on IntelliJ Run Console

Having problems to see the colors for logs on the IntelliJ Run Console (windows). Through Cygwin run, I see logs have different colors, e.g: On the IntelliJ run Console, same logs show without any colors:
Al-Punk
  • 3,531
  • 6
  • 38
  • 56
10
votes
1 answer

How do I debug a python container in intellij?

The docker plugin has a debug port for connecting to a container I have a python application, but according to the docs the debug port is only supported for java. How can I set breakpoints and debug my python container in intellij? Is there some…
red888
  • 27,709
  • 55
  • 204
  • 392
1 2
3
85 86