Community
Participate
Working Groups
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.
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?
No one is looking at this editor at the moment, but we'd consider a contribution. PW
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 :-(
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).
FYI: #345945 was fixed.
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.
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.
e4 css editor has been retired a while ago.