{"action":"created","issue":{"url":"https://api.github.com/repos/sonburn/symbol-swapper/issues/12","repository_url":"https://api.github.com/repos/sonburn/symbol-swapper","labels_url":"https://api.github.com/repos/sonburn/symbol-swapper/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/sonburn/symbol-swapper/issues/12/comments","events_url":"https://api.github.com/repos/sonburn/symbol-swapper/issues/12/events","html_url":"https://github.com/sonburn/symbol-swapper/issues/12","id":341349611,"node_id":"MDU6SXNzdWUzNDEzNDk2MTE=","number":12,"title":"Symbol Swap Libraries based on name vs on ID","user":{"login":"josefrichter","id":134302,"node_id":"MDQ6VXNlcjEzNDMwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/134302?v=4","gravatar_id":"","url":"https://api.github.com/users/josefrichter","html_url":"https://github.com/josefrichter","followers_url":"https://api.github.com/users/josefrichter/followers","following_url":"https://api.github.com/users/josefrichter/following{/other_user}","gists_url":"https://api.github.com/users/josefrichter/gists{/gist_id}","starred_url":"https://api.github.com/users/josefrichter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josefrichter/subscriptions","organizations_url":"https://api.github.com/users/josefrichter/orgs","repos_url":"https://api.github.com/users/josefrichter/repos","events_url":"https://api.github.com/users/josefrichter/events{/privacy}","received_events_url":"https://api.github.com/users/josefrichter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-15T20:24:30Z","updated_at":"2018-08-02T13:17:29Z","closed_at":null,"author_association":"NONE","body":"@sonburn it seems like when using \"Symbol Swap Libraries\" option, the symbols are swapped solely based on their ID, and the name of the symbol is ignored?\r\n\r\nExample:\r\nI had \"mySymbol\" and \"alternate/mySymbol\" in a single library. When I moved all my \"alternate/...\" symbols to a separate library and renamed them removing the \"alternate/...\" prefix, the \"Symbol Swap Libraries\" command doesn't work on them and they are ignored. \r\n\r\nWhat does work is cloning the original library file, and adjusting the original \"mySymbol\" to the alternate look. That way in keeps the same name, as well as same ID. \r\n\r\nHowever, the second option would be rather tedious manual work for me on dozens, maybe hundreds, of symbols. Would it be possible to select in the dialog whether you want to replace symbols solely based on name match, or on ID match, or matching both, please?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/sonburn/symbol-swapper/issues/comments/409922577","html_url":"https://github.com/sonburn/symbol-swapper/issues/12#issuecomment-409922577","issue_url":"https://api.github.com/repos/sonburn/symbol-swapper/issues/12","id":409922577,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTkyMjU3Nw==","user":{"login":"sonburn","id":248364,"node_id":"MDQ6VXNlcjI0ODM2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/248364?v=4","gravatar_id":"","url":"https://api.github.com/users/sonburn","html_url":"https://github.com/sonburn","followers_url":"https://api.github.com/users/sonburn/followers","following_url":"https://api.github.com/users/sonburn/following{/other_user}","gists_url":"https://api.github.com/users/sonburn/gists{/gist_id}","starred_url":"https://api.github.com/users/sonburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonburn/subscriptions","organizations_url":"https://api.github.com/users/sonburn/orgs","repos_url":"https://api.github.com/users/sonburn/repos","events_url":"https://api.github.com/users/sonburn/events{/privacy}","received_events_url":"https://api.github.com/users/sonburn/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T13:17:29Z","updated_at":"2018-08-02T13:17:29Z","author_association":"OWNER","body":"@agnethesh I tested this thoroughly and I was able to verify it worked before sharing it. I am on Sketch 51.2. Are you using the full symbol name? For example \"Icon/Tabbar/Home\"... not just \"Home\"?"}}
{"actor":{"display_login":"sonburn"}}