{"action":"closed","number":147,"pull_request":{"url":"https://api.github.com/repos/ensime/ensime-atom/pulls/147","id":58346300,"html_url":"https://github.com/ensime/ensime-atom/pull/147","diff_url":"https://github.com/ensime/ensime-atom/pull/147.diff","patch_url":"https://github.com/ensime/ensime-atom/pull/147.patch","issue_url":"https://api.github.com/repos/ensime/ensime-atom/issues/147","number":147,"state":"closed","locked":false,"title":"Adds documentation lookup","user":{"login":"d6y","id":102661,"avatar_url":"https://avatars.githubusercontent.com/u/102661?v=3","gravatar_id":"","url":"https://api.github.com/users/d6y","html_url":"https://github.com/d6y","followers_url":"https://api.github.com/users/d6y/followers","following_url":"https://api.github.com/users/d6y/following{/other_user}","gists_url":"https://api.github.com/users/d6y/gists{/gist_id}","starred_url":"https://api.github.com/users/d6y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d6y/subscriptions","organizations_url":"https://api.github.com/users/d6y/orgs","repos_url":"https://api.github.com/users/d6y/repos","events_url":"https://api.github.com/users/d6y/events{/privacy}","received_events_url":"https://api.github.com/users/d6y/received_events","type":"User","site_admin":false},"body":"This PR adds a \"go to doc\" command mapped to ctrl-alt d.\r\n\r\nIt asks ENSIME for the documentation URL for either the selected text (if any) or the text under the cursor.\r\n\r\nIt opens the documentation in Atom using the browser-plus package (which it depends on):\r\n\r\n![scala standard library 2 11 7 - option - scala standard library 2 11 7 - scala option users richard developer wip slash 2016-02-04 20-38-47](https://cloud.githubusercontent.com/assets/102661/12829104/35fe7e1a-cb80-11e5-9abd-18973e0930cb.png)\r\n\r\nThe settings have been modified to allow you to pick where to open the documentation. The default is the \"right split\" (which works for me). I've no idea what \"left\", \"top\", or \"bottom\" do - [they are documented](https://atom.io/docs/api/v1.4.3/Workspace#instance-open), but don't seem to work as I'd expect.\r\n\r\nI've also added \"external-browser\" as an option, so you have the documentation open in your default browser instead of in Atom.\r\n\r\n\r\nFixes: #139 ","created_at":"2016-02-04T20:46:21Z","updated_at":"2016-02-04T22:10:47Z","closed_at":"2016-02-04T22:10:47Z","merged_at":"2016-02-04T22:10:47Z","merge_commit_sha":"dcc40e8a247839d4f2a7f9487caa30c5f3be6051","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ensime/ensime-atom/pulls/147/commits","review_comments_url":"https://api.github.com/repos/ensime/ensime-atom/pulls/147/comments","review_comment_url":"https://api.github.com/repos/ensime/ensime-atom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ensime/ensime-atom/issues/147/comments","statuses_url":"https://api.github.com/repos/ensime/ensime-atom/statuses/6c39826fbba4a85b51bcf5052578569675978554","head":{"label":"d6y:feature/doc","ref":"feature/doc","sha":"6c39826fbba4a85b51bcf5052578569675978554","user":{"login":"d6y","id":102661,"avatar_url":"https://avatars.githubusercontent.com/u/102661?v=3","gravatar_id":"","url":"https://api.github.com/users/d6y","html_url":"https://github.com/d6y","followers_url":"https://api.github.com/users/d6y/followers","following_url":"https://api.github.com/users/d6y/following{/other_user}","gists_url":"https://api.github.com/users/d6y/gists{/gist_id}","starred_url":"https://api.github.com/users/d6y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d6y/subscriptions","organizations_url":"https://api.github.com/users/d6y/orgs","repos_url":"https://api.github.com/users/d6y/repos","events_url":"https://api.github.com/users/d6y/events{/privacy}","received_events_url":"https://api.github.com/users/d6y/received_events","type":"User","site_admin":false},"repo":{"id":34324042,"name":"atom-ensime","full_name":"d6y/atom-ensime","owner":{"login":"d6y","id":102661,"avatar_url":"https://avatars.githubusercontent.com/u/102661?v=3","gravatar_id":"","url":"https://api.github.com/users/d6y","html_url":"https://github.com/d6y","followers_url":"https://api.github.com/users/d6y/followers","following_url":"https://api.github.com/users/d6y/following{/other_user}","gists_url":"https://api.github.com/users/d6y/gists{/gist_id}","starred_url":"https://api.github.com/users/d6y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d6y/subscriptions","organizations_url":"https://api.github.com/users/d6y/orgs","repos_url":"https://api.github.com/users/d6y/repos","events_url":"https://api.github.com/users/d6y/events{/privacy}","received_events_url":"https://api.github.com/users/d6y/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/d6y/atom-ensime","description":"","fork":true,"url":"https://api.github.com/repos/d6y/atom-ensime","forks_url":"https://api.github.com/repos/d6y/atom-ensime/forks","keys_url":"https://api.github.com/repos/d6y/atom-ensime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/d6y/atom-ensime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/d6y/atom-ensime/teams","hooks_url":"https://api.github.com/repos/d6y/atom-ensime/hooks","issue_events_url":"https://api.github.com/repos/d6y/atom-ensime/issues/events{/number}","events_url":"https://api.github.com/repos/d6y/atom-ensime/events","assignees_url":"https://api.github.com/repos/d6y/atom-ensime/assignees{/user}","branches_url":"https://api.github.com/repos/d6y/atom-ensime/branches{/branch}","tags_url":"https://api.github.com/repos/d6y/atom-ensime/tags","blobs_url":"https://api.github.com/repos/d6y/atom-ensime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/d6y/atom-ensime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/d6y/atom-ensime/git/refs{/sha}","trees_url":"https://api.github.com/repos/d6y/atom-ensime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/d6y/atom-ensime/statuses/{sha}","languages_url":"https://api.github.com/repos/d6y/atom-ensime/languages","stargazers_url":"https://api.github.com/repos/d6y/atom-ensime/stargazers","contributors_url":"https://api.github.com/repos/d6y/atom-ensime/contributors","subscribers_url":"https://api.github.com/repos/d6y/atom-ensime/subscribers","subscription_url":"https://api.github.com/repos/d6y/atom-ensime/subscription","commits_url":"https://api.github.com/repos/d6y/atom-ensime/commits{/sha}","git_commits_url":"https://api.github.com/repos/d6y/atom-ensime/git/commits{/sha}","comments_url":"https://api.github.com/repos/d6y/atom-ensime/comments{/number}","issue_comment_url":"https://api.github.com/repos/d6y/atom-ensime/issues/comments{/number}","contents_url":"https://api.github.com/repos/d6y/atom-ensime/contents/{+path}","compare_url":"https://api.github.com/repos/d6y/atom-ensime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/d6y/atom-ensime/merges","archive_url":"https://api.github.com/repos/d6y/atom-ensime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/d6y/atom-ensime/downloads","issues_url":"https://api.github.com/repos/d6y/atom-ensime/issues{/number}","pulls_url":"https://api.github.com/repos/d6y/atom-ensime/pulls{/number}","milestones_url":"https://api.github.com/repos/d6y/atom-ensime/milestones{/number}","notifications_url":"https://api.github.com/repos/d6y/atom-ensime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/d6y/atom-ensime/labels{/name}","releases_url":"https://api.github.com/repos/d6y/atom-ensime/releases{/id}","deployments_url":"https://api.github.com/repos/d6y/atom-ensime/deployments","created_at":"2015-04-21T11:54:36Z","updated_at":"2016-01-29T11:58:51Z","pushed_at":"2016-02-04T20:40:46Z","git_url":"git://github.com/d6y/atom-ensime.git","ssh_url":"git@github.com:d6y/atom-ensime.git","clone_url":"https://github.com/d6y/atom-ensime.git","svn_url":"https://github.com/d6y/atom-ensime","homepage":null,"size":256,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ensime:master","ref":"master","sha":"a3406a16c19c174842117b52aac77bde5ec7d63b","user":{"login":"ensime","id":5089042,"avatar_url":"https://avatars.githubusercontent.com/u/5089042?v=3","gravatar_id":"","url":"https://api.github.com/users/ensime","html_url":"https://github.com/ensime","followers_url":"https://api.github.com/users/ensime/followers","following_url":"https://api.github.com/users/ensime/following{/other_user}","gists_url":"https://api.github.com/users/ensime/gists{/gist_id}","starred_url":"https://api.github.com/users/ensime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ensime/subscriptions","organizations_url":"https://api.github.com/users/ensime/orgs","repos_url":"https://api.github.com/users/ensime/repos","events_url":"https://api.github.com/users/ensime/events{/privacy}","received_events_url":"https://api.github.com/users/ensime/received_events","type":"Organization","site_admin":false},"repo":{"id":33487950,"name":"ensime-atom","full_name":"ensime/ensime-atom","owner":{"login":"ensime","id":5089042,"avatar_url":"https://avatars.githubusercontent.com/u/5089042?v=3","gravatar_id":"","url":"https://api.github.com/users/ensime","html_url":"https://github.com/ensime","followers_url":"https://api.github.com/users/ensime/followers","following_url":"https://api.github.com/users/ensime/following{/other_user}","gists_url":"https://api.github.com/users/ensime/gists{/gist_id}","starred_url":"https://api.github.com/users/ensime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ensime/subscriptions","organizations_url":"https://api.github.com/users/ensime/orgs","repos_url":"https://api.github.com/users/ensime/repos","events_url":"https://api.github.com/users/ensime/events{/privacy}","received_events_url":"https://api.github.com/users/ensime/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ensime/ensime-atom","description":"ENSIME Atom plugin for Scala developers","fork":false,"url":"https://api.github.com/repos/ensime/ensime-atom","forks_url":"https://api.github.com/repos/ensime/ensime-atom/forks","keys_url":"https://api.github.com/repos/ensime/ensime-atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ensime/ensime-atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ensime/ensime-atom/teams","hooks_url":"https://api.github.com/repos/ensime/ensime-atom/hooks","issue_events_url":"https://api.github.com/repos/ensime/ensime-atom/issues/events{/number}","events_url":"https://api.github.com/repos/ensime/ensime-atom/events","assignees_url":"https://api.github.com/repos/ensime/ensime-atom/assignees{/user}","branches_url":"https://api.github.com/repos/ensime/ensime-atom/branches{/branch}","tags_url":"https://api.github.com/repos/ensime/ensime-atom/tags","blobs_url":"https://api.github.com/repos/ensime/ensime-atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ensime/ensime-atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ensime/ensime-atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/ensime/ensime-atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ensime/ensime-atom/statuses/{sha}","languages_url":"https://api.github.com/repos/ensime/ensime-atom/languages","stargazers_url":"https://api.github.com/repos/ensime/ensime-atom/stargazers","contributors_url":"https://api.github.com/repos/ensime/ensime-atom/contributors","subscribers_url":"https://api.github.com/repos/ensime/ensime-atom/subscribers","subscription_url":"https://api.github.com/repos/ensime/ensime-atom/subscription","commits_url":"https://api.github.com/repos/ensime/ensime-atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/ensime/ensime-atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/ensime/ensime-atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/ensime/ensime-atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/ensime/ensime-atom/contents/{+path}","compare_url":"https://api.github.com/repos/ensime/ensime-atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ensime/ensime-atom/merges","archive_url":"https://api.github.com/repos/ensime/ensime-atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ensime/ensime-atom/downloads","issues_url":"https://api.github.com/repos/ensime/ensime-atom/issues{/number}","pulls_url":"https://api.github.com/repos/ensime/ensime-atom/pulls{/number}","milestones_url":"https://api.github.com/repos/ensime/ensime-atom/milestones{/number}","notifications_url":"https://api.github.com/repos/ensime/ensime-atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ensime/ensime-atom/labels{/name}","releases_url":"https://api.github.com/repos/ensime/ensime-atom/releases{/id}","deployments_url":"https://api.github.com/repos/ensime/ensime-atom/deployments","created_at":"2015-04-06T15:04:18Z","updated_at":"2016-02-01T17:48:15Z","pushed_at":"2016-02-04T22:10:47Z","git_url":"git://github.com/ensime/ensime-atom.git","ssh_url":"git@github.com:ensime/ensime-atom.git","clone_url":"https://github.com/ensime/ensime-atom.git","svn_url":"https://github.com/ensime/ensime-atom","homepage":"","size":238,"stargazers_count":66,"watchers_count":66,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":26,"forks":11,"open_issues":26,"watchers":66,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ensime/ensime-atom/pulls/147"},"html":{"href":"https://github.com/ensime/ensime-atom/pull/147"},"issue":{"href":"https://api.github.com/repos/ensime/ensime-atom/issues/147"},"comments":{"href":"https://api.github.com/repos/ensime/ensime-atom/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/ensime/ensime-atom/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/ensime/ensime-atom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ensime/ensime-atom/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/ensime/ensime-atom/statuses/6c39826fbba4a85b51bcf5052578569675978554"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hedefalk","id":116520,"avatar_url":"https://avatars.githubusercontent.com/u/116520?v=3","gravatar_id":"","url":"https://api.github.com/users/hedefalk","html_url":"https://github.com/hedefalk","followers_url":"https://api.github.com/users/hedefalk/followers","following_url":"https://api.github.com/users/hedefalk/following{/other_user}","gists_url":"https://api.github.com/users/hedefalk/gists{/gist_id}","starred_url":"https://api.github.com/users/hedefalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedefalk/subscriptions","organizations_url":"https://api.github.com/users/hedefalk/orgs","repos_url":"https://api.github.com/users/hedefalk/repos","events_url":"https://api.github.com/users/hedefalk/events{/privacy}","received_events_url":"https://api.github.com/users/hedefalk/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":6,"additions":83,"deletions":10,"changed_files":6}}