Eclipse Plug-in:How to clear old values from Preference Page when plugin has been Uninstalled? - eclipse-plugin

I am using Eclipse Helios 3.6
Eclipse Java EE IDE for Web Developers.
Version: Helios Service Release 1
Build id: 20100917-0705
I have a preferences page plug-in which sets a path which I need for my application. When I un-install my plug-in, the set path still remains in memory. I am fetching the value of the path I set from getTextControl().getText(), this returns the previously set value.
I read in How to clear data in Preference Store when uninstalling an Eclipse plugin? , that you need to use IProvisioningEventBus. I don't have much of an idea how this can be used. I'd be grateful, if anyone could provide a little more elaborate answer or if there is another way to clear the old value.
Thanks

Try running eclipse from the command line with the -clean flag.

Related

Can't find C/C++ IntelliJ IDEA Plugin

I'm trying to add a c/c++ plugin to IntelliJ IDEA, so I went to plugins and searched for it but couldn't find it.
Did they remove it and replace it with their new IDE cLion? Is it no longer supported or what?
Looks like the version of your IntelliJ IDEA is newer than what the C/C++ plugin supports. If you look at the plugin page you can see that builds from 139.1 until 142 are compatible. And if you look here you can see that build 141 is IntelliJ 14.1 and IntelliJ IDEA 15 is numbered 143. So my guess is you are using IntelliJ IDEA 15 or 16 EAP and therefore the plugin is not shown when you search for it.
Simply download the cpp plugin of the old 14 version located here:
https://plugins.jetbrains.com/plugin/1373-c-c-
Then edit the file CppTools/META-INF/plugin.xml and replace the "until-build" value in line 5 to something like until-build="170.0"
And this works perfectly :)
One should really note that the "C/C++" plugin available in the IntelliJ Plugin Repository is actually not developed by Jetbrains, but by a third party called AdvancedTools, and has long not been updated. I'm not sure if that is related to the release of CLion, e.g. IntelliJ bought out the plugin to serve as the foundation of CLion or whatnot.
As listed in the CLion FAQ page, there is currently no official standalone plugin for C/C++ editing available for IntelliJ IDEA. Just as with some other products such as Jetbrains AppCode, Jetbrains are currently keeping CLion as an exclusively paid product, without a free community edition, as indicated in this forum post.
The post also confirmed that a plugin for IntelliJ IDEA might be coming in the future, but is currently (Jan 2018) not a priority for JetBrains.
So yeah for now the only way to get decent C/C++ support within the IntelliJ ecosystem is to use/buy JetBrains CLion.
Download latest version of c/c++ extension from link: https://plugins.jetbrains.com/plugin/1373-c-c-
then open that CppTools.zip inside META-INF folder open file plugin.xml modify line five until-build="" from your own intellij idea build. Go to Help --> About in Your Intellij idea.
plugin.xml file screenshot:
Now Go to File --> Settings --> Plugins --> Install plugins from Disk, browse ypur edited/ modified CppTools.zip.
I faced this problem before and i figure out that the software i install it was old and not update, so try to see the plugin version and see is that plugin version compatible with your intellij-idea, if not check update for the intelli-idea ,the developers fix many problems in every update ,then download it.
you can check compatibility from this page.
Here
Click on Preferences -> Plugins -> Browse Repositories and search for it

go lang plugin for Intellij IDEA 14.0.x

Is it possible to setup go language pluing for Intellij IDEA 14.0.3 version?
I tried to download the binary plugin (jar) from https://plugins.jetbrains.com/plugin/5047?pr=idea but the version 0.9.15.3 listed here is old and does not recognize GOROOT and GOPATH.
I tried to build the latest plugin using sources from https://github.com/go-lang-plugin-org/go-lang-idea-plugin using Intellij but failed to setup the SDK.
Is there a latest binary version of the go lang plugin available?
Update to IDEA 14.1+ or use the IntelliJ Community.
Original answer:
You can use the free version of IntelliJ Community with the latest version of the plugin and everything should work fine. Also, Android Studio for example is compatible with the plugin as well.
Unfortunately the plugin has some internal dependencies which makes it hard to port back and maintain for multiple IDEA versions. Hope this helps
It might be not the exact answer your are looking for but their is a separate IDE for go developer . it has some unique features you must try GOLAND First month is free.
I also faced up this problem couple days ago. You can download nightly version of go plugin from this link.
You must install this plugin via browse your download folder not repository

