Smarty support for the luna version of eclipse - eclipse

Does anyone know how to get smarty / .tpl file support & syntax highlighting in the newest version of eclipse? smartypdt doesn't seem to be compatible with the most recent version:
https://code.google.com/p/smartypdt/downloads/list - seems like the latest download available is for Juno version.
Any ideas? Thanks!!!

I have installed successfully smarty support in Luna, through the PDT extensions site.
Go to Help -> install New Software -> Add http://p2-dev.pdt-extensions.org and select smartypdt.
See https://code.google.com/p/smartypdt/wiki/InstallSmartyPDT and look at the bottom, the 3 next-to-last comments for more information.

Related

My eclipse plugin is showing on eclipse marketplace web site, but not in eclipse marketplace client

I uploaded a plugin I developped to eclipse marketplace platform, following the steps described at https://marketplace.eclipse.org/quickstart.
Now I can find my plugin on their web site (https://marketplace.eclipse.org), and I can install it from there (by dragging and dropping the install button).
The problem is I can't find it using eclipse marketplace client (the one inside eclipse, that opens using Help / Eclipse Marketplace...).
What could be wrong...? Maybe the development stage (now beta) ? Maybe eclipse compatible versions have to be specified ? (I said luna but maybe there is a format or something)
I have not put links to my plugin because I wasn't sure about SO policy. I can put them / send them by mail if it can be helpful.
Thanks in advance !
Well it works now !
I changed several things so I'm not sure which one was the good one :
- Changed development stage from "alpha" to "beta"
- Added a version for the plugin ("1.1.0", this is just a text field)
- Added a version for eclipse ("Luna", this is just a text field)
I think the missing information was the Eclipse version. Without that, the Marketplace Client in your Eclipse install doesn't know if the connector is compatible with that version of Eclipse.
For example, the JBoss Tools and Red Hat Developer Studio marketplace connectors have several different versions of tooling in it, each targeting a different version of Eclipse.
4.5 / 11 -> Eclipse Oxygen (4.7)
4.4 / 10 -> Eclipse Neon (4.6)
4.3 / 9 -> Eclipse Mars (4.4)
4.2 / 8 -> Eclipse Luna (4.3)
So, depending on the version of Eclipse you're using, you'll get a different version of tooling from the connector, as it links to a different update site for each version.

Smarty highlight in eclipse luna pdt

As shown in last comments here https://code.google.com/p/smartypdt/wiki/InstallSmartyPDT
smartypdt plugin seems not working in eclipse luna.
I used eclipse indigo before. I am wondering if there is a way to export something in indigo version where smartypdt works and import it to luna.
SmartyPDT is not compatible with PDT >= 3.2 due changed feature name. Looks like this project is no longer maintained.
https://code.google.com/p/smartypdt/issues/detail?id=73
Edit:
PDT Extension Group provide now own SmartyPDT compilation, see p2-dev.pdt-extensions.org
This version is compatible with latest PDT (3.2 and 3.3)

How to install SVN Repository Exploring plugin for Eclipse

How to install SVN Repository Exploring plugin for Eclipse? My current Eclipse version is 2.6.1. it does not have SVN Repository Exploring Perspective.
Update your eclipse firstly.
Help --> Eclipse MarketPlace, search subclipse, click install, and then follow the instructions to finish up the installation process.
I highly advise you to update your Eclipse instead of trying to make the plugins work with the obsolete version of the IDE. You will encounter numerous issues in order to make the plugins work with older versions of the IDE since most of the plugins require atleast the 3.4 version of Eclipse to function properly. You will need to dig the archives to find older version of plugins and then some-how make them compatible with the older eclipse
My adivse, download (not update) the latest version of eclipse from the official website. I believe the latest version in use is 4.3.1.
Update : The latest version in use is now 4.4.1 (Luna)
Did you try Help -> Install New Software -> All Available sites
There you can select SVN plugin. try to install
You can add a particular site there, for example 'http://subclipse.tigris.org/' and select the SVN Version as per the Eclipse and trying referring it from 'Help > Install New Software > Add Site' .
Hope this helps.

Freemarker Eclipse Plug-In

How can I install Freemarker Plug-In in eclipse?
I googled it and found this site
https://sites.google.com/site/hcao2008site/development/leareclipse/install-freemarker-plugin-in-eclipse
but it did not work for me. The URL "http://www.freemarker.org/eclipse/update" as it has mentioned in #3 does not exist. Then I tried the URL "http://www.freemarker.org/eclipse/" then it worked but after installation, I added *.ftl as file types inside
Windows -> Preference -> General -> Editors -> FIle Associations but I could not find the Freemarker editor inside "Associated editors".
I am using Eclipse of Version: Indigo Service Release 1 in windows 7.
Any suggestions please???
You could try the JBoss Tools plugins available from http://download.jboss.org/jbosstools/updates/development/indigo/, they contain the "FreeMarker IDE" which provides a nice freemarker editor.
I didn't find a screenshot of the editor right now, so I will show you how it looks like in my installation (Indigo on Ubuntu 11.10), so that you can decide if this is what you want:
I have installed the freemarker just now, here is the screenshot for it, you can just check it
You can install it, from an update site - http://download.jboss.org/jbosstools/updates/stable/helios/
For installing, open eclipse, than go to Help > Install New Software >> add the above update site url, From the many installations available from that update site, you can just install the editor, you can just install the ‘FreeMarker IDE’ from All JBoss Tools menu. See below screenshot for help.
Jeewan#Feb 21 '12 at 21:38, you are missing the “freemarker” suffix in your link. The complete url is http://www.freemarker.org/eclipse/freemarker/ . It works for me on Eclipse Juno, OS Linux Ubuntu 12.04. #Jason#Sep 28 '12 at 6:59, I don’t understand your answer to mention the solution make more sense.
I found detailed instructions under http://freemarker.org/editors.html in the first table row ("Eclipse", "Part of the JBoss Tools Project. Install like this"). Although I restarted Eclipse as recommended, it was also necessary to reopen each file for the syntax coloring to take effect.
Since July 2016 also published on Eclipse marketplace as separate entry
https://marketplace.eclipse.org/content/freemarker-ide-jboss-tools
Quote
This is quick way to install FreeMarker IDE plugin from JBoss Tools
http://tools.jboss.org/.
Sources are at https://github.com/jbosstools/jbosstools-freemarker
Issue tracker is JBoss Tools JIRA
https://issues.jboss.org/browse/JBIDE (specify component freemarker)
As recommended on http://freemarker.org/editors.html nightly version
is used for Neon.
For Eclipse Oxygen / Photon:
The Freemarker Plugin from JBoss Tools was deprecated in the new release for Oxygen, see changelog for JBoss Tools 4.5.0:
https://tools.jboss.org/documentation/whatsnew/jbosstools/4.5.0.AM2.html#freemarker
So I use JBoss Tools 4.4.4 instead (which was for Neon, but seems to work fine with Oxygen):
https://tools.jboss.org/downloads/jbosstools/neon/4.4.4.Final.html#update_site
Installation:
Help > Install New Software > Add http://download.jboss.org/jbosstools/neon/stable/updates/ > Expand JBoss Application Development > Freemarker IDE

Eclipse Version

How do you check the current version of eclipse that I am currently running? Is it possible to tell if it is aqua or carbon (I am running Mac OS X 10.5)?
My eclipse has a file .eclipseproduct in its' main folder which contains:
name=Eclipse Platform
id=org.eclipse.platform
version=3.4.0
Perhaps that might help?
Edit: Couldn't find any useful command-line switch for that task.
In case anyone has installed one of the 'bundled' versions of Eclipse (e.g. bundled with EE development tools as below) and is still looking, the steps below will show the 'bundled' version and the platform version (and other component versions also):
First select 'About Eclipse' from the Eclipse menu:
then select 'Installation details from the box below'
Next click on the triangle against 'Eclipse IDE for Java EE Developers' below to expand it:
And now you should be able to read the version numbers, as below:
By now of course you may be wondering if everything else in the IDE is this obscure...
They don't make it very clear. They could do a better job of clarifying which release name and version number you're are working with.
Can't you just go Help -> About Eclipse
(source: uni-kassel.de)
(ignore the actually selected menu)
Eclipse Menu -> About Eclipse SDK
Some of you are right, the developer version it is not very clear.
Anyway, go to help and then About Eclipse a new window opens then go to Installation details and click on the installation window Installed Software tab you would see the version.
I too have struggled a lot to get version number of Eclipse. Also as discussed in other posts we can easily get the name but NOT the version number. I found a more simpler way to get the version number:
Each Eclipse installation directory in your system has a html readme file at eclipse/readme/readme_eclipse. Just open that and you will notice the first 2 lines of the html file has version details.
eclipse Juno
Release 4.2.0 ;
Last revised June 8th, 2012
Eclipse Indigo
Release 3.7.2 ;
Last revised Feb 7, 2012
Eclipse Helios
Release 3.6.2 ;
Last revised February 10, 2011
There is a system property eclipse.buildId (for example, for Eclipse Luna, I have 4.4.1.M20140925-0400 as a value there).
I'm not sure in which version of Eclipse did this property become available.
Also, dive right in and explore all the available system properties -- there is quite a bit of information available under eclipse.*, os.* osgi.* and org.osgi.* namespaces.
On my mac it took me a while, but it is actually easy.