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
10
votes
3 answers

Any Support for Matlab or octave in intellij

I code in Matlab/octave very often. While having several good features it lacks a good editor. My question is that is there any other good editor for it. My preference is intellij Idea, which is one the best IDEs I've ever tried. In this regard,…
Hamid
  • 253
  • 2
  • 11
10
votes
2 answers

How do I show a notification in IntelliJ?

Figured out how to show one of those little notification bubble messages in the top right of the screen, answer below.
Verdagon
  • 2,456
  • 3
  • 22
  • 36
10
votes
2 answers

IntelliJ Plugin Get Code From Current Open File

Basically, I want to know how to do this (Eclipse Plugin Get Code from Current Open File) in IntelliJ.
nrubin29
  • 1,522
  • 5
  • 25
  • 53
10
votes
2 answers

How can I perform the searches Java IDEs do for method references programmatically?

You know the find all references feature of eclipse (Search > References > Workspace or Ctrl-Shift-G)? How can I run that programmatically? I have a large codebase that I need to audit for security violations and need to chain about a dozen…
Steven
  • 2,189
  • 3
  • 15
  • 12
9
votes
2 answers

IntelliJ: what difference between "SBT Console" and "SBT Shell"?

In the IntelliJ I see two tool windows: SBT Console and SBT Shell. What is the difference between these tools?
den123
  • 793
  • 1
  • 12
  • 27
9
votes
1 answer

Programmatically get the version of an IntelliJ IDEA plugin

Is there a way to programmatically get the version of an IntelliJ IDEA plugin? I'm creating my own IntelliJ IDEA plugin, and I have set the version property in the plugin.xml(e.g.:3.1.1). I need to get the version to display in…
RoshFsk
  • 305
  • 2
  • 11
9
votes
3 answers

Log viewer with IntelliJ integration

I'm looking for a log viewer, the most interesting feature for me is integration with IntelliJ and opening log from remote servers. It can be IntelliJ plugin or standalone application.
Ivan Sas
  • 1,023
  • 2
  • 10
  • 14
8
votes
2 answers

IntelliJ IDEA GitLab integration

Does InteliJ IDEA has GitLab integration? I couldn't find any Merge Requests and Code Review management. May be some plugins are needed? Could you advice?
Andriy Kryvtsun
  • 3,220
  • 3
  • 27
  • 41
8
votes
2 answers

Is there a plugin similar to gitlens for pycharm or other products?

My question is very simple , as you read the title I want plugin similar to GitLens that I found in vscode. As you know with GitLens you can easily see the difference between two or multiple commits. I searched it up and I found GitToolBox but I…
Dragster
  • 97
  • 1
  • 7
8
votes
0 answers

Get indentation and alignment info from PsiWhiteSpace

Consider Java file with the following code (it can be any other language, we use Java as example): public class Foo { void foo(int x, int y) {} // line 4 } If IntelliJ is configured to use smart tabs, then line 4 will start with…
diralik
  • 6,391
  • 3
  • 28
  • 52
8
votes
1 answer

IntelliJ plugin: Access is allowed from event dispatch thread only

Hello Stack Overflow community. I'm writing a IntelliJ plugin that needs to write some text into an open editor by listening messages over a WebSocket. The thing is, that I'm getting an Access is allowed from event dispatch thread only exception…
Daniel Ramos
  • 2,115
  • 3
  • 18
  • 28
8
votes
3 answers

SuppressionCommentFilter is not allowed as a child in Checker"

Error: The Checkstyle rules file could not be parsed. SuppressionCommentFilter is not allowed as a child in Checker The file has been blacklisted for the 60s. Note: the Checkstyle version which I am using is 7.1.2. This is with a config that seems…
8
votes
2 answers

Intellij idea plugin development - hot reload?

I'm creating some plugin to intellij idea. Each time I'm changing code I need to re run app. Is there something like hot reload or similar thing? Or more efficient way?
Oskar Woźniak
  • 715
  • 2
  • 10
  • 25
8
votes
1 answer

Programmatically updating build.gradle in an intellij plugin

I am writing a plugin for intellij and I would like to programmatically alter the build.gradle file of an Intellij Project. I want to add sourceSets { resources { srcDir 'src/resources' } } inside the android object in the…
Karim
  • 247
  • 4
  • 11
8
votes
2 answers

How to use gradle in intellij idea plugin project?

I am developing an idea plugin, and it is an intellij idea project. I want to use gradle to manage the dependency. How to config?
Dozer
  • 5,025
  • 11
  • 36
  • 52