Bug 480177 - WTP XML editor technology face-lift
Summary: WTP XML editor technology face-lift
Status: CLOSED WONTFIX
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Architecture Council (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: eclipse.org-architecture-council CLA
QA Contact:
URL:
Whiteboard: "stalebug"
Keywords: feep
Depends on:
Blocks:
 
Reported: 2015-10-20 02:09 EDT by Marcel Bruch CLA
Modified: 2020-11-06 12:31 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Bruch CLA 2015-10-20 02:09:26 EDT
The XML editor in Eclipse has been compared to other XML editors and found to be rather basic (see [1] for an example). FEEP funding should be used to provide a decent XML editing support in Eclipse (in all packages).




[1] https://dev.eclipse.org/mhonarc/lists/ide-dev/msg00834.html
Comment 1 Dani Megert CLA 2015-10-20 04:13:56 EDT
The comparison was made between the XML editor (from WTP) and the PDE editors which can only edit specific PDE files. They cannot really be compared. There is no XML editor or XML framework in the platform since we already have an XML editor along with the Structured Source Editing framework in WTP that can be separately installed.


> FEEP funding should be used to provide a decent XML editing support in Eclipse 
> (in all packages).

We don't need to use money for that. This can be easily added to all packages (assuming approval from the corresponding package maintainer). This process has already been started by Konstantin: https://dev.eclipse.org/mhonarc/lists/ide-dev/msg00849.html
Comment 2 Marcel Bruch CLA 2015-10-20 04:20:53 EDT
(In reply to Dani Megert from comment #1)
> The comparison was made between the XML editor (from WTP) and the PDE
> editors which can only edit specific PDE files.

I wasn't clear enough. It's not _only_ about having 'some' xml editor.
I linked to the discussion about decent "refactoring" support e.g. for closing tags etc.
Comment 3 Dani Megert CLA 2015-10-20 08:48:20 EDT
(In reply to Marcel Bruch from comment #2)
> (In reply to Dani Megert from comment #1)
> > The comparison was made between the XML editor (from WTP) and the PDE
> > editors which can only edit specific PDE files.
> 
> I wasn't clear enough. It's not _only_ about having 'some' xml editor.
> I linked to the discussion about decent "refactoring" support e.g. for
> closing tags etc.

OK, so we are talking about improving current XML editor from WTP.
Comment 4 Pascal Rapicault CLA 2015-11-18 09:59:57 EST
This is too vague for me.
Comment 5 Wayne Beaton CLA 2016-01-27 11:58:33 EST
(In reply to Pascal Rapicault from comment #4)
> This is too vague for me.

I agree that this is vague, but don't consider this a problem.

There are an impressive number of bugs open against the XML editor [1]; a proposed solution could address any number of them. In fact, IMHO the first phase of a valid proposal would include the work of triaging these bugs to select some subset to address in the second phase. I'd expect, however, that any proposal be at least somewhat concrete and suggest at least a theme for the second phase of work (i.e. improve robustness, or focus on a specific feature).

Triage is, IMHO, valuable work.

[1] https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=NEW&bug_status=REOPENED&classification=WebTools&component=wst.xml&list_id=13713532&product=WTP%20Source%20Editing&query_format=advanced
Comment 6 Mickael Istria CLA 2016-06-03 08:34:53 EDT
XML validation in Eclipse IDE is good enough IMO, however what frustrates me the most is that it can easily report error, but I almost never see a useful quickfix available for the reported error.
So IMO, a first iteration would be to start working on quickfixes. Then when there are quickfixes available and some pretty obvious cases when those should be applied in all cases, we can imagine running them without asking user to ease edition.
Comment 7 Patrik Suzzi CLA 2016-06-16 06:53:29 EDT
If we want people to use Eclipse as preferred editor for XML, we need to provide:

1. A fast editor, with good highlighting, intuitive search and mark occurrencies in the file. As Example: Notepad++ is fast to open; fast to scroll from top to bottom of big files; the search/replace is quick; the automatic mark occurrencies is intuitive and fast. 

2. Suggestions to add/complete tags:
  a. - if XSD is defined, suggest based on this
  b. - if no XSD is defined (majority of cases), check the current namespace (empty or not) and provide a list of possible suggestions
  c. - use an IA/inference engine, like coderecommenders to suggest the user the "best options". 

3. Transformations/actions on one or more of XML files. As an example: XSLT generation to generate an HTML, or PDF generation from Docbook. 

As perfect use case, could consider writing an XSL-T, using a big XML as input, to generate HTML as output. 
With this test, we'll test some of the limits: 
- Speed on big files
- and completion support for input XML based on XSD
- completion support for the XSL-T directives
- support of generation/transformation. 

Sorry for being not too much specific and little bit chaotic in exposing. 
Note: I kept these opinions since a long time. Some of the points might be already solved. In the past 10 years I compared Eclipse against XMLSpy, oXygen xml, Notepad++ (general notepads).
Comment 8 Eclipse Genie CLA 2018-11-16 13:08:44 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 9 Eclipse Genie CLA 2020-11-06 12:29:16 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 10 Mickael Istria CLA 2020-11-06 12:31:37 EST
FEEP is terminated, and this issue is too vague to be actionable. Let's close.
Interespted parties who want to contribute to WTP can do it by opening specific bug reports and enhancement request and some code to go with their wish-list.