Skip to content

Commit

Permalink
#22 fix codestyle, extension info
Browse files Browse the repository at this point in the history
  • Loading branch information
Art-Stea1th committed Mar 24, 2020
1 parent 5d44133 commit 2541ce3
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 27 deletions.
3 changes: 3 additions & 0 deletions Extension/ASD.ESH/Assets/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
- v 1.2 build **** rev. *****
Fixed: for update of VS2019 16.5, thanks 'flaengel' (Flavio Engel), 'sharwell' (Sam Harwell)

- v 1.2 build 6711 rev. 40790
Fixed: Visual Studio 2017 version 15.7 no longer works, thanks 'Spaier' (Pavel Levchuk)

- v 1.2 build 6554 rev. 24807
Expand Down
4 changes: 3 additions & 1 deletion Extension/ASD.ESH/Classification/TypesRegistry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ public static IClassificationType ResolveType(ISymbol symbol) {

var userTagName = default(string);

var modifier = symbol is INamespaceSymbol || symbol is ILocalSymbol ? DeclarationModifiers.None : DeclarationModifiers.From(symbol);
var modifier = symbol is INamespaceSymbol || symbol is ILocalSymbol
? DeclarationModifiers.None
: DeclarationModifiers.From(symbol);

switch (symbol.Kind) {

Expand Down
52 changes: 26 additions & 26 deletions Extension/ASD.ESH/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="40DF615B-99F6-4F5D-B5DB-9D87F4801E2E" Version="1.2" Language="en-US" Publisher="Stanislav Kuzmich" />
<DisplayName>Enhanced Syntax Highlighting</DisplayName>
<Description xml:space="preserve">Lightweight Visual Studio editor classifier extension based on the async Roslyn APIs to highlighting custom tags in C# and Visual Basic code.</Description>
<MoreInfo>https://github.com/Art-Stea1th/Enhanced-Syntax-Highlighting</MoreInfo>
<License>Assets\License.txt</License>
<GettingStartedGuide>Assets\GettingStartedGuide.html</GettingStartedGuide>
<ReleaseNotes>Assets\ReleaseNotes.txt</ReleaseNotes>
<Icon>Assets\Icon.png</Icon>
<PreviewImage>Assets\Preview.png</PreviewImage>
<Tags>C#, Visual Basic, Syntax Highlighting, Code Highlighting, Highlighting, Highlight,</Tags>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[14.0,]" />
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[14.0,]" />
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[14.0,]" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.6,)" />
</Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[14.0,]" DisplayName="Visual Studio core editor" />
</Prerequisites>
<Assets>
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
</Assets>
<Metadata>
<Identity Id="40DF615B-99F6-4F5D-B5DB-9D87F4801E2E" Version="1.2" Language="en-US" Publisher="Stanislav Kuzmich &amp; 'ESH-Repository' source code contributors"/>
<DisplayName>Enhanced Syntax Highlighting</DisplayName>
<Description xml:space="preserve">Lightweight Visual Studio editor classifier extension based on the async Roslyn APIs to highlighting custom tags in C# and Visual Basic code.</Description>
<MoreInfo>https://github.com/Art-Stea1th/Enhanced-Syntax-Highlighting</MoreInfo>
<License>Assets\License.txt</License>
<GettingStartedGuide>Assets\GettingStartedGuide.html</GettingStartedGuide>
<ReleaseNotes>Assets\ReleaseNotes.txt</ReleaseNotes>
<Icon>Assets\Icon.png</Icon>
<PreviewImage>Assets\Preview.png</PreviewImage>
<Tags>C#, Visual Basic, Syntax Highlighting, Code Highlighting, Highlighting, Highlight,</Tags>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[14.0,]" />
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[14.0,]" />
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[14.0,]" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.6,)" />
</Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[14.0,]" DisplayName="Visual Studio core editor" />
</Prerequisites>
<Assets>
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
</Assets>
</PackageManifest>

0 comments on commit 2541ce3

Please sign in to comment.