{"action":"created","issue":{"url":"https://api.github.com/repos/jbosstools/jbosstools-fuse/issues/1002","repository_url":"https://api.github.com/repos/jbosstools/jbosstools-fuse","labels_url":"https://api.github.com/repos/jbosstools/jbosstools-fuse/issues/1002/labels{/name}","comments_url":"https://api.github.com/repos/jbosstools/jbosstools-fuse/issues/1002/comments","events_url":"https://api.github.com/repos/jbosstools/jbosstools-fuse/issues/1002/events","html_url":"https://github.com/jbosstools/jbosstools-fuse/issues/1002","id":241215959,"number":1002,"title":"Camel Editor in Oxygen reformats source after switching from design to source tabsheet","user":{"login":"ronnyaerts","id":6245529,"avatar_url":"https://avatars3.githubusercontent.com/u/6245529?v=3","gravatar_id":"","url":"https://api.github.com/users/ronnyaerts","html_url":"https://github.com/ronnyaerts","followers_url":"https://api.github.com/users/ronnyaerts/followers","following_url":"https://api.github.com/users/ronnyaerts/following{/other_user}","gists_url":"https://api.github.com/users/ronnyaerts/gists{/gist_id}","starred_url":"https://api.github.com/users/ronnyaerts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronnyaerts/subscriptions","organizations_url":"https://api.github.com/users/ronnyaerts/orgs","repos_url":"https://api.github.com/users/ronnyaerts/repos","events_url":"https://api.github.com/users/ronnyaerts/events{/privacy}","received_events_url":"https://api.github.com/users/ronnyaerts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-07T09:57:05Z","updated_at":"2017-07-07T13:32:23Z","closed_at":null,"body":"I just installed the latest Oxygen with \"JBoss Fuse Tooling Apache Camel Editor\" (from the \"JBoss Tools 4.5.0.AM1\"). \r\nI now notice (but I think previous versions already have the same issue) that when I open my camel context file, the \"design\" tabsheet is opened. I don't use the visual editor and always use the \"Source\" tab. I notice that my camel context xml is reformated (or ever completely rewitten) when I switch from the design to the source tab and that is unexpected behaviour because I want to keep the source xml as is. I see for a short moment the original source but it gets reformated after a second or so. Tabs are replaced by spaces. Empty lines are removed. See attachment. \r\n![2017-07-07_11h55_02](https://user-images.githubusercontent.com/6245529/27953210-3f48acc4-630b-11e7-8f1e-a4cb17d6a420.png)\r\n\r\nMy design is even completely empty (and therefore useless) because I only use route context files. \r\n\r\nCan I somehow prevent this reformatting of the source? Or can I directly open the source tab when I open a file? "},"comment":{"url":"https://api.github.com/repos/jbosstools/jbosstools-fuse/issues/comments/313681635","html_url":"https://github.com/jbosstools/jbosstools-fuse/issues/1002#issuecomment-313681635","issue_url":"https://api.github.com/repos/jbosstools/jbosstools-fuse/issues/1002","id":313681635,"user":{"login":"apupier","id":1105127,"avatar_url":"https://avatars1.githubusercontent.com/u/1105127?v=3","gravatar_id":"","url":"https://api.github.com/users/apupier","html_url":"https://github.com/apupier","followers_url":"https://api.github.com/users/apupier/followers","following_url":"https://api.github.com/users/apupier/following{/other_user}","gists_url":"https://api.github.com/users/apupier/gists{/gist_id}","starred_url":"https://api.github.com/users/apupier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apupier/subscriptions","organizations_url":"https://api.github.com/users/apupier/orgs","repos_url":"https://api.github.com/users/apupier/repos","events_url":"https://api.github.com/users/apupier/events{/privacy}","received_events_url":"https://api.github.com/users/apupier/received_events","type":"User","site_admin":false},"created_at":"2017-07-07T13:32:23Z","updated_at":"2017-07-07T13:32:23Z","body":"Hi Ronny,\r\n\r\nAs a workaround, to help you leverage other functionalities provided by Fuse Tooling, what do you think to use the classical XML editor if you are not using the graphical editor?\r\n\r\nYou can use with XML editor with right-clicking on the file:\r\n![image](https://user-images.githubusercontent.com/1105127/27959850-63fdfd94-6329-11e7-95b0-0bc07384bf1f.png)\r\n\r\n\r\nRegards,\r\n\r\n"}}
{"actor":{"display_login":"apupier"}}