{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/1587","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/1587/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/1587/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/1587/events","html_url":"https://github.com/Microsoft/vscode/issues/1587","id":123540127,"number":1587,"title":"More control over file-specific settings","user":{"login":"heaths","id":1532486,"avatar_url":"https://avatars.githubusercontent.com/u/1532486?v=3","gravatar_id":"","url":"https://api.github.com/users/heaths","html_url":"https://github.com/heaths","followers_url":"https://api.github.com/users/heaths/followers","following_url":"https://api.github.com/users/heaths/following{/other_user}","gists_url":"https://api.github.com/users/heaths/gists{/gist_id}","starred_url":"https://api.github.com/users/heaths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heaths/subscriptions","organizations_url":"https://api.github.com/users/heaths/orgs","repos_url":"https://api.github.com/users/heaths/repos","events_url":"https://api.github.com/users/heaths/events{/privacy}","received_events_url":"https://api.github.com/users/heaths/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-22T19:16:45Z","updated_at":"2015-12-22T19:16:45Z","closed_at":null,"body":"In our project we have a number of files where tabs are strictly required (a format we do not control). However, we want to normalize tabs to spaces throughout the rest of the project.\r\n\r\nFor now, I just ask that people don't edit those files in VSCode. I even considered adding them to the ignore list for VSCode itself. But it's not uncommon to have file-specific settings, so I thought it would be nice if VSCode allowed for more complex patterns - much like `files.exclude`, perhaps something like:\r\n\r\n``` json\r\n\"editor.insertSpaces\": true,\r\n\"diffEditor.ignoreTrimWhitespace\": true,\r\n\"files.settings\": {\r\n  \"**/*.idt\": {\r\n    \"editor.insertSpaces\": false,\r\n    \"diffEditor.ignoreTrimWhitespace\": false\r\n  }\r\n}\r\n```"}}