{"id":294,"date":"2016-09-01T17:04:27","date_gmt":"2016-09-01T16:04:27","guid":{"rendered":"http:\/\/coffeefueledcreations.com\/blog\/?p=294"},"modified":"2016-09-01T17:04:27","modified_gmt":"2016-09-01T16:04:27","slug":"notepad-associate-code-highlighting-with-new-file-type","status":"publish","type":"post","link":"http:\/\/coffeefueledcreations.com\/blog\/?p=294","title":{"rendered":"Notepad++: Associate code highlighting with new file type"},"content":{"rendered":"<p>Adding a new file type to an existing code highlighting style is very straightforward in Notepad++. I wanted the velocity template extension &#8220;.vm&#8221; to be associated with the html style markup rather than applying it manually each time (I know, still using Apache Velocity in 2016). This is very easy and straightforward.<\/p>\n<p>Under &#8220;Settings &gt; Style Configurator&#8221; from the toolbar\u00a0HTML can be selected from the language selection box then &#8220;vm&#8221; just needs to be added to the &#8220;User ext:&#8221; Text box.<\/p>\n<p>Now any .vm file will open with the HTML code highlighting automatically.<\/p>\n<p><a href=\"http:\/\/coffeefueledcreations.com\/blog\/wp-content\/uploads\/2016\/09\/notepad.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-296\" src=\"http:\/\/coffeefueledcreations.com\/blog\/wp-content\/uploads\/2016\/09\/notepad.png\" alt=\"notepad++\" width=\"891\" height=\"466\" srcset=\"http:\/\/coffeefueledcreations.com\/blog\/wp-content\/uploads\/2016\/09\/notepad.png 891w, http:\/\/coffeefueledcreations.com\/blog\/wp-content\/uploads\/2016\/09\/notepad-300x157.png 300w, http:\/\/coffeefueledcreations.com\/blog\/wp-content\/uploads\/2016\/09\/notepad-768x402.png 768w\" sizes=\"(max-width: 891px) 100vw, 891px\" \/><\/a><\/p>\n<p>Easy<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding a new file type to an existing code highlighting style is very straightforward in Notepad++. I wanted the velocity template extension &#8220;.vm&#8221; to be associated with the html style markup rather than applying it manually each time (I know, &hellip; <a href=\"http:\/\/coffeefueledcreations.com\/blog\/?p=294\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,6,8,1,13],"tags":[],"_links":{"self":[{"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/294"}],"collection":[{"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=294"}],"version-history":[{"count":2,"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions"}],"predecessor-version":[{"id":297,"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions\/297"}],"wp:attachment":[{"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=294"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/coffeefueledcreations.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}