{"action":"created","issue":{"url":"https://api.github.com/repos/formulahendry/vscode-code-runner/issues/329","repository_url":"https://api.github.com/repos/formulahendry/vscode-code-runner","labels_url":"https://api.github.com/repos/formulahendry/vscode-code-runner/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/formulahendry/vscode-code-runner/issues/329/comments","events_url":"https://api.github.com/repos/formulahendry/vscode-code-runner/issues/329/events","html_url":"https://github.com/formulahendry/vscode-code-runner/issues/329","id":340555487,"node_id":"MDU6SXNzdWUzNDA1NTU0ODc=","number":329,"title":"executorMapByFileExtension Not Working As Expected","user":{"login":"NavyAdmiral","id":40662484,"node_id":"MDQ6VXNlcjQwNjYyNDg0","avatar_url":"https://avatars1.githubusercontent.com/u/40662484?v=4","gravatar_id":"","url":"https://api.github.com/users/NavyAdmiral","html_url":"https://github.com/NavyAdmiral","followers_url":"https://api.github.com/users/NavyAdmiral/followers","following_url":"https://api.github.com/users/NavyAdmiral/following{/other_user}","gists_url":"https://api.github.com/users/NavyAdmiral/gists{/gist_id}","starred_url":"https://api.github.com/users/NavyAdmiral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NavyAdmiral/subscriptions","organizations_url":"https://api.github.com/users/NavyAdmiral/orgs","repos_url":"https://api.github.com/users/NavyAdmiral/repos","events_url":"https://api.github.com/users/NavyAdmiral/events{/privacy}","received_events_url":"https://api.github.com/users/NavyAdmiral/received_events","type":"User","site_admin":false},"labels":[{"id":408258862,"node_id":"MDU6TGFiZWw0MDgyNTg4NjI=","url":"https://api.github.com/repos/formulahendry/vscode-code-runner/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-12T09:18:35Z","updated_at":"2018-07-12T15:15:10Z","closed_at":"2018-07-12T11:22:32Z","author_association":"NONE","body":"Hi. I have a  .someExtension file that I want to associate with Python because of syntax highlighting. I have also set the following settings:\r\n```js\r\n  \"code-runner.executorMapByFileExtension\": {\r\n      \".someExtension\": \"bash \\\"emu ./$fileName\\\"\"\r\n  },\r\n    \"files.associations\": {\r\n    \"*.someExtension\": \"python\"\r\n  }\r\n```\r\nI get unexpected behavior, Code Runner runs py $fileName, because I associated .someExtension to Python in vsCode. However, executorMapByFileExtension should disregard the association and only take the file extension into account."},"comment":{"url":"https://api.github.com/repos/formulahendry/vscode-code-runner/issues/comments/404547851","html_url":"https://github.com/formulahendry/vscode-code-runner/issues/329#issuecomment-404547851","issue_url":"https://api.github.com/repos/formulahendry/vscode-code-runner/issues/329","id":404547851,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDU0Nzg1MQ==","user":{"login":"formulahendry","id":1050213,"node_id":"MDQ6VXNlcjEwNTAyMTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1050213?v=4","gravatar_id":"","url":"https://api.github.com/users/formulahendry","html_url":"https://github.com/formulahendry","followers_url":"https://api.github.com/users/formulahendry/followers","following_url":"https://api.github.com/users/formulahendry/following{/other_user}","gists_url":"https://api.github.com/users/formulahendry/gists{/gist_id}","starred_url":"https://api.github.com/users/formulahendry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/formulahendry/subscriptions","organizations_url":"https://api.github.com/users/formulahendry/orgs","repos_url":"https://api.github.com/users/formulahendry/repos","events_url":"https://api.github.com/users/formulahendry/events{/privacy}","received_events_url":"https://api.github.com/users/formulahendry/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T15:15:10Z","updated_at":"2018-07-12T15:15:10Z","author_association":"OWNER","body":"Below settings could just work:\r\n```json\r\n\"code-runner.executorMapByFileExtension\": {\r\n      \".sage\": \"bash \\\"emu ./$fileName\\\"\",\r\n      \".py\": \"python\"\r\n  },\r\n\"code-runner.executorMap\": {\r\n        \"python\": undefined \r\n    }\r\n```"}}
{"actor":{"display_login":"formulahendry"}}