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
0 answers

Custom Language for Intellij which is extension of HTML

I want to create a custom language plugin for intellij for a templating language which is an extension of HTML (it has additional tags). I followed the Custom Language Plugins tutorial on the jetbrains site. But it would require me to have a lexer…
Rainer Blessing
  • 1,131
  • 2
  • 11
  • 22
6
votes
1 answer

Content Provider generator for Android Studio

Do you know a Android Studio plugin for generate a Content Provider? Recently, I switched from Eclipse to Android Studio, and I always used to use mdsd plugin a plugin to generate a Content Provider from your domain model. I was wondering if there…
6
votes
1 answer

Synchronize virtual file to the physical file in the Intellij IDEA plugin

I'm implementing the plugin for Intellij IDEA that needs file to be saved before executing action. Action is shell command, it requires file name to be passed as the command-line parameter. AFAIK Idea saves (synchronizes) files on frame…
Dany
  • 1,490
  • 1
  • 12
  • 22
5
votes
1 answer

Why in Intellij IDEA presence of ENQ/ESA unicode character in code cause it to show false multiple character literals error?

I was trying to fix some weird PDF Unicode remapping issues when I was stuck by this issue where adding an ENQ Unicode character to some part of the code prevents you from compiling the code and IDE will present you with what I think is a false…
YaMiN
  • 3,194
  • 2
  • 12
  • 36
5
votes
0 answers

Version error in IntelliJ Idea while using the Android support Plugin

So I was testing my Android App Build. (In IntelliJ IDEA 2021.2) While starting the sync, an error popped up in the build... The error was that "The version of the IDE was below 2020.3.1" But I am using IntelliJ IDEA 2021.2 Please help me find the…
5
votes
2 answers

IntelliJ IDE MissingApiTokenError: `snyk` requires an authenticated account. Please run `snyk auth` and try again

I have installed the snyk vulnerability analysis plugin on my IntelliJ IDE , but when i try to run the analysis , it gives me error as below : Although i understand it is asking me to provide some auth credentials for my snyk server , but i am not…
Saurabh Chaturvedi
  • 2,028
  • 2
  • 18
  • 39
5
votes
1 answer

Error in plugin MAD scorecard on Android Studio 4.1.1, not working

I am installing the recent plugin MAD scorecard on Android Studio. When I launch it, it displays the following error: Error during MAD scorecard generation: There has been an error in the generation of your mad scorecard…
5
votes
1 answer

Cannot find keymap 'Windows Proper Redo"

A message is appearing in pycharm Missing Keymap Cannot find keymap 'Windows Proper Redo" I don't know what this message means and how to solve it. Please help
Bibek Paul
  • 142
  • 2
  • 9
5
votes
0 answers

When working on a Intellij plugin, how do you configure the "Plugin" run configuration in Intellij Idea CE to enable auto reload?

I've been looking at developing an Intellij platform plugin and saw the docs mentioned auto reloading of plugins by adding the system property idea.auto.reload.plugins to the runIde Gradle task How can I edit the run configuration to set this…
BenC
  • 98
  • 4
5
votes
1 answer

how to create a new statement in dart with intellij Dart plugin

final PsiElementFactory factory = JavaPsiFacade.getInstance(project).getElementFactory(); PsiStatement useMemoStatement = instance.createStatementFromText("int a = plus(b + c);", null); in java we can create a statement like above. i cloned flutter…
5
votes
1 answer

How to create "New Project" Plugin for Android Studio

I would like to develop an Android Studio PLUG IN that appears in the New Project Wizard. I am using Android Studio Android Studio 3.4.2 Build #AI-183.6156.11.34.5692245, built on June 27, 2019 JRE: 1.8.0_152-release-1343-b01 x86_64 JVM: OpenJDK…
Hector
  • 4,016
  • 21
  • 112
  • 211
5
votes
1 answer

Debugging Intellij Idea Plugin in Android Studio on Windows

I am building an plugin for Intellij Idea / Android Studio and I am unable to debug it on Android Studio. As i've seen in the documentation that in order to debug it in Android studio the alternativeIdePath needs to be set with the path to Android…
5
votes
1 answer

In Intellij IDEA how to show small dropdown-window next to carret?

I'm new to Intellij IDEA plugins and in java in general. I wrote my first plugin that checks carret pos and replaces px -> rem. That works fine, but i want to take it even further and make a new plugin for string manipulation that show's a small…
PragmaticEd
  • 505
  • 1
  • 4
  • 14
5
votes
1 answer

Use ANTLR grammar for IntelliJ IDEA code highlighting plugins?

I use an ANTLRv4 grammar to parse my DSL. I would like to create a plugin to support code highlighting and code completion in IntelliJ IDEA for my DSL. As far as I can tell, IntelliJ uses BNF and Flex formats for parsing. Is it possible to: use an…
5
votes
2 answers

java.lang.VerifyError: class com.intellij.junit4.JUnit4TestRunnerUtil$5 overrides final method getRunner.()Lorg/junit/runner/Runner;

While running test cases from IntelliJ - facing this issue. mvn clean install works fine though. Anyone faced this issue before ?
Neha Bhavsar
  • 61
  • 1
  • 3