{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/12805","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/12805/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/12805/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/12805/events","html_url":"https://github.com/Microsoft/vscode/issues/12805","id":179568223,"number":12805,"title":"files.associations should be relative to workspace in workspace settings","user":{"login":"octref","id":4033249,"avatar_url":"https://avatars.githubusercontent.com/u/4033249?v=3","gravatar_id":"","url":"https://api.github.com/users/octref","html_url":"https://github.com/octref","followers_url":"https://api.github.com/users/octref/followers","following_url":"https://api.github.com/users/octref/following{/other_user}","gists_url":"https://api.github.com/users/octref/gists{/gist_id}","starred_url":"https://api.github.com/users/octref/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octref/subscriptions","organizations_url":"https://api.github.com/users/octref/orgs","repos_url":"https://api.github.com/users/octref/repos","events_url":"https://api.github.com/users/octref/events{/privacy}","received_events_url":"https://api.github.com/users/octref/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-27T18:02:33Z","updated_at":"2016-09-27T19:00:49Z","closed_at":"2016-09-27T18:12:26Z","body":"- VSCode Version: 1.6 Insiders\r\n- OS Version: OS X 10.11.6\r\n\r\nCurrently, if I have a project `test`, with a file `test/src/app.js`. I need this workspace setting to get it recognized as TypeSscript:\r\n\r\n```json\r\n{\r\n  \"files.associations\": {\r\n    \"/Users/octref/Code/fiddle/test/src/*.js\": \"typescript\"\r\n  }\r\n}\r\n```\r\n\r\nI wish I could do\r\n```json\r\n{\r\n  \"files.associations\": {\r\n    \"src/*.js\": \"typescript\"\r\n  }\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/249964115","html_url":"https://github.com/Microsoft/vscode/issues/12805#issuecomment-249964115","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/12805","id":249964115,"user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T19:00:49Z","updated_at":"2016-09-27T19:00:49Z","body":"I am not sure I understand the suggestion. For one a user might not easily understand the difference between workspace and global association setting, it is too subtle. And then while we could support `${workspaceRoot}` it would not work when no workspace is open and again I fear this is too subtle..."}}
{"actor":{"display_login":"bpasero"}}