JavaScriptRegions icon indicating copy to clipboard operation
JavaScriptRegions copied to clipboard

default region.snippet: Missing or unspecified Language attribute

Open AccessIT opened this issue 8 years ago • 0 comments

Installed product versions

  • Visual Studio: 2017 Enterprise 15.5
  • This extension: 1.1.3 (12/12/2017)

Description

When opening Visual Studio a notification is showing in the output window from "Code Snippet Output" with the following text C:\Users........\AppData\Local\Microsoft\VisualStudio\15.0_883676df\Extensions\zoe4gqkn.4wa\Snippets\RegionSnippets\region.snippet: Missing or unspecified Language attribute

Can be resolved by adding the attribute lang="en-us" to the region.snippet opening tag <CodeSnippet Format="1.1.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet" lang="en-us">

Steps to recreate

Default install of Javascript regions Open any project Message shows as per above Snippet and extension work as expected

Current behavior

Message stating language attribute missing

Expected behavior

no notification

region.snippet contents

region region Mads Kristensen Adds a region commment Expansion SurroundsWith
name name The name of the region

AccessIT avatar Dec 15 '17 02:12 AccessIT