{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/comments/193206232","pull_request_review_id":126133431,"id":193206232,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzIwNjIzMg==","diff_hunk":"@@ -14,6 +15,11 @@ export function applyTemplateCommand() {\n \n export function applyTemplate() {\n     reporter.sendTelemetryEvent(\"command\", { command: telemetryCommand });\n-    vscode.commands.executeCommand(\"applyTemplate\").then(\n-        (err) => vscode.window.showErrorMessage(\"Docs-article-templates extension is not installed or disabled.\"));\n+    const extensionName = \"docsmsft.docs-article-templates\";\n+    const { msTimeValue } = generateTimestamp();\n+    const friendlyName = \"docsmsft.docs-article-templates\".split(\".\").reverse()[0];","path":"docs-markdown/src/controllers/template-controller.ts","position":16,"original_position":16,"commit_id":"16cc57368964c8aa69bfcc2000f74d7698d34c1c","original_commit_id":"16cc57368964c8aa69bfcc2000f74d7698d34c1c","user":{"login":"wibjorn","id":30843002,"node_id":"MDQ6VXNlcjMwODQzMDAy","avatar_url":"https://avatars3.githubusercontent.com/u/30843002?v=4","gravatar_id":"","url":"https://api.github.com/users/wibjorn","html_url":"https://github.com/wibjorn","followers_url":"https://api.github.com/users/wibjorn/followers","following_url":"https://api.github.com/users/wibjorn/following{/other_user}","gists_url":"https://api.github.com/users/wibjorn/gists{/gist_id}","starred_url":"https://api.github.com/users/wibjorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wibjorn/subscriptions","organizations_url":"https://api.github.com/users/wibjorn/orgs","repos_url":"https://api.github.com/users/wibjorn/repos","events_url":"https://api.github.com/users/wibjorn/events{/privacy}","received_events_url":"https://api.github.com/users/wibjorn/received_events","type":"User","site_admin":false},"body":"not that it matters too much but you could:\r\n\r\n`const [ friendlyName ] = \"docsmsft.docs-article-templates\".split(\".\").reverse();`","created_at":"2018-06-05T20:12:43Z","updated_at":"2018-06-05T20:14:32Z","html_url":"https://github.com/Microsoft/vscode-docs-authoring/pull/61#discussion_r193206232","pull_request_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/61","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/comments/193206232"},"html":{"href":"https://github.com/Microsoft/vscode-docs-authoring/pull/61#discussion_r193206232"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/61","id":192819113,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyODE5MTEz","html_url":"https://github.com/Microsoft/vscode-docs-authoring/pull/61","diff_url":"https://github.com/Microsoft/vscode-docs-authoring/pull/61.diff","patch_url":"https://github.com/Microsoft/vscode-docs-authoring/pull/61.patch","issue_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues/61","number":61,"state":"open","locked":false,"title":"Update template-controller to resolve template false template notfica…","user":{"login":"jamarw","id":11825888,"node_id":"MDQ6VXNlcjExODI1ODg4","avatar_url":"https://avatars2.githubusercontent.com/u/11825888?v=4","gravatar_id":"","url":"https://api.github.com/users/jamarw","html_url":"https://github.com/jamarw","followers_url":"https://api.github.com/users/jamarw/followers","following_url":"https://api.github.com/users/jamarw/following{/other_user}","gists_url":"https://api.github.com/users/jamarw/gists{/gist_id}","starred_url":"https://api.github.com/users/jamarw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamarw/subscriptions","organizations_url":"https://api.github.com/users/jamarw/orgs","repos_url":"https://api.github.com/users/jamarw/repos","events_url":"https://api.github.com/users/jamarw/events{/privacy}","received_events_url":"https://api.github.com/users/jamarw/received_events","type":"User","site_admin":false},"body":"…tion error\r\n\r\n1. Use checkExtension function to check for active template extension.  Execute applyTemplate command on success/active. Command will not show in quickpick, toolbar or nav menu on failure/not installed/disabled.","created_at":"2018-06-05T19:57:25Z","updated_at":"2018-06-05T20:14:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f17ff3d00e5dfdb9bfdd799a9c61784ad1ebd00a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jeahyoun","id":31521405,"node_id":"MDQ6VXNlcjMxNTIxNDA1","avatar_url":"https://avatars3.githubusercontent.com/u/31521405?v=4","gravatar_id":"","url":"https://api.github.com/users/jeahyoun","html_url":"https://github.com/jeahyoun","followers_url":"https://api.github.com/users/jeahyoun/followers","following_url":"https://api.github.com/users/jeahyoun/following{/other_user}","gists_url":"https://api.github.com/users/jeahyoun/gists{/gist_id}","starred_url":"https://api.github.com/users/jeahyoun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeahyoun/subscriptions","organizations_url":"https://api.github.com/users/jeahyoun/orgs","repos_url":"https://api.github.com/users/jeahyoun/repos","events_url":"https://api.github.com/users/jeahyoun/events{/privacy}","received_events_url":"https://api.github.com/users/jeahyoun/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/61/commits","review_comments_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/61/comments","review_comment_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues/61/comments","statuses_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/statuses/16cc57368964c8aa69bfcc2000f74d7698d34c1c","head":{"label":"Microsoft:jamarw/fix-false-template-error-message","ref":"jamarw/fix-false-template-error-message","sha":"16cc57368964c8aa69bfcc2000f74d7698d34c1c","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":123037936,"node_id":"MDEwOlJlcG9zaXRvcnkxMjMwMzc5MzY=","name":"vscode-docs-authoring","full_name":"Microsoft/vscode-docs-authoring","owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vscode-docs-authoring","description":"VSCode extension that provides markdown authoring assistance to docs.microsoft.com contributors","fork":false,"url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring","forks_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/forks","keys_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/teams","hooks_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/events","assignees_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/tags","blobs_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/subscription","commits_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/merges","archive_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/downloads","issues_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/deployments","created_at":"2018-02-26T22:15:25Z","updated_at":"2018-06-05T18:32:33Z","pushed_at":"2018-06-05T19:57:25Z","git_url":"git://github.com/Microsoft/vscode-docs-authoring.git","ssh_url":"git@github.com:Microsoft/vscode-docs-authoring.git","clone_url":"https://github.com/Microsoft/vscode-docs-authoring.git","svn_url":"https://github.com/Microsoft/vscode-docs-authoring","homepage":null,"size":8847,"stargazers_count":23,"watchers_count":23,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":4,"open_issues":11,"watchers":23,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"c4798a461e3e71fdc2611e4f964bae661282415b","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":123037936,"node_id":"MDEwOlJlcG9zaXRvcnkxMjMwMzc5MzY=","name":"vscode-docs-authoring","full_name":"Microsoft/vscode-docs-authoring","owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vscode-docs-authoring","description":"VSCode extension that provides markdown authoring assistance to docs.microsoft.com contributors","fork":false,"url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring","forks_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/forks","keys_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/teams","hooks_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/events","assignees_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/tags","blobs_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/subscription","commits_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/merges","archive_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/downloads","issues_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/deployments","created_at":"2018-02-26T22:15:25Z","updated_at":"2018-06-05T18:32:33Z","pushed_at":"2018-06-05T19:57:25Z","git_url":"git://github.com/Microsoft/vscode-docs-authoring.git","ssh_url":"git@github.com:Microsoft/vscode-docs-authoring.git","clone_url":"https://github.com/Microsoft/vscode-docs-authoring.git","svn_url":"https://github.com/Microsoft/vscode-docs-authoring","homepage":null,"size":8847,"stargazers_count":23,"watchers_count":23,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":4,"open_issues":11,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/61"},"html":{"href":"https://github.com/Microsoft/vscode-docs-authoring/pull/61"},"issue":{"href":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues/61"},"comments":{"href":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/vscode-docs-authoring/statuses/16cc57368964c8aa69bfcc2000f74d7698d34c1c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"wibjorn"}}