Reputation: 26862
I have a Java Eclipse project with a stylesheet for JavaFX saved in resources/stylesheet.css
Anytime I open stylesheet.css
in the Package Explorer, Eclipse asks me if I want to convert my project to an Xtext project.
Why is Eclipse offering to convert my Java project into an Xtext project every time I open my .css
stylesheet? Is there a specific reason to convert to an Xtext project?
Upvotes: 2
Views: 1863
Reputation: 16284
Assuming you use the stylesheet for JavaFX.
I had the same issue, it was solved by converting the project to a JavaFX project (e(fx)clipse required).
Currently there's no direct way to convert a project to a JavaFX project. You'll have to create a new JavaFX project and copy over everything.
New -> Project -> JavaFX -> JavaFX Project
Upvotes: 2