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

Android studio - creating plugin

I am trying to create a plugin for Android Studio. From the plugin itself I have the reference to the project and the files via IntelliJ API but I can't get to gradle's build variant which user selected. Is it possible to somehow get the build…
kjurkovic
  • 4,044
  • 2
  • 23
  • 28
0
votes
0 answers

How can i Edit manifest in GUI mode

I am trying to edit my manifest in intellij13 but i could not switch to GUI mode like in ADT we can use the GUI or we can directly code the xml. Thank you in advance.
jemz
  • 4,987
  • 18
  • 62
  • 102
0
votes
1 answer

Appreciate some help from IntelliJ users : Importing eclipse project

I followed almost all the standard steps suggested by Jetbrains for importing an eclipse project into IntelliJ, without any success. I get about 100 erros, and all related to some imports related to Java. for eg. Error:(59, 50) java: cannot find…
Batty
  • 3
  • 2
  • 5
0
votes
1 answer

How to highlight one line contains a specific PsiElement programmably in Intellij IDEA?

I know how to highlight a PsiElement, But how to do it for one line? I want highlight java source code in my plugin like the test coverage do.
yanyu
  • 219
  • 2
  • 11
0
votes
1 answer

IntelliJ PlugIn Development- Get the Project Structure

I want to visualize a part of the project structure. Therefore I need something like a VirtualFileVisitor that can be attached to a VirtualFile. (2 get the subtree of this element). Does something like this exists? And are there some examples…
user2988098
  • 81
  • 1
  • 6
0
votes
1 answer

How do I color my output in the console in Intellij using Grep Console?

This is my first question to StackOverflow: I'm using IntelliJ IDEA on a Mac. Intellij does not support ANSI coloring of the output (I want to use it for coloring a ludoboard, that i'm representing in the console). So i'm trying to get Grep Console…
kschnack
  • 362
  • 4
  • 12
0
votes
1 answer

IntelliJ won't accept FileTypeFactory

I am attempting to follow the Language and File Type tutorial for JetBrains IntelliJ It worked, once. Now (whatever I do) I receive an assertion failure stating that it was expecting an instance of FileTypeFactory and got my SimpleFileTypeFactory…
pal
  • 942
  • 1
  • 9
  • 19
0
votes
1 answer

PHPStorm with Nightwatch.js?

Is there a way to send nightwatch.js functional test reports into phpstorm? (I haven't found a selenium plugin, or anything else about this.)
inf3rno
  • 24,976
  • 11
  • 115
  • 197
0
votes
3 answers

IntelliJ/PyCharm Project Structure for Existing Python Application

I recently purchased the IntelliJ-IDEA 13 for use of downloading the Python plugin (which I am told has the same code-base as PyCharm) and working on a python web project (specifically Flask). I thought it would be a near seamless transfer from…
EpicDavi
  • 6,732
  • 3
  • 19
  • 20
0
votes
1 answer

How to programmatically retrieve information like language, OS, Architecture, etc. regarding the current project

I'm pretty new to IntelliJ plugin development and I was wondering if there's the possibility to retrieve some information regarding the current project (or better the current edited file). The information I'd like to have access are the…
Cristiano Ghersi
  • 1,944
  • 1
  • 20
  • 46
0
votes
2 answers

Adding a directory path under IntelliJ 12 claims Library 'LibraryName' is not used and has no effect

I maintain an IntelliJ plugin (Codename one) and we need to control the users classpath. I'm adding a classpath either via the plugin or manually by going to here: And pressing the + sign where I pick Java: Then choose classes: This seems to work…
Shai Almog
  • 51,749
  • 5
  • 35
  • 65
0
votes
1 answer

Unable to run JetBrains plugin at all during development

I'm working on creating a JetBrains plugin, and this is driving me completely nuts right now. I had both an app and project component running and working (just starting to play around with them), but now it appears that the initComponent methods of…
bellkev
  • 915
  • 7
  • 10
0
votes
1 answer

IntelliJ IDEA plugin persistence state xml has duplicate lines

I have the following Component: @State( name = "SessionConfiguration", storages = { @Storage(id = "default", file = StoragePathMacros.PROJECT_FILE), @Storage(id = "dir", file = StoragePathMacros.PROJECT_CONFIG_DIR +…
Alp
  • 29,274
  • 27
  • 120
  • 198
0
votes
0 answers

Intellij Plugin Developement - Get the object while debugging

How do I get the object under caret, in my plugin action? The plugin is supposed to work only in Debugger context. I got the PSI file and get all the information about the class and its constituents, but I am lost on how to get the reference of the…
uncaught_exceptions
  • 21,712
  • 4
  • 41
  • 48
-1
votes
1 answer

Differences between IntelliJ IDEA Ultimate's Tomcat server plugin and Community's Smart Tomcat plugin - missing features in startup/connection tab

I recently started a new job and find myself in a situation where I'm struggling to start a service developed in Spring. The service requires a startup script to run smoothly. Interestingly, my senior uses the Ultimate Edition of IntelliJ IDEA,…