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

How do I create PsiSwitchLabelStatement in idea plugin Development?

The source code: swich(i){ case 1: break; case 2: break; } I want to insert "case", but how do I create PsiSwitchLabelStatement?
cs x
  • 621
  • 2
  • 8
  • 23
0
votes
1 answer

IntelliJ IDEA, Open API - list methods requiring be implemented

I am developing an IntelliJ IDEA plugin which has to generate some project-specific classes in the Java/Scala project. I have a superclass and a few traits to extend. How can I list methods, which I need to implement in a class being created? I mean…
Piotrek M.
  • 158
  • 6
0
votes
1 answer

Intellij idea create custom language plugin extending javascript

I'm trying to create a language plugin for intellij idea, for sweet js. Is there any way i can get the syntax highlighting and other javascript language support for my project from existing javascript language support in intellij idea?
tiran
  • 2,389
  • 1
  • 16
  • 28
0
votes
1 answer

How to run IntelliJ plugin written in Java 8 on OSX?

I've developed an IntelliJ plugin in Java 8 on OSX. During the development everything worked, I was able to run a test instance of IntelliJ with my plugin preloaded without any issues. However, after I've built my plugin and tried to install it in…
siledh
  • 3,268
  • 2
  • 16
  • 29
0
votes
1 answer

Resource to learn Intellij plugin development

I want to learn how create IntelliJ' plugins, but after looking at the JetBrains help, I think it's very little and doesn't help new developers. So, where can I find a good site or help to learn IntelliJ plugins ? Is there a more complete…
Gauthier
  • 538
  • 6
  • 12
0
votes
1 answer

sbt.ResolveException: unresolved dependency: com.github.mpeltonen#sbt-idea;1.7.0-SNAPSHOT: not found

this is my build.sbt file under /sbt/0.13/plugins scalaVersion := "2.11.5" sbtVersion := "0.13.7" libraryDependencies += "org.apache.spark" %% "spark-core" % "1.2.1" libraryDependencies += "org.apache.spark" %% "spark-streaming" %…
Irene
  • 744
  • 1
  • 12
  • 36
0
votes
1 answer

Intellij 14 version python console file path link not working

In Intellij 14, using Python plugin, I see a strange issue. When I run my unit tests, I see few failures and in console it shows the file name with absolute path (as a hyperlink) and line number of stack trace. When I click on the hyperlink, control…
suman j
  • 6,710
  • 11
  • 58
  • 109
0
votes
1 answer

Adding a third tab in Android studio xml editor

I want to write an Android Studio IDE plugin which will add a third tab (After "Design" and "Text" tab) in the XML file editor view. What I am trying to accomplish is to have a different representation of the layout XML files. I tried going through…
Kiran Kumar
  • 1,192
  • 8
  • 10
0
votes
1 answer

How to access the Fabric (Twitter) plugin in Intellij 13?

I have just installed the Fabric (Twitter) plugin in IntelliJ IDEA 13, following the steps found here. I installed the plugin, restarted IntelliJ and the next step suggested by the guide is this: However, I couldn't find that button anywhere, not…
0
votes
2 answers

Check if PsiElement is a string

When adding 'intentions' to PhpStorm (or other JetBrains IDE's), how can I detect whether a PsiElement is a string? I've based my code off the only intention example I could find. I can't seem to find proper documentation. This is as far as I…
Robbert
  • 5,063
  • 6
  • 36
  • 44
0
votes
1 answer

how to import IntelliJ Idea Android Project To codename one

Can I Import Android Project Java Language In codename one at IntelliJ Idea? is there many differences between IntelliJ Idea and codename one Project Developing(what about Codes And UI/UX Design)?
Hossein Kurd
  • 3,184
  • 3
  • 41
  • 71
0
votes
1 answer

Intellij plugin api method forcePsiPostprocessAndRestoreElement purpose

I'm trying to modify plugin so that it supports older version of IDEA (IC-129). One of the problems I've faced is that it uses forcePsiPostprocessAndRestoreElement from CodeInsightUtilCore class which does not exist in older sdk. After reading…
user2418306
  • 2,352
  • 1
  • 22
  • 33
0
votes
1 answer

PHP plugin not working in intellij community edition 13.1

I tried enabling it as mentioned here but nothing worked, any suggestion??? Thanks
Vikas Verma
  • 313
  • 1
  • 5
  • 18
0
votes
1 answer

Intellij plugin to recognize javascript in a tag

I am using a template library that our company has developed. It is really great, however, we are using a tag: // javascript code This tag does some stuff but essentially that is javascript code with some objects passed to it…
mjs
  • 21,431
  • 31
  • 118
  • 200
0
votes
0 answers

Intellij suggestions (code completion) "eat" CPU

I use sass and jade plugins with IJ 13. The trouble is that when I start typing e.g. "d" for div the suggestion list takes a lot of time to be displayed (~2 seconds). The things are a bit better with python files but still there is still some lag. I…
Diolor
  • 13,181
  • 30
  • 111
  • 179