Looking for a MyBatis plugin for IntelliJ Idea 14

I'm looking for a current MyBatis plugin for IntelliJ Idea 14. I previously used one hosted by Seventh7 but that is no longer listed (and its git is a 404). The main thing I'm looking for is decent linking between my classes that extend SqlSessionDaoSupport (my DAO classes) and their matching xml files (not using annotation driven).
Any suggestions?
As far as I know the latest free version was v2.34 and it was applied to IDEA v141.177 till v141.179 (as described in file plugin.xml inside jar). That's why this plugin is no listed in IDEA. After this author released paid version and closes free access to the repo
But there is a free fork here:
https://github.com/phoenix/intellij-mybatis-plugin (I love github and open source :) )
Short instruction how to install it:
Download intellij-mybatis-plugin.jar from repo above or use direct link
In IDEA: File>Settings>Plugins, press button "Install plugin from disk" and select downloaded jar.
Restart IDEA
Note: For me navigation to and from xml files does not work until I disabled another iBatis plugin
In Intellij, Go to Settings-->Plugin-->Browse repositories
Search for mybatis plugin.
Install it and restart.
there is a plugin named MyBatisCodeHelperPro, you can search it in repositories.
or download via https://github.com/gejun123456/MyBatisCodeHelper-Pro/blob/master/README_EN.md

Eclipse new plugin Project: Not choosable

just an easy quesition but I can't find any answer in this wonderful world wide web...
I just want to create a new Plugin Project based on Eclipse Helios. Normally this feature should be shipped with this version (Version: Helios Service Release 2 Build id: 20110301-1815) but I can't choose it via "file->new->Project". Do I have sth. to install previously?
Thanks a lot for any help guys ... :)
It is also possible to do plugin development with any eclipse classic version. (I am working with 4.2)
For plugin development in eclipse classic version you need to go
Help-->Install New Software--> In work with select version url provided by eclipse it self. e.g. in case of 4.2 Juno it will be Juno - http://download.eclipse.org/releases/juno
It will render all the possible plugin provided by eclipse it self.
In that list there will a Eclipse plugin development environment in General purpose tools.
Or you can get that one by writing plug in filter text box.
Select Eclipse plugin development environment and install it.
Now you can able to do plugin development in classic version also.
Hope this will be helpful.
Install Eclipse for RCP and RAP developers.
If you already installed Eclipse you can add on the Plug-in Environment from within Eclipse
https://www.eclipse.org/forums/index.php/t/273044/
The Plugin Perspective is not installed.
To get it: Help->Install New Software
Work With: --All Available Sites--
In the Filter Box, type "Plug-in"
Look for something that says "General Purpose Tools" and expand it.
Look for "Eclipse Plug-in Development Environment"
Click Next a few times and install it, then restart.
Exact verbiage may depend on your Eclipse version.

Force.com IDE - Eclipse Plugin doesn't work?

I'm new to Apex and have just downloaded Eclipse to get to work
Eclipse SDK 3.3.2
I've followed the instructions on
http://wiki.apexdevnet.com/index.php/Force.com_IDE_Installation_for_Eclipse_3.3.x
and have added the Remote site:
http://www.adnsandbox.com/tools/ide/install/
but i get a dialog telling me
"No features found on the selected site(s). Choose a different site or site category"
Any ideas what i've done wrong??
Thanks
Dan
Try that process from a clean eclipse install, and repeat the installation steps, making sure that before clicking on "Finish" you unselect the checkbox at the lower left: "Ignore features not applicable to this environment".
Also, check if http://www.adnsandbox.com/tools/ide/install/ is accessible from your workstation.
Please check your proxy setting by accessing "http://www.adnsandbox.com/tools/ide/install/" URL in any of browser and update proxy setting in eclipse.
Force.com now has a standalone development environment that you don't need to download Eclipse for. Just putting it out there for people who stumble across this post.
Install the latest Eclipse Ganymede and try that.
Another good news for you is, force.com is coming with Eclipse galileo plugin in coming release.