{"id":2505,"date":"2019-06-04T17:13:32","date_gmt":"2019-06-04T05:13:32","guid":{"rendered":"http:\/\/www.talkcrypto.org\/blog\/?p=2505"},"modified":"2019-06-05T19:21:22","modified_gmt":"2019-06-05T07:21:22","slug":"sublime-and-solidity-syntax-in-10-seconds","status":"publish","type":"post","link":"https:\/\/www.talkcrypto.org\/blog\/2019\/06\/04\/sublime-and-solidity-syntax-in-10-seconds\/","title":{"rendered":"Sublime and Solidity Syntax in 10 seconds"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you are using Sublime, which is a very fast and lightweight text editor, to create smart contracts in Solidity, to get syntax highlighting, do the following:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2318+\u21e7+P (command+shift+P) to bring up Sublime&#8217;s command palette, which is an interactive list whose purpose is to execute commands.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Start typing &#8220;install&#8221; and select &#8220;Install Package&#8221;. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"758\" height=\"328\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-2.19.43-pm.png\" alt=\"\" class=\"wp-image-2506\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-2.19.43-pm.png 758w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-2.19.43-pm-300x130.png 300w\" sizes=\"(max-width: 758px) 100vw, 758px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then wait a few seconds before another text box appears before typing &#8220;Ethereum&#8221; and select the first option. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1014\" height=\"568\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-2.29.01-pm.png\" alt=\"\" class=\"wp-image-2507\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-2.29.01-pm.png 1014w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-2.29.01-pm-300x168.png 300w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-2.29.01-pm-768x430.png 768w\" sizes=\"(max-width: 1014px) 100vw, 1014px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Before:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"802\" height=\"360\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-3.09.58-pm.png\" alt=\"\" class=\"wp-image-2508\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-3.09.58-pm.png 802w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-3.09.58-pm-300x135.png 300w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-3.09.58-pm-768x345.png 768w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"824\" height=\"354\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-3.11.28-pm.png\" alt=\"\" class=\"wp-image-2509\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-3.11.28-pm.png 824w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-3.11.28-pm-300x129.png 300w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/Screen-Shot-2019-06-04-at-3.11.28-pm-768x330.png 768w\" sizes=\"(max-width: 824px) 100vw, 824px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To check that it has been installed, bring up the command palette and type &#8220;remove&#8221; and select remove package and Ethereum should appear indicating that it has been successfully installed. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are using Sublime, which is a very fast<\/p>\n","protected":false},"author":1,"featured_media":2511,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2505","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ethereum"],"featured_image_urls":{"full":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity.jpg",300,129,false],"thumbnail":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity-150x129.jpg",150,129,true],"medium":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity-300x129.jpg",300,129,true],"medium_large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity.jpg",300,129,false],"large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity.jpg",300,129,false],"1536x1536":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity.jpg",300,129,false],"2048x2048":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity.jpg",300,129,false],"chromenews-featured":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity.jpg",300,129,false],"chromenews-large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity.jpg",300,129,false],"chromenews-medium":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2019\/06\/solidity.jpg",300,129,false]},"author_info":{"info":["seandotau"]},"category_info":"<a href=\"https:\/\/www.talkcrypto.org\/blog\/category\/ethereum\/\" rel=\"category tag\">Ethereum<\/a>","tag_info":"Ethereum","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/2505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/comments?post=2505"}],"version-history":[{"count":2,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/2505\/revisions"}],"predecessor-version":[{"id":2517,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/2505\/revisions\/2517"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/media\/2511"}],"wp:attachment":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/media?parent=2505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/categories?post=2505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/tags?post=2505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}