{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/18016","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/18016/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/18016/comments","events_url":"https://api.github.com/repos/apple/swift/issues/18016/events","html_url":"https://github.com/apple/swift/pull/18016","id":342090714,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMDc0NDIy","number":18016,"title":"[libSyntax] Incremental syntax colouring","user":{"login":"ahoppen","id":4062178,"node_id":"MDQ6VXNlcjQwNjIxNzg=","avatar_url":"https://avatars3.githubusercontent.com/u/4062178?v=4","gravatar_id":"","url":"https://api.github.com/users/ahoppen","html_url":"https://github.com/ahoppen","followers_url":"https://api.github.com/users/ahoppen/followers","following_url":"https://api.github.com/users/ahoppen/following{/other_user}","gists_url":"https://api.github.com/users/ahoppen/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoppen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoppen/subscriptions","organizations_url":"https://api.github.com/users/ahoppen/orgs","repos_url":"https://api.github.com/users/ahoppen/repos","events_url":"https://api.github.com/users/ahoppen/events{/privacy}","received_events_url":"https://api.github.com/users/ahoppen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-17T21:25:07Z","updated_at":"2018-07-18T20:44:05Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/18016","html_url":"https://github.com/apple/swift/pull/18016","diff_url":"https://github.com/apple/swift/pull/18016.diff","patch_url":"https://github.com/apple/swift/pull/18016.patch"},"body":"This PR enables incremental syntax parsing from the SourceKit API. \r\nThis can be used in two scenarios: \r\n1. If just the syntax tree is retrieved, it is now parsed incrementally for every edit that gets submitted\r\n2. If `key.forcelibsyntaxbasedprocessing` is specified (and thus the syntax map generated from the syntax tree), the syntax tree will also be parsed incrementally.\r\n\r\nAlso, this PR adds an option to pass the regions that were reused as part of incremental parsing back to the caller via SourceKit, which enabled the editor to visualise the reused regions for e.g. debugging purposes."},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/406068034","html_url":"https://github.com/apple/swift/pull/18016#issuecomment-406068034","issue_url":"https://api.github.com/repos/apple/swift/issues/18016","id":406068034,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjA2ODAzNA==","user":{"login":"swift-ci","id":15467072,"node_id":"MDQ6VXNlcjE1NDY3MDcy","avatar_url":"https://avatars0.githubusercontent.com/u/15467072?v=4","gravatar_id":"","url":"https://api.github.com/users/swift-ci","html_url":"https://github.com/swift-ci","followers_url":"https://api.github.com/users/swift-ci/followers","following_url":"https://api.github.com/users/swift-ci/following{/other_user}","gists_url":"https://api.github.com/users/swift-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/swift-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swift-ci/subscriptions","organizations_url":"https://api.github.com/users/swift-ci/orgs","repos_url":"https://api.github.com/users/swift-ci/repos","events_url":"https://api.github.com/users/swift-ci/events{/privacy}","received_events_url":"https://api.github.com/users/swift-ci/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T20:44:05Z","updated_at":"2018-07-18T20:44:05Z","author_association":"CONTRIBUTOR","body":"**Build failed**\n[Swift Test OS X Platform](https://ci.swift.org/job/swift-PR-osx/6329/)\nGit Sha - ab4fc6224fa786db07ec0e19841a9df7bd73fd69\n"}}
{"actor":{"display_login":"swift-ci"}}