Adding Krangl SDK to IntelliJ Idea - intellij-idea

I am new to Kotlin and IntelliJ Idea IDE.
I want to experiment with Krangl. But how do I add that SDK to my IntelliJ Idea IDE. In C# there is Nuget and on Mac cocoapods.
I know this is a very noob question, but I cannot find a solution that is apparent to me. I am C#/.NET/MS developer looking to get my feet wet in this new world.
There is no Gradle in the IntelliJ Idea IDE as far as I can see. Just Maven and Ant.

For sure there is Gradle in IntelliJ: https://www.jetbrains.com/help/idea/getting-started-with-gradle.html
So, you can either use Gradle or Maven. Or you could also add the jar as a dependency to your project, but I won't recommend this.

Related

Problem in running a project with aspectJ in IntelliJ IDEA 2022.2.3 (Community Edition)

I am trying to run a project with aspectJ, rather than Java, in IntelliJ IDEA. I had done it before by simply putting "aspectj-1.9.6" in a "Lib" folder and setting the folder "as Library". But I tried it again today and it is not working. I think it might be because I have updated my IntelliJ to version "2022.2.3". I saw in this link that for intelliJ version "2021.1", one should select "ajc" as the project compiler in IntellJ. But it seems that there is no such compiler option in IntelliJ version "2022.2" (as I looked at this link and also searched in this link).
I also tried to install and enable "AspectJ weaver" plugin, but I encounter the following error: "Plugin 'AspectJ weaver' failed to initialize and will be disabled. Please restart IntelliJ IDEA.". Someone has had the same problem in this post, but the answer doesn't work for me, as it refers to this link, which is not compatible with IntelliJ version 2022.2.3:
So, I wonder whether aspectJ is not supported any more in IntelliJ?
Does any one has any suggestion that I could use it with this version of IntelliJ? I do really appreciate any help.
Thanks in advance
IntelliJ IDEA is compatible with AspectJ. I am running the plugin on 2022.2.3 without any problems. But I use IDEA Ultimate, you use Community. Did you notice this in your screenshot?
Compatible with IntelliJ IDEA Ultimate

How to add a break point in Intelij IDEA to debug Rust code

I have installed Intellij IDEA on ubuntu with Rust plugin.
How to add a break point in Intellij IDEA to debut RUST code.
Do I need any additional plugin?
Debugging Rust code is available in CLion, IntelliJ IDEA Ultimate, PyCharm Professional, and GoLand. For IntelliJ IDEA Ultimate, PyCharm Pro, GoLand it is required to install the Native Debugging Support
plugin.
See plugin's documentation for more information: Debugging.
no need for extra plugins just add them like you would do in java (left click right of the number). but in order to debug (apply them) you'll need Native Debugging Support (i believe the ide autosuggests this plugin on the first debug run)

how to compile project without using Lombok plugin in intellij IDEA

i have some restriction to download the plugins for intellij.
In this case how can i compile my app using lombok.
i have tried to paas lombok jar through VM options in run configuration but no luck. any suggestion will be appreaciated.
You can still use Lombok in your code, provided you instructed your build tool to have a build-time dependency.
Without the Plugin, that will result in a lot of red wavy underlines in IntelliJ. But the code would still compile and run.
Disclosure: I am a Lombok developer.

How to write code for IntelliJ - Android Plugin

I am writing a plugin for IntelliJ IDEA that depends on the Android plugin.
The IntelliJ Community Edition source code doesn't seem to include the Android plugin. I want to access the APIs like AndroidFacet and AndroidUtils in my plugin project. How can I go about doing this? I tried pulling code from https://android.googlesource.com/platform/tools/adt/idea/ and adding it to classpath but no luck so far.
Any help will be greatly appreciated.
Edit: The above might be confusing. What i really need is the JARs for the Android plugin so that I can add them to the ClassPath and access stuff like AndroidFacet, etc.
You can read this manual Developing IDEA plugin with dependency on Scala plugin. Change Scala plugin with the android plugin.

Is there an eclipse plugin for Play2?

I know there is one for play1, but I don't find any for play2.
I hope the plugin can compile the templates to scala code automatically. It's not convenient now.
I just came across Scala IDE Play2 plugin for Eclipse Indigo/Juno and Scala IDE. The current features are
Syntax Highlighting (routes and templates)
Code completion (templates)
Formatter (routes)
Hyperlinking (routes and templates)
Note that hyperlinking to Java files is not supported for now. Also there are some limitations for the code completion feature, just take some time to read the doc. I didn't try it myself as I'm not working with Play2 right now, but thought it might be helpful for someone.
Edit: This answer is outdated. A Play Eclipse plugin has been written, as #Baztoune says.
There is no Play 2 plugin for Eclipse at the time I’m writing these lines. However, there is an eclipsify sbt command, provided by the Play 2 sbt plugin, which is able to generate an Eclipse project from a Play 2 application.
You won’t get syntax highlighting, contextual completion or code navigation inside Play 2 templates, but you can have them to be automatically compiled when saved by using the ~run sbt command (instead of just run). Check the Eclipse “General −> Workspace −> Refresh using native hooks or polling” option is enabled so it will take compiled templates changes into account.
Yes, here's how to get started:
Find the correct update site for your version of Eclipse from http://scala-ide.org/download/current.html.
In Eclipse go to Help->Install New Software. Use the update site from above to locate Scala related plugins.
Install both the Scala IDE for Eclipse plugin and the Play2 support in Scala IDE plugin. Note that the Play2 support in Scala IDE plugin is listed under the Scala IDE plugins checkbox.
I was unable to get this working at all starting from bare Eclipse, as many sources have suggested doing. The problem seems to be incompatible dependencies that only show up after much wasted time. The Scala IDE route eliminated this problem.
Yes. That's Scala IDE.
Update Site for Eclipse Juno and Kepler: http://download.scala-ide.org/sdk/e38/scala210/stable/site
Install with the following features:
Scala IDE for Eclipse
Scala IDE Plugins (incubation)
I use Scala IDE from http://scala-ide.org/ , then eclipsify my play2 project and import.
It works like a charm: it compiles my scala/java code.
You can get more details at this URL http://scala-ide.org/docs/tutorials/play20scalaide20/index.html