{"id":107,"date":"2013-01-20T15:41:39","date_gmt":"2013-01-20T10:11:39","guid":{"rendered":"https:\/\/www.dhruvsoft.com\/blog\/?p=107"},"modified":"2024-07-26T09:50:03","modified_gmt":"2024-07-26T09:50:03","slug":"apex-and-visualforce-syntax-highlighting-in-notepad","status":"publish","type":"post","link":"https:\/\/www.dhruvsoft.com\/blog\/apex-and-visualforce-syntax-highlighting-in-notepad\/","title":{"rendered":"Apex and Visualforce syntax highlighting in Notepad++"},"content":{"rendered":"<p>If you prefer to <strong>write your Apex and Visualforce code outside Salesforce.com or Force.com<\/strong> IDE &#8211; you may find tough time in finding the right code editor. I have not come across any other code editor that supports programming languages Apex and Visualforce.<\/p>\n<p>Considering the fast growth of programmers working on Apex and Visualforce I am sure very soon we will have code editor programs supporting the Apex and Visualforce.<!--more--><\/p>\n<h4>Using Notepad ++ as Apex and Visualforce code editor<\/h4>\n<p>If you love working on Notepad++ you can use it for the Apex and Visualforce syntax highlighting.<\/p>\n<p>Just by copying and pasting it may not work as Notepad++ still does not recognizes Apex and Visualforce as a programming language. You will need to turn on Java and HTML as language to view Apex and Visualforce respectively.<\/p>\n<h5>Turn on Java to view Apex<\/h5>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-108\" src=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/turn-on-java.png\" alt=\"Turn on Java to view Apex in Notepad++\" width=\"364\" height=\"364\" srcset=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/turn-on-java.png 607w, https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/turn-on-java-150x150.png 150w, https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/turn-on-java-300x300.png 300w\" sizes=\"auto, (max-width: 364px) 100vw, 364px\" \/><\/p>\n<h5>Turn on HTML to view Visualforce<\/h5>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-109\" src=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/turn-on-html.png\" alt=\"Turn on HTML to view Visualforce in Notepad++\" width=\"353\" height=\"362\" srcset=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/turn-on-html.png 588w, https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/turn-on-html-292x300.png 292w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><\/p>\n<h5>Apex Class in Notepad++<\/h5>\n<p>Here is how the Apex Class looks in Notepad++<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-110\" src=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/apex-class-in-notepad.png\" alt=\"View Apex Class in Notepad++\" width=\"653\" height=\"351\" srcset=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/apex-class-in-notepad.png 1360w, https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/apex-class-in-notepad-300x161.png 300w, https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/apex-class-in-notepad-1024x550.png 1024w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/p>\n<h5>Apex Trigger in Notepad++<\/h5>\n<p>Here is how an Apex trigger looks in Notepad++<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-111\" src=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/apx-trigger-in-notepad-1024x547.png\" alt=\"View Apex trigger in Notepad++\" width=\"680\" height=\"363\" srcset=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/apx-trigger-in-notepad-1024x547.png 1024w, https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/apx-trigger-in-notepad-300x160.png 300w, https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/apx-trigger-in-notepad.png 1360w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<h5>Visualforce page in Notepad++<\/h5>\n<p>Here is how a Visualforce page looks in Notepad++<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-112\" src=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/html-in-notepad-1024x542.png\" alt=\"View Visualforce page in Notepad++\" width=\"680\" height=\"359\" srcset=\"https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/html-in-notepad-1024x542.png 1024w, https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/html-in-notepad-300x158.png 300w, https:\/\/www.dhruvsoft.com\/blog\/wp-content\/uploads\/2013\/01\/html-in-notepad.png 1360w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p>You can also create a User Defined Language file for Apex and VisualForce.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you prefer to write your Apex and Visualforce code outside Salesforce.com or Force.com IDE &#8211; you may find tough time in finding the right code editor. I have not come across any other code editor that supports programming languages Apex and Visualforce. Considering the fast growth of programmers working on Apex and Visualforce I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,59],"tags":[88,87],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-apex","category-visualforce","tag-salesforce-development","tag-salesforce-programming","entry"],"_links":{"self":[{"href":"https:\/\/www.dhruvsoft.com\/blog\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dhruvsoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dhruvsoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dhruvsoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dhruvsoft.com\/blog\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":0,"href":"https:\/\/www.dhruvsoft.com\/blog\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dhruvsoft.com\/blog\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dhruvsoft.com\/blog\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dhruvsoft.com\/blog\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}