{"action":"created","issue":{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/2456","repository_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck","labels_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/2456/labels{/name}","comments_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/2456/comments","events_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/2456/events","html_url":"https://github.com/rubberduck-vba/Rubberduck/issues/2456","id":197197691,"number":2456,"title":"Rename takes a long time due to complete code base reparse?","user":{"login":"halcwb","id":683631,"avatar_url":"https://avatars.githubusercontent.com/u/683631?v=3","gravatar_id":"","url":"https://api.github.com/users/halcwb","html_url":"https://github.com/halcwb","followers_url":"https://api.github.com/users/halcwb/followers","following_url":"https://api.github.com/users/halcwb/following{/other_user}","gists_url":"https://api.github.com/users/halcwb/gists{/gist_id}","starred_url":"https://api.github.com/users/halcwb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halcwb/subscriptions","organizations_url":"https://api.github.com/users/halcwb/orgs","repos_url":"https://api.github.com/users/halcwb/repos","events_url":"https://api.github.com/users/halcwb/events{/privacy}","received_events_url":"https://api.github.com/users/halcwb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-22T15:22:31Z","updated_at":"2016-12-23T13:17:37Z","closed_at":"2016-12-23T09:23:35Z","body":"Whenever I rename something, it seems like Rubberduck re-parses the complete code tree. Therefore, you have to wait a while before being to rename something else. Does Rubberduck look at the whole code tree or can it differentiate between local changes and only parse that part (knowing the state of the rest)?"},"comment":{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/comments/268988479","html_url":"https://github.com/rubberduck-vba/Rubberduck/issues/2456#issuecomment-268988479","issue_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/2456","id":268988479,"user":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars.githubusercontent.com/u/5751684?v=3","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T13:17:37Z","updated_at":"2016-12-23T13:17:37Z","body":"I *wish* we could! Roslyn (the C# compiler) seems to be doing something like it - not sure *how* they do it efficiently with immutable red/green AST nodes; one problem is the Abstract Syntax Tree itself: when I wrote the `Declaration` class I knew very little about parsing.. pre-1.2, Rubberduck was working off a (inherently doomed) regex-based parser, that `Declaration` type essentially *is* the closest Rubberduck has to an AST, and it's not enough.. we basically work with prase trees, not syntax trees. The idea is to get ourselves an actual AST after 2.0 is \"green-released\". Not sure we'll be able to pull Roslyn's magic tricks though."}}
{"actor":{"display_login":"retailcoder"}}