Skip to content

default region.snippet: Missing or unspecified Language attribute #2

@AccessIT

Description

@AccessIT

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

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

<Title>region</Title> region Mads Kristensen Adds a region commment Expansion SurroundsWith name name The name of the region

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions