Is there a simple XML editor w/ syntax highlighting? - eclipse

I use Eclipse daily in a VERY limited scope, I would consider myself an Eclipse newbie.
Update: I'm looking for a plugin for eclipse, not an external application (e.g. Notepad++)
Eclipse Info:
Version: 3.5.0
Build id: I20090611-1540
Installed Plugins:
CollabNet Merge Client 1.10.0 com.collabnet.subversion.merge.feature.feature.group
Eclipse SDK 3.5.0.I20090611-1540 org.eclipse.sdk.ide
JSEclipse 1.5.5 com.interaktonline.jseclipse.feature.group
Mylyn Bridge: Eclipse IDE 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.ide_feature.feature.group
Mylyn Bridge: Team Support 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.team_feature.feature.group
Mylyn Connector: Bugzilla 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.bugzilla_feature.feature.group
Mylyn Task List (Required) 3.2.1.v20090722-0200-e3x org.eclipse.mylyn_feature.feature.group
Mylyn Task-Focused Interface (Recommended) 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.context_feature.feature.group
NetSuite SuiteScript IDE 1.0.2 com.netsuite.ide.feature.group
Subclipse (Required) 1.6.4 org.tigris.subversion.subclipse.feature.group
Subclipse Integration for Mylyn 3.x (Optional) 3.0.0 org.tigris.subversion.subclipse.mylyn.feature.group
Subversion Client Adapter (Required) 1.6.4 org.tigris.subversion.clientadapter.feature.feature.group
Subversion JavaHL Native Library Adapter (Required) 1.6.4 org.tigris.subversion.clientadapter.javahl.feature.feature.group
Subversion Revision Graph 1.0.7 org.tigris.subversion.subclipse.graph.feature.feature.group
SVNKit Client Adapter (Not required) 1.6.4 org.tigris.subversion.clientadapter.svnkit.feature.feature.group
I use eclipse for editing javascript files. I'm not a web developer, I develop custom applications for a popular web based ERP application and they're written in javascript. I use JSEclipse (I know it's old, but I still haven't found anything better, including Aptana) with Eclipse classic.
I do sometimes need to edit xml files and even less frequently the source of html files. Currently when I open these files in Eclipse they are displayed as just basic text. No syntax coloring and the Outline window has nothing to say about the doc. I've been googling for about 20 minutes and I'm having a hard time just finding a simple plug-in that I can use with my current installation that will provide syntax hilighting. I suspect there must be one out there, but my searches are missing it somehow...
I don't want to install a different version of Eclipse, I have 3 workstations configured with my environment and don't want to stir everything up. I tried installing the "Eclipse XML Editors and Tools" from the WebTools project but it failed out with several missing dependencies.
Here are the detailed error messages:
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse XML Editors and Tools 3.2.4.v201103170600-7H7AFUaDxumQJOs8hggQZ6_jl1EOJGNlUsOsTM (org.eclipse.wst.xml_ui.feature.feature.group 3.2.4.v201103170600-7H7AFUaDxumQJOs8hggQZ6_jl1EOJGNlUsOsTM)
Missing requirement: Structured Source Editor 1.2.4.v201103231819 (org.eclipse.wst.sse.ui 1.2.4.v201103231819) requires 'bundle org.eclipse.jface.text [3.6.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
I'm concerned about starting a "dependency chase" and before I know it I've installed a handful of things that will have who-knows-what impact on things.
Does anyone know if a simple, lightweight plugin that I can install from the "Help > Install New Software..." tool in Eclipse?

Have you consider this one?
http://editorxml.sourceforge.net/
Best Regards!

