{"action":"created","issue":{"url":"https://api.github.com/repos/cake-build/cake/issues/374","labels_url":"https://api.github.com/repos/cake-build/cake/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/cake-build/cake/issues/374/comments","events_url":"https://api.github.com/repos/cake-build/cake/issues/374/events","html_url":"https://github.com/cake-build/cake/issues/374","id":103080394,"number":374,"title":"Syntax highlighting for .cake files in VisualStudio Code! ","user":{"login":"jrnail23","id":392612,"avatar_url":"https://avatars.githubusercontent.com/u/392612?v=3","gravatar_id":"","url":"https://api.github.com/users/jrnail23","html_url":"https://github.com/jrnail23","followers_url":"https://api.github.com/users/jrnail23/followers","following_url":"https://api.github.com/users/jrnail23/following{/other_user}","gists_url":"https://api.github.com/users/jrnail23/gists{/gist_id}","starred_url":"https://api.github.com/users/jrnail23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrnail23/subscriptions","organizations_url":"https://api.github.com/users/jrnail23/orgs","repos_url":"https://api.github.com/users/jrnail23/repos","events_url":"https://api.github.com/users/jrnail23/events{/privacy}","received_events_url":"https://api.github.com/users/jrnail23/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cake-build/cake/labels/documentation","name":"documentation","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-25T17:47:46Z","updated_at":"2015-10-17T12:06:23Z","closed_at":null,"body":"I just did some digging, and I figured out how to enable syntax highlighting for .cake files in Visual Studio Code (Windows).\r\n(I wasn't sure where else might be best to share this, so I just created an issue)\r\n\r\nUnder your VS Code app folder (for me, running version 0.7.10, it's `c:\\users\\MyUserName\\AppData\\Local\\Code\\app-0.5.2` ), open up `\\resources\\app\\plugins\\vs.language.csharp\\ticino.plugin.json`\r\n\r\nIt'll look like this:\r\n\r\n```json\r\n{\r\n\t\"pluginId\": \"vs.language.csharp\",\r\n\t\"activationEvents\": [\"textModel:csharp\"],\r\n\t\"mainModule\": \"./csharpMain\",\r\n\t\"contributes\": {\r\n\t\t\"language\": [{\r\n\t\t\t\"id\": \"csharp\",\r\n\t\t\t\"extensions\": [ \".cs\", \".csx\" ],\r\n\t\t\t\"aliases\": [ \"C#\", \"csharp\" ]\r\n\t\t}]\r\n\t},\r\n\t\"scripts\": {\r\n\t\t\"compile\": \"node ../../node_modules/gulp/bin/gulp.js --gulpfile ../gulpfile.js compile --dir vs.language.csharp\"\r\n\t},\r\n\t\"_bundling\": [\r\n\t\t{ \"name\": \"./csharpMain\" }\r\n\t]\r\n}\r\n```\r\n\r\nSimply add `\".cake\"` to that `extensions` array like this: \r\n```json\r\n    \"extensions\": [ \".cs\", \".csx\", \".cake\" ]\r\n```\r\nSave the file, restart VS Code, and you're all set.\r\n\r\nOne quick word of warning though, notice that app folder (`app-0.5.2`) has an affinity to a particular version.  I'm quite sure that when VS Code updates itself to a newer version, your edits may get lost, and you'll probably have to do this again under the newer app folder.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cake-build/cake/issues/comments/148912605","html_url":"https://github.com/cake-build/cake/issues/374#issuecomment-148912605","issue_url":"https://api.github.com/repos/cake-build/cake/issues/374","id":148912605,"user":{"login":"gep13","id":1271146,"avatar_url":"https://avatars.githubusercontent.com/u/1271146?v=3","gravatar_id":"","url":"https://api.github.com/users/gep13","html_url":"https://github.com/gep13","followers_url":"https://api.github.com/users/gep13/followers","following_url":"https://api.github.com/users/gep13/following{/other_user}","gists_url":"https://api.github.com/users/gep13/gists{/gist_id}","starred_url":"https://api.github.com/users/gep13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gep13/subscriptions","organizations_url":"https://api.github.com/users/gep13/orgs","repos_url":"https://api.github.com/users/gep13/repos","events_url":"https://api.github.com/users/gep13/events{/privacy}","received_events_url":"https://api.github.com/users/gep13/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T12:06:22Z","updated_at":"2015-10-17T12:06:22Z","body":"@jrnail23 is this still the same for the latest version of VS Code?  Looks like things might have changed since you posted this issue."}}