{"action":"opened","issue":{"url":"https://api.github.com/repos/PowerShell/EditorSyntax/issues/17","repository_url":"https://api.github.com/repos/PowerShell/EditorSyntax","labels_url":"https://api.github.com/repos/PowerShell/EditorSyntax/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/EditorSyntax/issues/17/comments","events_url":"https://api.github.com/repos/PowerShell/EditorSyntax/issues/17/events","html_url":"https://github.com/PowerShell/EditorSyntax/issues/17","id":174135734,"number":17,"title":"Syntax highlighting problem with ValidateScript parameter attribute","user":{"login":"pcgeek86","id":466713,"avatar_url":"https://avatars.githubusercontent.com/u/466713?v=3","gravatar_id":"","url":"https://api.github.com/users/pcgeek86","html_url":"https://github.com/pcgeek86","followers_url":"https://api.github.com/users/pcgeek86/followers","following_url":"https://api.github.com/users/pcgeek86/following{/other_user}","gists_url":"https://api.github.com/users/pcgeek86/gists{/gist_id}","starred_url":"https://api.github.com/users/pcgeek86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcgeek86/subscriptions","organizations_url":"https://api.github.com/users/pcgeek86/orgs","repos_url":"https://api.github.com/users/pcgeek86/repos","events_url":"https://api.github.com/users/pcgeek86/events{/privacy}","received_events_url":"https://api.github.com/users/pcgeek86/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T21:54:09Z","updated_at":"2016-08-30T21:54:09Z","closed_at":null,"body":"# Issue\r\nThe `[ValidateScript({ ... })]` parameter attribute is commonly used to perform customized validation on parameter values that a caller passes into a PowerShell function. In Visual Studio Code `1.4.0`, running on Windows 10 Anniversary Update, with version `0.7.1` of the PowerShell extension, the syntax highlighting inside this parameter attribute is incorrectly handled.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/466713/18104457/691a4514-6eb8-11e6-95ee-646bd7f8c3cf.png)\r\n\r\n# Expected Result\r\n\r\nThe syntax highlighting should work consistently both inside and outside of a `[ValidateScript({ ... })]` parameter attribute.\r\n\r\nhttps://github.com/PowerShell/vscode-powershell/issues/272\r\n\r\nCheers,\r\n**Trevor Sullivan**\r\nDocker Captain\r\nMicrosoft MVP: Cloud & Data Center Management\r\nhttps://trevorsullivan.net\r\nhttps://twitter.com/pcgeek86"}}
{"actor":{"display_login":"pcgeek86"}}