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

How to change a Kotlin code reference from a function to a field in an intellij plugin?

I'm writing an intellij plugin where I'm refactoring a class, changing its getters (e.g., fun name(): String) to fields (e.g., val name: String). However, I don't know how best to update the corresponding PsiReference instances. A Kotlin caller…
ADev
  • 5,259
  • 2
  • 16
  • 29
6
votes
1 answer

Intellij - how to make a plugin that can perform IDE actions via a CLI or web service?

I need some help getting started making a specific IntelliJ plugin. I want to make an IntelliJ plugin that makes it so you can launch intelliJ actions from CLI (or from a web service if it's easier). For example, I'm done building my project with a…
Nicholas DiPiazza
  • 10,029
  • 11
  • 83
  • 152
6
votes
2 answers

How to delete SQL Consoles from Intellij IDEA Database plugin?

I use Intellij 2017.3 and the database plugin to connect to SQL Server. When I need to open a console there are many of them on the list. How can I delete them? Thanks in advance.
Elvermg
  • 427
  • 6
  • 12
6
votes
2 answers

IntelliJ: run a single Method, like BlueJ does

So I currently use IntelliJ (2017-3 if that matters), but on my current project I need to test single Methods with specific inputs (mostly text-Manipualtion), so I remembered BlueJ back from School, where you can create Objects and run single…
Hobbamok
  • 767
  • 1
  • 11
  • 21
6
votes
5 answers

Spring boot YAML autocomplete support in Intellij Community Edition

I am using intellij for building spring boot application and i am facing issues in autocomplete in yml files using intellij community edition? Is there any plugin available for the intellij autocomplete for the yml files
6
votes
1 answer

How to view cassandra keyspaces in IntelliJ database tool window?

Is there a way to add a Cassandra DB to IntelliJ so I can run CQL against it and view the keyspaces, etc?
Don Rhummy
  • 24,730
  • 42
  • 175
  • 330
6
votes
1 answer

Intellij plugin - How to create an action that fires on a specific text hover

I want to create a plugin for my company so that an action is fired on hover, and only in a specific case (a specific and partially constant string). Example: Say I have an XML/HTML file with some attributes:
SaarS
  • 71
  • 1
6
votes
0 answers

How to provide extra attributes.to tags using xsd descriptors on an intellij plugin?

I'm developping a plugin where I register a new xml extension like below: public class NsHtmlExtension extends HtmlXmlExtension { @Override public boolean isAvailable(PsiFile file) { return super.isAvailable(file) && …
GUISSOUMA Issam
  • 2,572
  • 2
  • 16
  • 27
6
votes
1 answer

Symbols resolution in standalone IntelliJ parser

I'm trying to use IntelliJ SDK as standalone java parser and it works fine in most cases, but failing to resolve return type of generic methods. When I debugging resolveMethod for verify(mock).simpleMethod() in next sample inside of IntelliJ: public…
ISanych
  • 21,590
  • 4
  • 32
  • 52
6
votes
1 answer

How can i make intellij select the code completion suggestion without me having to navigate to it?

I am using IntelliJ IDEA 15.0.6 with the Ruby plugin. I noticed that when i write in java, the code completion popup automatically highlights the first suggestion like so - this allows me to just press "enter" in order to complete the word and…
6
votes
1 answer

IntelliJ: custom language: combine fragments in other languages

I am creating a custom language plugin for IntelliJ. I would like it to be possible for a file in the new language to contain fragments of text in other languages. The specific languages I would like to support are HTML, JS, CSS, and SQL. I would…
obe
  • 7,378
  • 5
  • 31
  • 40
6
votes
0 answers

Can't add plugin run/debug configuration in IntelliJ IDEA

I want to modify an existing IntelliJ IDEA plugin as a step toward building my own. I chose Front End Alignment, opened it in IntelliJ IDEA, added the IntelliJ Community Edition SDK, and built the project successfully. But when I try to add a Plugin…
Rick Mohr
  • 1,821
  • 1
  • 19
  • 22
6
votes
3 answers

Java and Scala ClassNotFoundException after upgrading to IntelliJ 14

I recently upgraded to IntelliJ 14, then added Scala support. My main files stopped running. For example the GUI file, which has no errors and is a totally self contained hello world style for testing this error: Exception in thread "main"…
BAR
  • 15,909
  • 27
  • 97
  • 185
6
votes
2 answers

Intellij code completion, showing method/constructor parameter types and variable names

I find this extremely annoying that you often do not get help with figuring out the parameter signatures of methods and contructors when you have already written the first parameter. Instead Intellij will show the variables available to you in your…
mjs
  • 21,431
  • 31
  • 118
  • 200
6
votes
1 answer

How to clone a project from Bitbucket into Intellij IDEA?

I tried VCS -> Checkout from Version Control -> Bitbucket (Bitbucket plugin). IDE shows the following: Login to Bitbucket ... Getting list of repositories ... That's all. No dialog boxes with a selection of the repository. I would be grateful for…
Mark Korzhov
  • 2,109
  • 11
  • 31
  • 63