{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/449","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/449/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/449/events","html_url":"https://github.com/Microsoft/vscode/issues/449","id":118268249,"number":449,"title":"Problem matcher can't support absolute and relative filenames at the same time","user":{"login":"Wosi","id":3448684,"avatar_url":"https://avatars.githubusercontent.com/u/3448684?v=3","gravatar_id":"","url":"https://api.github.com/users/Wosi","html_url":"https://github.com/Wosi","followers_url":"https://api.github.com/users/Wosi/followers","following_url":"https://api.github.com/users/Wosi/following{/other_user}","gists_url":"https://api.github.com/users/Wosi/gists{/gist_id}","starred_url":"https://api.github.com/users/Wosi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wosi/subscriptions","organizations_url":"https://api.github.com/users/Wosi/orgs","repos_url":"https://api.github.com/users/Wosi/repos","events_url":"https://api.github.com/users/Wosi/events{/privacy}","received_events_url":"https://api.github.com/users/Wosi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-22T15:15:48Z","updated_at":"2015-11-23T11:43:58Z","closed_at":null,"body":"I have a problem matcher that works on the output of the Delphi compller. Sometimes it gives relative and absolute file names at the same time. When I set `\"fileLocation\": [\"absolute\"]`  the messages having relative paths can't be opened. When I set `\"fileLocation\": [\"relative\", \"${workspaceRoot}\"]` the messages having absolute paths can't be opened anymore.\r\n\r\nIs it possible to define a a problem matcher that uses relative paths as long as the mentioned file exists and uses absolute paths as a fallback mode?"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/158912306","html_url":"https://github.com/Microsoft/vscode/issues/449#issuecomment-158912306","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/449","id":158912306,"user":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T11:43:58Z","updated_at":"2015-11-23T11:43:58Z","body":"The idea was to file path autodetection support. Something like:\r\n\r\n\"fileLocation\": [\"autoDetect\"]\r\n\r\nIt would check whether a path appears to be relative or absolute (e.g. starts with / or a drive letter). Would that help in your case."}}