{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/imagej/imagej-ui-swing/pulls/40","id":34170874,"html_url":"https://github.com/imagej/imagej-ui-swing/pull/40","diff_url":"https://github.com/imagej/imagej-ui-swing/pull/40.diff","patch_url":"https://github.com/imagej/imagej-ui-swing/pull/40.patch","issue_url":"https://api.github.com/repos/imagej/imagej-ui-swing/issues/40","number":40,"state":"closed","locked":false,"title":"[WIP] Script Editor Improvements and Autocompletion","user":{"login":"Squareys","id":1889284,"avatar_url":"https://avatars.githubusercontent.com/u/1889284?v=3","gravatar_id":"","url":"https://api.github.com/users/Squareys","html_url":"https://github.com/Squareys","followers_url":"https://api.github.com/users/Squareys/followers","following_url":"https://api.github.com/users/Squareys/following{/other_user}","gists_url":"https://api.github.com/users/Squareys/gists{/gist_id}","starred_url":"https://api.github.com/users/Squareys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Squareys/subscriptions","organizations_url":"https://api.github.com/users/Squareys/orgs","repos_url":"https://api.github.com/users/Squareys/repos","events_url":"https://api.github.com/users/Squareys/events{/privacy}","received_events_url":"https://api.github.com/users/Squareys/received_events","type":"User","site_admin":false},"body":"**Very early pull request for discussion!**\r\n\r\nHello @ctrueden, hello all, \r\n\r\nthis will be where I will work on the script editor, make suggestions and discuss changes.\r\nI didn't do too much so far and the main timeframe I am going to be working on this will be mid July - end of September. I'm guessing I might find some time before every now and then, though.\r\n\r\nMy suggestion on how to go about the main goal \"Autocomplete for Java\" would be:\r\n - [x] Add Javadoc to EditorPane (primarily to improve my own understanding of that specific class)\r\n   - [x] Potentially pull apart EditorPane for readability/clarity, extract util methods etc.\r\n - [x] Add API for Autocompletion, SingletonService and Plugins based on https://github.com/bobbylight/AutoComplete\r\n - [x] Implement Autocompletion for Java (primarily) using https://github.com/bobbylight/RSTALanguageSupport (supports some other languages aswell)\r\n   - [ ] Add some preferences and settings in the UI for more fine-grained control over indexing settings etc.\r\n\r\nThe focus on Java is related to my work on the ScriptingNode for KNIME-ImageProcessing.\r\nPlease tell me what you think and if you see any problems with that rough idea of a plan.\r\n\r\nRegarding code format: would it be okay if I let eclipse code formatter run over the code (or the script package) once and commit that in a big \"Format code\" commit?\r\n\r\nGreetings,\r\nSquareys (Jonathan)","created_at":"2015-04-27T13:56:25Z","updated_at":"2015-08-20T21:02:53Z","closed_at":"2015-08-20T21:02:53Z","merged_at":null,"merge_commit_sha":"01e49f557366375c563a72c4b5e15c4fc7b7f8dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/imagej/imagej-ui-swing/pulls/40/commits","review_comments_url":"https://api.github.com/repos/imagej/imagej-ui-swing/pulls/40/comments","review_comment_url":"https://api.github.com/repos/imagej/imagej-ui-swing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/imagej/imagej-ui-swing/issues/40/comments","statuses_url":"https://api.github.com/repos/imagej/imagej-ui-swing/statuses/f59d195d6814f549fb35a0bef11efbc0b36f2e96","head":{"label":"Squareys:scripteditor-rework","ref":"scripteditor-rework","sha":"f59d195d6814f549fb35a0bef11efbc0b36f2e96","user":{"login":"Squareys","id":1889284,"avatar_url":"https://avatars.githubusercontent.com/u/1889284?v=3","gravatar_id":"","url":"https://api.github.com/users/Squareys","html_url":"https://github.com/Squareys","followers_url":"https://api.github.com/users/Squareys/followers","following_url":"https://api.github.com/users/Squareys/following{/other_user}","gists_url":"https://api.github.com/users/Squareys/gists{/gist_id}","starred_url":"https://api.github.com/users/Squareys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Squareys/subscriptions","organizations_url":"https://api.github.com/users/Squareys/orgs","repos_url":"https://api.github.com/users/Squareys/repos","events_url":"https://api.github.com/users/Squareys/events{/privacy}","received_events_url":"https://api.github.com/users/Squareys/received_events","type":"User","site_admin":false},"repo":{"id":34667163,"name":"imagej-ui-swing","full_name":"Squareys/imagej-ui-swing","owner":{"login":"Squareys","id":1889284,"avatar_url":"https://avatars.githubusercontent.com/u/1889284?v=3","gravatar_id":"","url":"https://api.github.com/users/Squareys","html_url":"https://github.com/Squareys","followers_url":"https://api.github.com/users/Squareys/followers","following_url":"https://api.github.com/users/Squareys/following{/other_user}","gists_url":"https://api.github.com/users/Squareys/gists{/gist_id}","starred_url":"https://api.github.com/users/Squareys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Squareys/subscriptions","organizations_url":"https://api.github.com/users/Squareys/orgs","repos_url":"https://api.github.com/users/Squareys/repos","events_url":"https://api.github.com/users/Squareys/events{/privacy}","received_events_url":"https://api.github.com/users/Squareys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Squareys/imagej-ui-swing","description":"ImageJ UI for Java Swing.","fork":true,"url":"https://api.github.com/repos/Squareys/imagej-ui-swing","forks_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/forks","keys_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/teams","hooks_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/hooks","issue_events_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/issues/events{/number}","events_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/events","assignees_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/assignees{/user}","branches_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/branches{/branch}","tags_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/tags","blobs_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/git/refs{/sha}","trees_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/statuses/{sha}","languages_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/languages","stargazers_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/stargazers","contributors_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/contributors","subscribers_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/subscribers","subscription_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/subscription","commits_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/commits{/sha}","git_commits_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/git/commits{/sha}","comments_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/comments{/number}","issue_comment_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/issues/comments{/number}","contents_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/contents/{+path}","compare_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/merges","archive_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/downloads","issues_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/issues{/number}","pulls_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/pulls{/number}","milestones_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/milestones{/number}","notifications_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/labels{/name}","releases_url":"https://api.github.com/repos/Squareys/imagej-ui-swing/releases{/id}","created_at":"2015-04-27T13:05:49Z","updated_at":"2015-04-27T13:05:50Z","pushed_at":"2015-08-20T20:34:35Z","git_url":"git://github.com/Squareys/imagej-ui-swing.git","ssh_url":"git@github.com:Squareys/imagej-ui-swing.git","clone_url":"https://github.com/Squareys/imagej-ui-swing.git","svn_url":"https://github.com/Squareys/imagej-ui-swing","homepage":null,"size":645,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"imagej:master","ref":"master","sha":"122599904598c609637af3f1163d5fa895e139f4","user":{"login":"imagej","id":1268233,"avatar_url":"https://avatars.githubusercontent.com/u/1268233?v=3","gravatar_id":"","url":"https://api.github.com/users/imagej","html_url":"https://github.com/imagej","followers_url":"https://api.github.com/users/imagej/followers","following_url":"https://api.github.com/users/imagej/following{/other_user}","gists_url":"https://api.github.com/users/imagej/gists{/gist_id}","starred_url":"https://api.github.com/users/imagej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imagej/subscriptions","organizations_url":"https://api.github.com/users/imagej/orgs","repos_url":"https://api.github.com/users/imagej/repos","events_url":"https://api.github.com/users/imagej/events{/privacy}","received_events_url":"https://api.github.com/users/imagej/received_events","type":"Organization","site_admin":false},"repo":{"id":19030795,"name":"imagej-ui-swing","full_name":"imagej/imagej-ui-swing","owner":{"login":"imagej","id":1268233,"avatar_url":"https://avatars.githubusercontent.com/u/1268233?v=3","gravatar_id":"","url":"https://api.github.com/users/imagej","html_url":"https://github.com/imagej","followers_url":"https://api.github.com/users/imagej/followers","following_url":"https://api.github.com/users/imagej/following{/other_user}","gists_url":"https://api.github.com/users/imagej/gists{/gist_id}","starred_url":"https://api.github.com/users/imagej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imagej/subscriptions","organizations_url":"https://api.github.com/users/imagej/orgs","repos_url":"https://api.github.com/users/imagej/repos","events_url":"https://api.github.com/users/imagej/events{/privacy}","received_events_url":"https://api.github.com/users/imagej/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/imagej/imagej-ui-swing","description":"ImageJ UI for Java Swing.","fork":false,"url":"https://api.github.com/repos/imagej/imagej-ui-swing","forks_url":"https://api.github.com/repos/imagej/imagej-ui-swing/forks","keys_url":"https://api.github.com/repos/imagej/imagej-ui-swing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imagej/imagej-ui-swing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imagej/imagej-ui-swing/teams","hooks_url":"https://api.github.com/repos/imagej/imagej-ui-swing/hooks","issue_events_url":"https://api.github.com/repos/imagej/imagej-ui-swing/issues/events{/number}","events_url":"https://api.github.com/repos/imagej/imagej-ui-swing/events","assignees_url":"https://api.github.com/repos/imagej/imagej-ui-swing/assignees{/user}","branches_url":"https://api.github.com/repos/imagej/imagej-ui-swing/branches{/branch}","tags_url":"https://api.github.com/repos/imagej/imagej-ui-swing/tags","blobs_url":"https://api.github.com/repos/imagej/imagej-ui-swing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imagej/imagej-ui-swing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imagej/imagej-ui-swing/git/refs{/sha}","trees_url":"https://api.github.com/repos/imagej/imagej-ui-swing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imagej/imagej-ui-swing/statuses/{sha}","languages_url":"https://api.github.com/repos/imagej/imagej-ui-swing/languages","stargazers_url":"https://api.github.com/repos/imagej/imagej-ui-swing/stargazers","contributors_url":"https://api.github.com/repos/imagej/imagej-ui-swing/contributors","subscribers_url":"https://api.github.com/repos/imagej/imagej-ui-swing/subscribers","subscription_url":"https://api.github.com/repos/imagej/imagej-ui-swing/subscription","commits_url":"https://api.github.com/repos/imagej/imagej-ui-swing/commits{/sha}","git_commits_url":"https://api.github.com/repos/imagej/imagej-ui-swing/git/commits{/sha}","comments_url":"https://api.github.com/repos/imagej/imagej-ui-swing/comments{/number}","issue_comment_url":"https://api.github.com/repos/imagej/imagej-ui-swing/issues/comments{/number}","contents_url":"https://api.github.com/repos/imagej/imagej-ui-swing/contents/{+path}","compare_url":"https://api.github.com/repos/imagej/imagej-ui-swing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imagej/imagej-ui-swing/merges","archive_url":"https://api.github.com/repos/imagej/imagej-ui-swing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imagej/imagej-ui-swing/downloads","issues_url":"https://api.github.com/repos/imagej/imagej-ui-swing/issues{/number}","pulls_url":"https://api.github.com/repos/imagej/imagej-ui-swing/pulls{/number}","milestones_url":"https://api.github.com/repos/imagej/imagej-ui-swing/milestones{/number}","notifications_url":"https://api.github.com/repos/imagej/imagej-ui-swing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imagej/imagej-ui-swing/labels{/name}","releases_url":"https://api.github.com/repos/imagej/imagej-ui-swing/releases{/id}","created_at":"2014-04-22T13:34:34Z","updated_at":"2015-05-06T18:12:05Z","pushed_at":"2015-08-20T20:34:36Z","git_url":"git://github.com/imagej/imagej-ui-swing.git","ssh_url":"git@github.com:imagej/imagej-ui-swing.git","clone_url":"https://github.com/imagej/imagej-ui-swing.git","svn_url":"https://github.com/imagej/imagej-ui-swing","homepage":null,"size":2005,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":27,"forks":8,"open_issues":27,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/imagej/imagej-ui-swing/pulls/40"},"html":{"href":"https://github.com/imagej/imagej-ui-swing/pull/40"},"issue":{"href":"https://api.github.com/repos/imagej/imagej-ui-swing/issues/40"},"comments":{"href":"https://api.github.com/repos/imagej/imagej-ui-swing/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/imagej/imagej-ui-swing/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/imagej/imagej-ui-swing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/imagej/imagej-ui-swing/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/imagej/imagej-ui-swing/statuses/f59d195d6814f549fb35a0bef11efbc0b36f2e96"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":8,"review_comments":0,"commits":31,"additions":1839,"deletions":1241,"changed_files":19}}