The XML editor from the WebTools project is the way to go. Since you didn't post the exact problem that you encountered when trying to install this plugin, I cannot help you further. I suggest that when you encounter a problem installing a certain plugin that you post the following information:
The exact details of what you have installed. Base version is a start, but you should also include which package you installed and general description of other plugins you installed into it.
The exact error message you got during plugin installation.
BTW: Eclipse 3.5.0 is very old. Version 3.6.2 is out already and 3.7.0 is going to be out in a few days. At the very least, you should run search for updates and move to version 3.5.2.
Update: Based on the provided error information, it looks like you are trying to install the version of XML editor that goes with Eclipse 3.6. Make sure that you install from the following repository and disable "check other repositories" option in the install dialog.
http://download.eclipse.org/releases/galileo/

If you accept editors outside of Eclipse (I had to read the whole story to see "plugin"...), I just use SciTE, and Notepad++ should do a similar job.
For real XML editing, I found Exchanger XML Editor to be quite efficient.
Shouldn't Eclipse be able to edit XML natively? It should colorize them if they are in a project, I think. I should try...
[EDIT] Indeed, it works. But I use Eclipse Helios for Java developers, perhaps it has some goodies from a base Eclipse.
In my configuration, it opens by default XML files in outline mode. Strangely, if I open them with a text editor, I have no syntax highlighting. I have that with the Ant editor, but then it will report errors (probably checking the DTD/schema).

Free, opensource. Works with 4.5. http://www.gstaff.org/colorEditor/

LiClipse (http://brainwy.github.io/liclipse) provides a lightweight XML editor that provides syntax highlighting just fine.
-- i.e.: it's target is exactly providing lightweight editors for a many languages in Eclipse (note that it's commercial)

Related

eclipse xtext plugin versions compatibility with eclipse IDE

I made a plugin in eclipse juno using xtext, I package my plugin using the following tutorial: http://www.vogella.com/articles/EclipsePlugIn/article.html#p2deployplugin ... sec 6.Create update site for your plug-in and I install it in the same version of eclipse IDE and the installation was successful. I need install it in others versions of eclipse's (Helios, Galileo, etc.) but when i try to install in Helios appear the following message:
Cannot complete the install because one or more required items could not be found.
Software being installed: MView Source 1.0.0.201308011127 (MView.feature.group 1.0.0.201308011127)
Missing requirement: MView Source 1.0.0.201308011127 (MView.feature.group 1.0.0.201308011127) requires 'org.eclipse.xtext 2.0.0' but it could not be found.
I searched for org.eclipse.xtext 2.0.0 jar to add to the dependencies but i dont found it.
I don't know if this will work but I wanted to ask if there are some way to make my plugin compatible with various versions of eclipse IDE and how. compatible with backward versions and forward versions. I would appreciate any information about it. Sorry for my English Thank you very much. =)
If an Eclipse installation does not contain Xtext, you need to provide Eclipse with the URL of the plugin repository (sometimes called update site) where it is located. That will enable Eclipse to discover and install your dependencies when installing your plugin. You can find the URLs that you need on Xtext website.
http://www.eclipse.org/Xtext/download.html
Try to see the version of XTEXT plugin in both of eclipse instalations:
Help > About Eclipse > Installation Details.
In Plugins tab, search for Xtext UI Core
Sorry my english.
A complete overview on:
All XText versions
The dependent XText core component versions
The corresponding Eclipse platform version
Links to the appropriate download / update sites
can be found here: XText versions, dependencies and Eclipse platform matrix
An pretty useful example for a target platform configuration is there as well!

Install Eclipse without any Features

