Skip to content

Commit 5e710d2

Browse files
committed
Make errors work on both VS2019 and 2022
Error handling
1 parent a51e604 commit 5e710d2

16 files changed

Lines changed: 672 additions & 755 deletions

IronScheme.VisualStudio.Common/IronScheme.VisualStudio.Common.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
<PackageReference Include="Microsoft.VisualStudio.SDK">
5757
<Version>16.10.31321.278</Version>
5858
</PackageReference>
59+
<PackageReference Include="Microsoft.VisualStudio.Validation">
60+
<Version>16.10.35</Version>
61+
</PackageReference>
5962
<PackageReference Include="Microsoft.VSSDK.BuildTools">
6063
<Version>17.0.5232</Version>
6164
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

IronScheme.VisualStudio.REPL/IronScheme.VisualStudio.REPL.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@
163163
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="16.10.31321.278" ExcludeAssets="runtime">
164164
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
165165
</PackageReference>
166+
<PackageReference Include="Microsoft.VisualStudio.Validation">
167+
<Version>16.10.35</Version>
168+
</PackageReference>
166169
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.0.5232" />
167170
</ItemGroup>
168171
<PropertyGroup>

IronScheme.VisualStudio.REPL/source.extension.vsixmanifest

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<Description>IronScheme.REPL</Description>
77
</Metadata>
88
<Installation>
9-
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[11.0,17.0)" />
9+
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[16.0,17.0)">
10+
<ProductArchitecture>x86</ProductArchitecture>
11+
</InstallationTarget>
1012
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Community">
1113
<ProductArchitecture>amd64</ProductArchitecture>
1214
</InstallationTarget>

IronScheme.VisualStudio/BraceMatchingTagger.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.ComponentModel.Composition;
4+
using IronScheme.VisualStudio.Errors;
45
using Microsoft.VisualStudio.Text;
56
using Microsoft.VisualStudio.Text.Editor;
67
using Microsoft.VisualStudio.Text.Tagging;

IronScheme.VisualStudio/ClassificationTagger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ internal ClassificationTagger(ITextView view, ITextBuffer buffer, IBufferTagAggr
134134
_schemeTokenTypes[Tokens.MLSTRING] = registry.GetClassificationType(PredefinedClassificationTypeNames.String);
135135

136136
syntax = registry.GetClassificationType(PredefinedClassificationTypeNames.Keyword);
137-
procedure = registry.GetClassificationType(PredefinedClassificationTypeNames.SymbolDefinition);
137+
procedure = registry.GetClassificationType(PredefinedClassificationTypeNames.SymbolReference);
138138
record = registry.GetClassificationType(PredefinedClassificationTypeNames.Type);
139139

140140
_buffer.Properties["SchemeBindings"] = bindings;

0 commit comments

Comments
 (0)