package org.coffeebrew.file;

import com.intellij.openapi.fileTypes.LanguageFileType;
import consulo.coffeescript.icon.CoffeeScriptIconGroup;
import consulo.ui.image.Image;
import org.coffeebrew.CoffeeScriptLanguage;
import org.jetbrains.annotations.NonNls;

import javax.annotation.Nonnull;

/**
 * CoffeeScript file properties
 *
 * @author Michael kessler
 * @since 0.1.0
 */
public class CoffeeScriptFileType extends LanguageFileType
{
	public static final CoffeeScriptFileType INSTANCE = new CoffeeScriptFileType();

	@NonNls
	public static final String DEFAULT_EXTENSION = "coffee";

	private CoffeeScriptFileType()
	{
		super(CoffeeScriptLanguage.INSTANCE);
	}

	@Nonnull
	@NonNls
	public String getId()
	{
		return "CoffeeScript";
	}

	@NonNls
	@Nonnull
	public String getDescription()
	{
		return "CoffeeScript Files";
	}

	@Nonnull
	@NonNls
	public String getDefaultExtension()
	{
		return DEFAULT_EXTENSION;
	}

	@Nonnull
	public Image getIcon()
	{
		return CoffeeScriptIconGroup.coffee_script();
	}
}

@@ -135,16 +135,55 @@
 nGroup;%0A
+import consulo.localize.LocalizeValue;%0A
 import c
@@ -798,30 +798,37 @@
 ull%0A%09public 
-String
+LocalizeValue
  getDescript
@@ -837,32 +837,59 @@
 n()%0A%09%7B%0A%09%09return 
+LocalizeValue.localizeTODO(
 %22CoffeeScript Fi
@@ -892,16 +892,17 @@
 t Files%22
+)
 ;%0A%09%7D%0A%0A%09@

fix compilation