The standard/class edition of eclipse still includes JDT, CVS, GIT and various other features.
Is there a way to install it with only 'resource' management/project tools.
Essentially a version of eclipse built without any language or environment in mind.
A lot like an operating system without any programs installed other than what it needs to run itself and provide the means to install programs entirely at the user's discretion.
Post Answer:
http://download.eclipse.org/eclipse/downloads/drops4/R-4.3-201306052000/
The eclipse-platform section contains no-frills, just raw eclipse.
try this link (http://www.eclipse.org/downloads/moreinfo/custom.php) It should contain what is called a Eclipse Platform Runtime Binaries which is the most minimalist package available.
Same answer I wrote in: Eclipse without plugins for windows
You can download it from here: http://download.eclipse.org/eclipse/downloads/index.html. There you can find 'clean' builds of Eclipse, which do not ship with common development tools.
You still can uninstall the plugins you don't want this way :
Menu > Help > About eclipse SDK > Installation details
Install software tab
Select the plugin you don't want
Uninstall button
Goto https://download.eclipse.org/eclipse/downloads/
Choose a release
e.g. "Latest Release : 4.10" --> https://download.eclipse.org/eclipse/downloads/drops4/R-4.10-201812060815/
On this new page choose "Platform Runtime Binary"
It contains the Eclipse Rich Client Platform base bundles and do not contain source or programmer documentation.

spring development - with or without eclipse + checking eclipse version

Several tutorials mention that you can download spring in a tarball
and install it on your computer but when I go to the springsource
site all I can see is that you can download Spring Tool Suite
which is an eclipse plugin. So my questions are:
What if I wanted to work from the command line or an IDE other than eclipse?
The packages are available for Juno 3.8.2 or Juno 3.4.2, but how can I find
out my eclipse version? I've downloaded the most frequently downloaded version
of eclipse which is the one for Java EE developers but when I click on the Help
-> About entry I get:
Version: Juno Service Release 2
Build id: 20130225-0426
which does not match the eclipse versions on the springsource site 3.8.2 or 3.4.2,
so how do I know which plugin I need?
Thanks.
You can find out your Eclipse version by going to Help -> About Eclipse...
In the dialog that pops up, you will see something like:
Version 4.2.2
or
Version 3.8.2
If you downloaded the most commonly downloaded version, then you most likely have 4.2.2. The "Juno" release actually has distributions built for both 3.8.x and 4.2.x (a little complicated and confusing, I know). So, you should be able to install the Juno version of STS and be fine no matter what which version of Juno Eclipse you have.
EDIT
Your question is not very clear. I thought you were asking about how to install STS, but maybe you are asking about whether or not Eclipse is necessary at all. The answer is that of course, Eclipse is not necessary for Spring development, but it really is the easiest way to develop your spring apps (disclaimer, I am on the STS dev team).
There is no single way to just "downlaod the SpringFramework" because the framework is really just a very large set of jar files and their dependencies. Any single project typically only requires a subset of them as well as requiring other third party dependencies. For this reason, most people prefer working with a build tool like gradle or maven.
Probably the easiest way to get started w/o STS is to clone one of the sample projects from github. A list of the templates are available here: http://dist.springsource.com/release/STS/help/descriptors-3.0.xml which is obvioulsy meant to be consumed from inside of STS. But, you can use the file to grab links to the various github projects.
The Springsource Tool Suite (STS) is not required for developing with Spring. If the question is how you would install the STS, that's actually very easy. In Eclipse 3.7 (Indigo) or 3.8, 4.2 (Juno), click on the Help menu and select Eclipse Marketplace. If its not in the inital screen, use the find box type spring and click go which should bring up the the STS with the version of eclipse it is for in the title. Click install and the correct version and its dependencies will be installed for you. Try to use the eclipse marketplace for all the plugins you install, if possible. It makes things much simpler

Eclipse (on Ubuntu) do not have jsp, html and other web-files template

I installed Eclipse using Synaptic Package Manager (Ubuntu 9.10).
However, my Eclipse does not have any HTML template (in New dialog) or JSP template.
How can I fix it so that I will have some HTML and JSP templates overthere?
Fetch Eclipse plugin from http://download.eclipse.org/releases/galileo and select Web Developments stuffs solve the problem.
I do not recommend to install Eclipse from the ubuntu repository but to install it manually instead (and grab Eclipse IDE for Java EE Developers). Just be sure to check this answer to fix the "click problem" due to a bug with Eclipse 3.5 and GTK+ 2.8.
Update: The reasons to prefer a manual install are explained in EclipseIDE. First, there is no guarantee to find the most recent of Eclipse in the repository (in Ubuntu 9.04, the packaged version of Eclipse was totally outdated). Second, even if you find an up-to-date version (like for Ubuntu 9.10), you'll need to run Eclipse as root to install plugins not available in Package Manager - why did they start to package plugin, this is just crazy - which is not a good idea. User mode installation solves this problem.
You can install eclipse-wtp-webtools package for static html files. I can't find one for jsp though.

Installing eclipse Web Tools Platform (WTP) - update site does not work?

I'm trying to install the WTP (web platform tools) to my Eclipse installation so I can get the XSL transformations working. The base Eclipse they installed for me here was the plain Java IDE (the splash screen says "Ganymede" if that means anything). Looking at this site, the URL to get the download should be here: http://download.eclipse.org/webtools/updates/ ...But when I give that URL to the Eclipse update manager, I get an error telling me: "No repository found at http://download.eclipse.org/webtools/updates/"
Anyone else had this problem? Anyone know what might be up? Anyone know how to get the xsl-transform plugin installed?
EDIT:
I should have mentioned before that I want to find a way to do this without installing any new instances of Eclipse. This process will eventually be sent to several other developers who already have Eclipse (same version that I'm testing with) and I'd rather just do an in-place upgrade rather than have everyone go and install a new product.
UPDATE:
I found another plugin, Xcarecrows 4 XML which can also do XSL transforms. The interface is ugly and seems more than a little quirky, but it's also a small download, and at least it runs and transforms. Unless I can find an easy way to get WTP working, I'll probably just stick with this.
You can try and install WTP through the main Ganymede update site:
http://download.eclipse.org/releases/ganymede/
Or you can download the latest Java EE bundle and use that instead of your current Eclipse
(do NOT unpack it on top of your current Eclipse, but unpack it elsewhere, to test that second installation: it will come with WTP inside)
Note: check then "How do I start Eclipse" to point to your existing workspace in order to see all your previous project in your new Eclipse installation.
As mentioned in your link, XSL Tools is now part of WTP (for Eclipse 3.5 Galileo), and that may explain why your Eclipse Ganymede (3.4) might not interpret correctly the P2 update site for WTP (P2 being the new Eclipse provisioning mechanism introduced late in the 3.4 release cycle)
For Eclipse 3.5, you have an XSL Tools installation illustrated here:
But Eclipse3.4 is more likely to be compatible with XSLT0.5 and you will need a separate installation, because "XSL Tools" wasn't yet part of WTP.
I am not sure, however, where to find such an installation package within the Eclipse projects.
Use the following update site :
For Juno :
http://download.eclipse.org/webtools/repository/juno/
For Indigo :
http://download.eclipse.org/webtools/repository/indigo/
I'm assuming you don't have any firewall exceptions for Eclipse right?
The site for the WTP update is indeed the one you've listed. Maybe post a screenshot? You've added it specifically to your remote update site list?
Either way try a manual update which should be more reliable and get you up and running for now.
All-In-One Update (Eclipse IDE included):
Go to the Eclipse Download site.
Grab the all-in-one package: Eclipse IDE for Java EE Developers
Install, have a coffee and enjoy. (WTP is included)
Manual Update your existing installation of Eclipse:
Download the applicable WTP source package to your desktop
Shutdown Eclipse
Extract the package to your Eclipse installation directory
Startup Eclipse. (WTP is now available)
Follow the steps in the FAQ at http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F .
Are you behind a proxy? If so, you need to make sure you configure your proxy settings in Eclipse.
Window > Preferences
General > Network Connections
Ok, I can probably get it working if I do a clean install of Eclipse. I can do that on my machine, but not the other team members' machines (at least not without going through many emails and paper work) so I'm going to say that XCarecrows 4 XML is the solution. It is able to do XSL transformations in Eclipse 3.4 and doesn't require anything else to be installed. Since XSLT is all I need, the plugin will do.
you can use the marketplace:
https://marketplace.eclipse.org/content/eclipse-java-ee-developer-tools-0
like the site says:
Drag to Install!Drag to your running Eclipse Workspace.