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

303 views Asked by At

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?

1

There are 1 answers

0
greg-449 On BEST ANSWER

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.