File tree 4 files changed +8
-8
lines changed
VisualStudioExtensions/Nitra.VisualStudio/Languages
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 15
15
</SpanClasses >
16
16
17
17
<Languages >
18
- <Language Name =" Nitra" FileExtentions =" .nitra" Grammar =" NitraSyntax" StartRule =" Start" >
18
+ <Language Name =" Nitra" FileExtensions =" .nitra" Grammar =" NitraSyntax" StartRule =" Start" >
19
19
<Module >$NitraPath\Nitra.Grammar.dll</Module >
20
20
</Language >
21
- <Language Name =" C#" FileExtentions =" .csn" Grammar =" CSharp" StartRule =" CompilationUnit" >
21
+ <Language Name =" C#" FileExtensions =" .csn" Grammar =" CSharp" StartRule =" CompilationUnit" >
22
22
<Module >$NitraPath\CSharp.Grammar.dll</Module >
23
23
</Language >
24
- <Language Name =" JSON" FileExtentions =" .json" Grammar =" Nitra.Tests.JsonParser" StartRule =" Start" >
24
+ <Language Name =" JSON" FileExtensions =" .json" Grammar =" Nitra.Tests.JsonParser" StartRule =" Start" >
25
25
<Module >$NitraPath\Json.Grammar.dll</Module >
26
26
</Language >
27
27
</Languages >
Original file line number Diff line number Diff line change 17
17
</SpanClasses >
18
18
19
19
<Languages >
20
- <Language Name =" C#" FileExtentions =" .csn" Grammar =" CSharp" StartRule =" CompilationUnit" >
20
+ <Language Name =" C#" FileExtensions =" .csn" Grammar =" CSharp" StartRule =" CompilationUnit" >
21
21
<Module >$NitraSamplesBinPath\CSharp.Grammar.dll</Module >
22
22
</Language >
23
- <Language Name =" JSON" FileExtentions =" .json" Grammar =" Nitra.Tests.JsonParser" StartRule =" Start" >
23
+ <Language Name =" JSON" FileExtensions =" .json" Grammar =" Nitra.Tests.JsonParser" StartRule =" Start" >
24
24
<Module >$NitraSamplesBinPath\Json.Grammar.dll</Module >
25
25
</Language >
26
- <Language Name =" Nitra" FileExtentions =" .nitra" Grammar =" NitraSyntax" StartRule =" Start" >
26
+ <Language Name =" Nitra" FileExtensions =" .nitra" Grammar =" NitraSyntax" StartRule =" Start" >
27
27
<Module >$NitraBinPath\Stage2\Nitra.Grammar.dll</Module >
28
28
</Language >
29
29
</Languages >
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ namespace Nitra.VisualStudio
20
20
{
21
21
public Name : string { get ; }
22
22
public ContentType : IContentType { get ; }
23
- public FileExtentions : list [string ] { get ; }
23
+ public FileExtensions : list [string ] { get ; }
24
24
public Grammar : string { get ; }
25
25
public StartRule : string { get ; }
26
26
public Modules : list [string ] { get ; }
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ namespace Nitra.VisualStudio
93
93
{
94
94
def name = lang.Attribute(" Name" ).Value;
95
95
def oldContentType = contentTypeRegistryService.GetContentType(name);
96
- def fileExtentions = lang.Attribute(" FileExtentions " )?.Value?.SplitToList(' ;' ).RevMap(s => s.Trim().ToLowerInvariant());
96
+ def fileExtentions = lang.Attribute(" FileExtensions " )?.Value?.SplitToList(' ;' ).RevMap(s => s.Trim().ToLowerInvariant());
97
97
98
98
when (oldContentType != null) // remove if exists
99
99
{
You can’t perform that action at this time.
0 commit comments