{"action":"closed","issue":{"url":"https://api.github.com/repos/editorconfig/editorconfig-vscode/issues/190","repository_url":"https://api.github.com/repos/editorconfig/editorconfig-vscode","labels_url":"https://api.github.com/repos/editorconfig/editorconfig-vscode/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/editorconfig/editorconfig-vscode/issues/190/comments","events_url":"https://api.github.com/repos/editorconfig/editorconfig-vscode/issues/190/events","html_url":"https://github.com/editorconfig/editorconfig-vscode/issues/190","id":298552723,"number":190,"title":"`tab_width` and `indent_size` shouldn't be mutual exclusive","user":{"login":"ebraminio","id":833473,"avatar_url":"https://avatars2.githubusercontent.com/u/833473?v=4","gravatar_id":"","url":"https://api.github.com/users/ebraminio","html_url":"https://github.com/ebraminio","followers_url":"https://api.github.com/users/ebraminio/followers","following_url":"https://api.github.com/users/ebraminio/following{/other_user}","gists_url":"https://api.github.com/users/ebraminio/gists{/gist_id}","starred_url":"https://api.github.com/users/ebraminio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebraminio/subscriptions","organizations_url":"https://api.github.com/users/ebraminio/orgs","repos_url":"https://api.github.com/users/ebraminio/repos","events_url":"https://api.github.com/users/ebraminio/events{/privacy}","received_events_url":"https://api.github.com/users/ebraminio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-20T11:04:45Z","updated_at":"2018-02-20T21:56:01Z","closed_at":"2018-02-20T21:56:01Z","author_association":"NONE","body":"[HarfBuzz](https://github.com/harfbuzz/harfbuzz) (a highly used font related Linux package) uses a mix of tabs and spaces, see this for example https://github.com/harfbuzz/harfbuzz/pull/292\r\n\r\n- [x] I have a question that is specific to this extension; thus, inappropriate for the main [EditorConfig issue tracker](https://github.com/editorconfig/editorconfig/issues).\r\n- [x] I tried running `code --disable-extensions` and the issue did **NOT** present itself.\r\n\r\n## Issue\r\n\r\n|             | Visual Studio Code | editorconfig-vscode |\r\n|-------------|--------------------|---------------------|\r\n| **Version** | `1.20.1`            | `0.12.1`             |\r\n\r\n### Root `.editorconfig` File\r\n```ini\r\nroot = true\r\n\r\n[*.{c,cc,h,hh}]\r\nindent_style = space\r\ntab_width = 8\r\nindent_size = 2\r\n```\r\n\r\nAre there any other relevant `.editorconfig` files in your project? No\r\n\r\n### File opened\r\nOpen https://github.com/harfbuzz/harfbuzz/blob/master/src/hb-aat-layout-morx-table.hh with vscode\r\n\r\n### Expected behavior\r\nWhat is expected is somewhere between having or not having of indent_size, for example on this [file](https://github.com/harfbuzz/harfbuzz/blob/master/src/hb-aat-layout-morx-table.hh) it should be looked like and will happen if I remove `indent_size = 2` from .editorconfig:\r\n![screen shot 2018-02-20 at 2 30 00 pm](https://user-images.githubusercontent.com/833473/36420513-967f6238-164a-11e8-9b81-a326fe6fa569.png) however the issue is if I comment that line out and try to write something on a function block it will become like:\r\n![screen shot 2018-02-20 at 2 32 26 pm](https://user-images.githubusercontent.com/833473/36420628-eb5c1d78-164a-11e8-892c-b6fca19e6070.png)\r\n\r\n### Actual behavior\r\nBut without commenting `indent_size = 2` that it will look like:\r\n![screen shot 2018-02-20 at 2 31 33 pm](https://user-images.githubusercontent.com/833473/36420585-c6a03d48-164a-11e8-87ea-ef089132169c.png)\r\n"}}
{"actor":{"display_login":"jedmao"}}