Is there a way to create my own ideavim plugin? - intellij-idea

I would like to use with my emulated vim in jetbrain's IDE, some plugins that can be used with the original vim.
But as far as I know, only a small handful of plugins are compatible with ideaVim.
So I wonder how these plugins have been made, and if it is possible to make my own.
I can't find any documentation about such a thing on the internet.
Does somebody know?

Related

IntelliJ IDEA for multiple languages or one IDE for each?

I was working with PHPStorm on some PHP projects and I liked it a lot. Now I have to find an IDE for Python and since I like PHPStorm I was looking at PyCharm and IntelliJ IDEA. I’m not sure which way to go. It seems compelling to give up PHPStorm and put both PHP and Python into IntelliJ IDEA. But I’m not very sure if it is clever to choose one IDE for multiple environments.
I'm afraid that a configuration of multiple environments inside a single IDE may overload the IDE and that the configured environments interfere with each other in unwanted or bothering ways.
On top of that IntelliJ IDEA comes with a lot of Java stuff preinstalled, which I do not need. If I have to keep the Java stuff inside the IDE the case gets even worse...
So right now I have no clue which way to go..
Can someone with experience elaborate on that please?
IntelliJ does depend on a JRE (so does Pycharm and PHPStorm), but other than that it doesn't bring a lot of "Java stuff" with it unless you add it via the plugins. It should be sufficient to download IntelliJ Ultimate and then add the PHP and Python plugins and have the desired experience of PHPStorm and PyCharm combined.
However it may be cheaper to just purchase PyCharm instead of IntelliJ ultimate, https://www.jetbrains.com/idea/features/editions_comparison_matrix.html The community edition doesn't support the Pycharm plugin.

What IDEs have support for the Hack Language?

Has anyone managed to find an IDE for Hack Language used on HHVM ?Is there any plugin available for the well-known IDEs like Eclipse,Netbeans,etc?
Thank you!
Edit : By the time SiebelsTim has embedded typechecker and made a basic syntax highlighting for Sublime. You can find the plugin here
Here are the plugins for vim, emacs and Sublime 1.
More support in other IDEs will be probably added in the future. I'm especially waiting for plugins for PHPStorm and Netbeans.
1 = I don't use these editors, so please don't ask me how to install the plugins.
EDIT: There is now a page in HHVM docs with links to various plugins.
I've created a plugin for Github's Atom Editor, it can be found on GitHub.
It allows you to configure remote SSH Machines too (a great feature if you're on windows and running HHVM in a VirtualMachine).
for netbeans integration there is already an issue opened
https://netbeans.org/bugzilla/show_bug.cgi?id=243133

How to add different programming languages to Eclipse (C++, C#, Java)

another completely beginner question. I just went through two introductory courses in Java, and I noticed that Eclipse can also support development in other languages (which I didn't know). Does anyone know how to add other languages to Eclipse so that I can switch between IDE's, or do I have to have a completely separate installation of Eclipse per language?
In Eclipse, use the menu Help -> Install new software. Choose "All available sites" in the combo box, wait a moment and then you can explore some other available plugins and languages.
Depending on your version of Eclipse, you might also have a menu item Help -> Eclipse Marketplace. That one is even more comfortable, as it allows you to easily browse all plugins listed in the Eclipse Marketplace. You can also browse the marketplace in your browser and afterwards drag and drop interesting plugins from the browser to your running eclipse (if your version of eclipse is new enough).
Eclipse is a plugin framework......
You have two choices - fortunately the eclipse community saw fit to produce Eclipse in a range of products that will do 99% of what 99% of people want. These distros are good to go. You install them and start work. You can then extend them if you want, but they do all of the basics very well, reliably, out of the box. Installing more than one with eclipse is easy, they do not interfere with each other, and if one turns out to be broken, the rest are not affected.
The other option, is to extend the framework by adding the plugins you want. So you start with an Eclipse distro, and download and install plugins till the cows come home. In the perfect world, this would be the perfect solution. Its not a perfect world..... you have not installed all you plugins and Eclipse suddenly crashes........
Problems occur because sometimes
Plugins are buggy
Plugins are incompatible with each other.
Different plugins rely on different versions of another one
(indirectly incompatible).
Plugins don't work the way the rest of the tool does
There are just too many plugins to choose from - you don't need most, and the ones you need can be hard to find.
Adding more than a few (probably 1) plugin to Eclipse exposes you to these problems. This is not something for the novice or people who have job not involved in fixing Eclipse. if you have a real reason for it, like your a sadist, or it's your job, or you want it to be your job, to make a team of 100 Devs productive, then plugins are great, otherwise, download a pre-canned, tested, reliable distro and take advantage of the great work by the contributors.

Is there an easy way to use intellij for liferay theme development?

I recently switched from eclipse and netbeans to intellij, but I have also liferay stuff to do and intelliJ seems to lack a decent liferay integration.
Does someone know how to use intelliJ for that, with as much of intelliJs comfort as possible :-/
As the themes are no simple java project the import stuff doesn't seem to recognize it properly...
You could look into the maven integration for Liferay (depending on the version of Liferay you're using - the more recent the version, the better the maven integration) and just import a pure maven project. The layout of this differs a bit from the usual ant-based SDK.
But of course you can also use the pure Ant buildfiles you find in the plugins sdk. As there's typically no java in a theme, it doesn't make a lot of differences.
Not wanting to start IDE wars here, but you also might consider Liferay IDE (or Developer Studio, it's EE-Version) for theme-related development. As there's no Java development done in themes, the conflict of changing tools should be handleable. I wouldn't want to work in both IDEs for Java development again (been there, done that), but for themes I can imagine just going the easy route - it's mainly CSS that you edit.

favourite IDE for griffon development

I am experimenting with Groovy Griffon development and I am wondering what IDE to use.
I am trying to use NetBeans 6.5, and I found this post
https://blogs.oracle.com/geertjan/entry/notes_on_converting_netbeans_grails
essentially it describes forking the NetBeans trunk and hacking the Grails support; I was hoping for something more lightweight.
Are there any simple tools to create eclipse, netbeans or pom.xml's from Griffin Apps?
Or is it best to use a simple text editor?
There is a NetBeans Griffon plugin already available at http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=18664
Griffon apps have some rudimentry hooks already for IDE integration.
First, a .classpath and .project file are generated that mark the expected source and test directories for Eclipse. Both IntelliJ and NetBeans have importers for these eclipse files (and they work, I use them regularly).
Second, Griffon 0.1.1 adds more targets to the parallel build.xml so that more of the common scripts can be used as though they were ant tasks (run-app, compile, debug-app, etc.)
Third, there is some better IDE support in the works form some of the IDE vendors. As mentioned in the article you linked because Griffon is grails derived it is fairly easy to re-purpose existing Grails support. IntelliJ has the only specific tracked feature request I am aware of.
IntelliJ Idea has very good Griffon support.
This question usually comes with a next question:
How to debug Griffon?
Just in case someone still requires a helping hand trying to figure out how to debug Griffon in Eclipse/STS I've written a simple step by step guide to get it done:
http://ivo43.blogspot.com/2012/02/debugging-griffon-in-eclipsests.html
Hope it helps someone someday, :D
PD: I've tried Netbeans and even though it looks great am still with STS, call me a maniac!