File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed
java/io/protostuff/jetbrains/plugin Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ protected ProtoFileType() {
1919 @ NotNull
2020 @ Override
2121 public String getName () {
22- return "Protobuf " ;
22+ return "PROTO " ;
2323 }
2424
2525 @ NotNull
Original file line number Diff line number Diff line change 11package io .protostuff .jetbrains .plugin ;
22
33import com .intellij .lang .Language ;
4+ import org .jetbrains .annotations .NotNull ;
45
56public class ProtoLanguage extends Language {
67 public static final ProtoLanguage INSTANCE = new ProtoLanguage ();
78
89 private ProtoLanguage () {
9- super ("Protobuf " );
10+ super ("PROTO " );
1011 }
12+
13+ @ NotNull
14+ @ Override
15+ public String getDisplayName () {
16+ return "Protobuf" ;
17+ }
18+
19+ @ Override
20+ public boolean isCaseSensitive () {
21+ return true ;
22+ }
23+
1124}
Original file line number Diff line number Diff line change 4040
4141 <extensions defaultExtensionNs =" com.intellij" >
4242 <fileTypeFactory implementation =" io.protostuff.jetbrains.plugin.ProtoFileTypeFactory" />
43- <lang .parserDefinition language =" Protobuf "
43+ <lang .parserDefinition language =" PROTO "
4444 implementationClass =" io.protostuff.jetbrains.plugin.ProtoParserDefinition" />
45- <lang .syntaxHighlighterFactory language =" Protobuf "
45+ <lang .syntaxHighlighterFactory language =" PROTO "
4646 implementationClass =" io.protostuff.jetbrains.plugin.ProtoSyntaxHighlighterFactory" />
47- <annotator language =" Protobuf "
47+ <annotator language =" PROTO "
4848 implementationClass =" io.protostuff.jetbrains.plugin.ProtoSyntaxKeywordsAnnotator" />
4949
5050 <colorSettingsPage implementation =" io.protostuff.jetbrains.plugin.ProtoColorSettingsPage" />
You can’t perform that action at this time.
0 commit comments