{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/25996","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/25996/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/25996/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/25996/events","html_url":"https://github.com/Microsoft/vscode/issues/25996","id":226491334,"number":25996,"title":"output channel confuse location when there are multiple vscode window","user":{"login":"huangtengfei","id":3126745,"avatar_url":"https://avatars2.githubusercontent.com/u/3126745?v=3","gravatar_id":"","url":"https://api.github.com/users/huangtengfei","html_url":"https://github.com/huangtengfei","followers_url":"https://api.github.com/users/huangtengfei/followers","following_url":"https://api.github.com/users/huangtengfei/following{/other_user}","gists_url":"https://api.github.com/users/huangtengfei/gists{/gist_id}","starred_url":"https://api.github.com/users/huangtengfei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangtengfei/subscriptions","organizations_url":"https://api.github.com/users/huangtengfei/orgs","repos_url":"https://api.github.com/users/huangtengfei/repos","events_url":"https://api.github.com/users/huangtengfei/events{/privacy}","received_events_url":"https://api.github.com/users/huangtengfei/received_events","type":"User","site_admin":false},"labels":[{"id":272689423,"url":"https://api.github.com/repos/Microsoft/vscode/labels/needs%20more%20info","name":"needs more info","color":"708090","default":false}],"state":"open","locked":false,"assignee":{"login":"isidorn","id":1926584,"avatar_url":"https://avatars1.githubusercontent.com/u/1926584?v=3","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false},"assignees":[{"login":"isidorn","id":1926584,"avatar_url":"https://avatars1.githubusercontent.com/u/1926584?v=3","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-05-05T07:12:46Z","updated_at":"2017-05-08T10:06:45Z","closed_at":null,"body":"- VSCode Version: 1.9.1\r\n- OS Version: Darwin x64 16.4.0\r\n\r\nSteps to Reproduce:\r\n\r\n1. Open two vscode window\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3126745/25736004/dd77c074-31a1-11e7-9abc-5e0ab8524ae1.png)\r\n\r\n2. In one vscode window (such as `cc`) , call a command which will create an output channel when click confirm button\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3126745/25736074/3408c974-31a2-11e7-91ca-1d33c6907708.png)\r\n\r\n3. As I expected, this output channel will show in current vscode window, but it showed in another window which opened project `aop`\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3126745/25736314/a08772a2-31a3-11e7-9c7c-30713674964c.png)\r\nThis is my code, it will be called through RPC when user do some operation in electron GUI\r\n\r\n```javascript\r\nseekAdd(params) {\r\n  const output = vscode.window.createOutputChannel('seek');\r\n  output.show();\r\n  output.appendLine('\\n开始添加模板...');\r\n  ...   \r\n},\r\n```\r\n\r\nWhat should I do if I want the output channel show in vscode window which call that command ? \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/299826769","html_url":"https://github.com/Microsoft/vscode/issues/25996#issuecomment-299826769","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/25996","id":299826769,"user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars0.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"created_at":"2017-05-08T10:06:45Z","updated_at":"2017-05-08T10:06:45Z","body":"Did you try to reproduce?"}}
{"actor":{"display_login":"bpasero"}}