Michael
Michael

Reputation: 33307

Is there a way to configure eclipse that it treats gss files like css files?

I want to enable eclipse specific code completion and syntax highlighting for css to files that ends with gss. The gss files are similar to css files. They are called closure-stylesheets.

Is there a way to configure eclipse that it treats gss files like css files to get code completion enabled?

Upvotes: 2

Views: 300

Answers (1)

greg-449
greg-449

Reputation: 111216

For individual files you can just right click on the file and select 'Open With > CSS editor' (this will be remembered for future editing)

To set for all files go to 'Preferences > General > Content Types'. Find 'CSS' under 'Text' and click 'Add...' to add a '*.gss' association.

Upvotes: 5

Related Questions