Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Disable CSS Errors on Certain Files/Projects
icon5.gif  Disable CSS Errors on Certain Files/Projects [message #1700372] Thu, 02 July 2015 08:46 Go to next message
Daniel Kraus is currently offline Daniel KrausFriend
Messages: 5
Registered: June 2015
Junior Member
I have some web CSS files in my workspace, such as Bootstrap and stuff like that. I get errors on these files/projects from my e(fx)clipse plugin. Is there a way to disable CSS validation on them or at least globally?

[Updated on: Thu, 02 July 2015 08:47]

Report message to a moderator

Re: Disable CSS Errors on Certain Files/Projects [message #1700771 is a reply to message #1700372] Tue, 07 July 2015 05:59 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

What version of e(fx)clipse are you using? We should only detect the
file to be handled by e(fx)clipse CSS if there's a "-fx" property.

Tom

On 02.07.15 10:46, Daniel Kraus wrote:
> I have some web CSS files in my workspace, such as Bootstrap and stuff
> like that. I get errors on these files/projects from my e(fx)clipse
> plugin. Is there a way to disable CSS validation on them or at least
> globally?
Re: Disable CSS Errors on Certain Files/Projects [message #1700775 is a reply to message #1700771] Tue, 07 July 2015 06:57 Go to previous messageGo to next message
Daniel Kraus is currently offline Daniel KrausFriend
Messages: 5
Registered: June 2015
Junior Member
Thomas Schindl wrote on Tue, 07 July 2015 07:59
Hi,

What version of e(fx)clipse are you using? We should only detect the
file to be handled by e(fx)clipse CSS if there's a "-fx" property.

Tom

Hey Tom,

I'm using e(fx)clipse 1.2.0 with Eclipse Luna 4.4.2. It is a plain Xtext project and there is no JavaFX-related content within these files.

Do you need additional informations and/or want me to file a bug?

Regards,
Daniel
Re: Disable CSS Errors on Certain Files/Projects [message #1700777 is a reply to message #1700775] Tue, 07 July 2015 07:05 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
I'll try to reproduce and if I can't I'll come back with more questions.

What we could generally add is:
a) Teach our editor web-CSS (although if not mistaken bootstrap-css
using invalid CSS-Syntax for IE-filters - which browser parsers
accept)

b) Teach our editor a header like /* Disable e(fx)clipse validation */

Tom

On 07.07.15 08:57, Daniel Kraus wrote:
> Thomas Schindl wrote on Tue, 07 July 2015 07:59
>> Hi,
>>
>> What version of e(fx)clipse are you using? We should only detect the
>> file to be handled by e(fx)clipse CSS if there's a "-fx" property.
>>
>> Tom
>
> Hey Tom,
>
> I'm using e(fx)clipse 1.2.0 with Eclipse Luna 4.4.2. It is a plain Xtext
> project and there is no JavaFX-related content within these files.
>
> Do you need additional informations and/or want me to file a bug?
>
> Regards,
> Daniel
Re: Disable CSS Errors on Certain Files/Projects [message #1700779 is a reply to message #1700777] Tue, 07 July 2015 07:29 Go to previous message
Daniel Kraus is currently offline Daniel KrausFriend
Messages: 5
Registered: June 2015
Junior Member
Thomas Schindl wrote on Tue, 07 July 2015 09:05
I'll try to reproduce and if I can't I'll come back with more questions.

What we could generally add is:
a) Teach our editor web-CSS (although if not mistaken bootstrap-css
using invalid CSS-Syntax for IE-filters - which browser parsers
accept)

b) Teach our editor a header like /* Disable e(fx)clipse validation */

Tom

I would prefer a semantic comment (like in SonarQube or Xpect) since it takes less effort than maintaining web CSS syntax. At least that is what I think.

On the other hand this "pollutes" CSS files, but I think that is justifiable. A menu entry like the CssExtDsl compiler, which can also be used for project specific settings, would be nice as well.

-Daniel

[Updated on: Tue, 07 July 2015 07:50]

Report message to a moderator

Previous Topic:CSS-Editor Maven and e(fx)clipse does not work in 1.0
Next Topic:Convert SVG to FXML (no context menu entry)
Goto Forum:
  


Current Time: Sat Jan 18 18:51:46 GMT 2025

Powered by FUDForum. Page generated in 0.02306 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top