{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/zen-coding/issues/77","labels_url":"https://api.github.com/repos/chrsmith/zen-coding/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/zen-coding/issues/77/comments","events_url":"https://api.github.com/repos/chrsmith/zen-coding/issues/77/events","html_url":"https://github.com/chrsmith/zen-coding/issues/77","id":58991908,"number":77,"title":"soft tabs vs hard tabs inside settings file","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/zen-coding/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/zen-coding/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/zen-coding/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T00:05:41Z","updated_at":"2015-02-26T00:05:41Z","closed_at":"2015-02-26T00:05:41Z","body":"```\nWhat steps will reproduce the problem?\n1. set soft tabs in editor\n2. convert all hard tabs to spaces (preferably 4)\n3. expand a complex abbreviation (with snippet)\n\nWhat is the expected output? What do you see instead?\nexpanded content should not have hard tabs\n\nWhat version of the product are you using? On what operating system?\nusing v 0.5.1, windows xp, jEdit (which is not supported, but I still think \nit's an upstream bug).\n\nThank you.\n\n```\n\n-----\nOriginal issue reported on code.google.com by `szabolcs.kurdi@gmail.com` on 27 Dec 2009 at 1:02"},"comment":{"url":"https://api.github.com/repos/chrsmith/zen-coding/issues/comments/76090493","html_url":"https://github.com/chrsmith/zen-coding/issues/77#issuecomment-76090493","issue_url":"https://api.github.com/repos/chrsmith/zen-coding/issues/77","id":76090493,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T00:05:41Z","updated_at":"2015-02-26T00:05:41Z","body":"```\nbtw in my case zen_jedit.js or zen_eclipse.js:\n\ncontent = zen_coding.expandAbbreviation(abbr, editor_type, profile_name);\nif (zen_settings.variables.indentation != \"\\t\") {\n\tcontent = content.replace(/\\n(\\t+)/g, function(tabs){\n\t\treturn tabs.replace(/\\t/g, zen_settings.variables.indentation);\n\t});\n}\n```\n\n-----\nOriginal comment by `szabolcs.kurdi@gmail.com` on 27 Dec 2009 at 1:06"}}