Skip to content
Snippets Groups Projects
Commit 1f2584bc authored by Johannes Mey's avatar Johannes Mey
Browse files

remove file type warning

parent 1ee80135
No related branches found
No related tags found
1 merge request!1Resolve "Renaming of Nonterminal Does Not Rename All Occurences"
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -2,6 +2,7 @@ package org.jastadd.tooling.aspect;
import com.intellij.openapi.fileTypes.LanguageFileType;
import org.jastadd.tooling.util.JastAddIcons;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
......@@ -21,6 +22,11 @@ public class AspectFileType extends LanguageFileType {
return "JastAdd Aspect";
}
@Override
public @Nls @NotNull String getDisplayName() {
return getName();
}
@NotNull
@Override
public String getDescription() {
......
......@@ -2,6 +2,7 @@ package org.jastadd.tooling.aspect;
import com.intellij.openapi.fileTypes.LanguageFileType;
import org.jastadd.tooling.util.JastAddIcons;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
......@@ -21,6 +22,11 @@ public class AttributeFileType extends LanguageFileType {
return "JastAdd Attribute Aspect";
}
@Override
public @Nls @NotNull String getDisplayName() {
return getName();
}
@NotNull
@Override
public String getDescription() {
......
......@@ -2,6 +2,7 @@ package org.jastadd.tooling.grammar;
import com.intellij.openapi.fileTypes.LanguageFileType;
import org.jastadd.tooling.util.JastAddIcons;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
......@@ -21,6 +22,11 @@ public class RelAstFileType extends LanguageFileType {
return "RelAst Grammar";
}
@Override
public @Nls @NotNull String getDisplayName() {
return getName();
}
@NotNull
@Override
public String getDescription() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment