{"action":"created","issue":{"url":"https://api.github.com/repos/cursive-ide/cursive/issues/1669","repository_url":"https://api.github.com/repos/cursive-ide/cursive","labels_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1669/labels{/name}","comments_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1669/comments","events_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1669/events","html_url":"https://github.com/cursive-ide/cursive/issues/1669","id":210299724,"number":1669,"title":"Structural editing toggle broke all my code","user":{"login":"mikub","id":674012,"avatar_url":"https://avatars2.githubusercontent.com/u/674012?v=4","gravatar_id":"","url":"https://api.github.com/users/mikub","html_url":"https://github.com/mikub","followers_url":"https://api.github.com/users/mikub/followers","following_url":"https://api.github.com/users/mikub/following{/other_user}","gists_url":"https://api.github.com/users/mikub/gists{/gist_id}","starred_url":"https://api.github.com/users/mikub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikub/subscriptions","organizations_url":"https://api.github.com/users/mikub/orgs","repos_url":"https://api.github.com/users/mikub/repos","events_url":"https://api.github.com/users/mikub/events{/privacy}","received_events_url":"https://api.github.com/users/mikub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-02-26T08:45:10Z","updated_at":"2017-12-10T23:34:09Z","closed_at":null,"author_association":"NONE","body":"Gave Cursive a chance and was quite enthusiastic fan but now I am very very scared. Toggling Structural editing (especially to Parinfer Indent Mode) automatically (!) made changes in arbitrary places of my entire codebase (!!!) without any prompt (!!!!). \r\nIt might be some rookie mistake (though i am quite experienced with other java IDEs - eclipse/STS - as well as with clojure IDEs like LightTable). Seems that even files that i did not edit/save (!) were affected. Closing brackets/parens moved all over the places in many many of my functions, especially in multiple-arity functions.\r\n\r\nI am sorry but i will not even try to reproduce this or write a test case (though I am able to)  as I am going to run very very far and very very fast away from Cursive. It is the first time in my life were my IDE made unwanted changes to my entire project, changing code arbitrarily in various places with no prompt! Going to go into my svn to grab last commit and then off back to emacs or light table. It's a shame as i often work on java projects or interoperability and i miss the full blown IDEs features. I guess I will not be seeing you Cursive anytime soon, so live long and prosper."},"comment":{"url":"https://api.github.com/repos/cursive-ide/cursive/issues/comments/350591113","html_url":"https://github.com/cursive-ide/cursive/issues/1669#issuecomment-350591113","issue_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1669","id":350591113,"user":{"login":"cursive-ide","id":5589171,"avatar_url":"https://avatars2.githubusercontent.com/u/5589171?v=4","gravatar_id":"","url":"https://api.github.com/users/cursive-ide","html_url":"https://github.com/cursive-ide","followers_url":"https://api.github.com/users/cursive-ide/followers","following_url":"https://api.github.com/users/cursive-ide/following{/other_user}","gists_url":"https://api.github.com/users/cursive-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/cursive-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cursive-ide/subscriptions","organizations_url":"https://api.github.com/users/cursive-ide/orgs","repos_url":"https://api.github.com/users/cursive-ide/repos","events_url":"https://api.github.com/users/cursive-ide/events{/privacy}","received_events_url":"https://api.github.com/users/cursive-ide/received_events","type":"User","site_admin":false},"created_at":"2017-12-10T23:34:09Z","updated_at":"2017-12-10T23:34:09Z","author_association":"OWNER","body":"The fact that parinfer modifies files when opening them is intrinsic to parinfer, at least up till now. I actually just wrote to the mailing list this morning discussing all this [here](https://groups.google.com/d/msg/cursive/JpjS9eYIBAc/BqPmnDyZCQAJ). The tl;dr is that this should hopefully be fixed soon with the integration of parinfer v3, which comes (in Cursive) with a new way of integrating parinfer I've developed. There's also a link there to a doc I wrote in the parinfer wiki describing why the occasional breakage (the original problem of this ticket) happens."}}
{"actor":{"display_login":"cursive-ide"}}