Bug 436144 - The e4 CSS editor to edit Eclipse themes, once installed, replaces the default CSS editor from WTP
Summary: The e4 CSS editor to edit Eclipse themes, once installed, replaces the defaul...
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: Tools (show other bugs)
Version: 0.15   Edit
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2014-05-29 04:59 EDT by Mauro Molinari CLA
Modified: 2019-04-25 08:03 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro Molinari CLA 2014-05-29 04:59:08 EDT
Using Eclipse IDE for Java EE Developers Eclipse IDE for Java EE Developers, Kepler SR-2 (build id 20140224-0627).

*Whenever* I try to open a CSS file in a Dynamic Web Project, I get the following annoying popup request:
"Do you want to add the Xtext nature to the project 'project name'?"

Even if I answer "No", the request is repeated for every CSS file I try to open, even within the same project.

I don't need Xtext, I don't want it and I don't even know what it is, so why should the IDE bother me continuously with this request?

I suspect (but it's just a guess) that this problem started to appear after I installed the E4 CSS editor plugin (to tweak the Eclipse theme to restore the MRU functionality of tab editors). 

I know there's already bug #380772, but I think my case is more than just a problem of "remembering" the answer, since I never installed Xtext explicitly and my projects are simply Faceted projects with no relation at all with Xtext, Eclipse Modeling or any other such thing.
Comment 1 Mauro Molinari CLA 2014-07-31 05:41:17 EDT
Moving to e4, since I just reproduced that this problem starts to happen as soon as I install the e4 CSS Editor. In Luna too.

In my original report, I put a wrong reference to another bug. The correct one is bug #345945. Anyway, I also think there's a second problem here: can't the inclusion of Xtext, at least in this invasive way, be avoided if the user just wants the e4 CSS Editor tool?
Comment 2 Paul Webster CLA 2014-07-31 15:56:31 EDT
No one is looking at this editor at the moment, but we'd consider a contribution.

PW
Comment 3 Mauro Molinari CLA 2014-08-01 02:59:29 EDT
Hi Paul, 
in bug 388476 you say to use this to restore the MRU functionality of tabs, but at the same time no one is taking care of this editor which is invasive even if you install it only to enable the aforementioned feature.

Not a good user experience :-(
Comment 4 Mauro Molinari CLA 2015-01-19 03:52:11 EST
What I recently observed is that once this starts to happen (i.e.: after installing the e4 CSS Editor for Eclpise theme CSS tweaking), you end up with two "CSS Editors" in the "Open With" contextual menu. The one which is set as default is the one that continuously asks to add the Xtext nature to the project.
Also, this "broken" editor has many problems with CSS validation (code assist does not work, invalid errors are reported on valid CSS text, etc.).

As a workaround, the user can change the default editor for *.css files in Window | Preferences | General | Editors | File Associations. However, user experience is severely affected, especially because the workaround is not obvious (it took me a while to discover that I had two "CSS Editor"s installed).
Comment 5 Dennis Huebner CLA 2015-02-02 07:50:46 EST
FYI: #345945 was fixed.
Comment 6 Mauro Molinari CLA 2015-02-02 08:40:06 EST
Thanks Dennis, surely useful but, paradoxically, the possibility to "remember" the decision may hurt for the very specific defect described here, because the user may not realize any more he's using the wrong CSS editor, with all the consequences it brings.

I'm going to update this report title based on what I lately discovered.
Comment 7 Dave Brad CLA 2015-03-09 08:43:33 EDT
I too have this problem: basically e4 completely overtakes the CSS Editor in eclipse.

I've uninstall e4 plugin as it basically completely overtakes the CSS Editor in eclipse and my issues go away. You cannot select the WTP/PHP CSS editor over  the e4 CSS editor from the 'open with' menu.

e4 causes all the WPT/PHP CSS files to be reported with errors. The following is a valid CSS, but e4 reports 1-3 issues with the '.' and missing/mismatched  curly brackets.

.bullNote { 
	font-size: 0.8em
}

e4 has made a bad decision to 'hi-jack' css file extension for what is its own form of css. Ouch.
Comment 8 Lars Vogel CLA 2019-04-25 08:03:56 EDT
e4 css editor has been retired a while ago.