{"id":18,"date":"2021-12-18T13:53:59","date_gmt":"2021-12-18T13:53:59","guid":{"rendered":"https:\/\/www.kindsonthegenius.com\/scala\/?p=18"},"modified":"2021-12-18T14:41:31","modified_gmt":"2021-12-18T14:41:31","slug":"scala-ide-installation-and-setup","status":"publish","type":"post","link":"https:\/\/www.kindsonthegenius.com\/scala\/scala-ide-installation-and-setup\/","title":{"rendered":"Scala &#8211; IDE Installation and Setup"},"content":{"rendered":"<p>In this tutorial, I will show you 3 ways of installing and setting up Scala in your computer.<\/p>\n<ol>\n<li><a href=\"#t1\">Setup Scala on IntelliJ<\/a><\/li>\n<li><a href=\"#t2\">Setup Scala on Eclipse IDE<\/a><\/li>\n<li><a href=\"#t3\">Using Scastie Web IDE<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t1\">1. Setup Scala on IntelliJ<\/strong><\/h4>\n<p>To setup Scala in IntelliJ, you need to go to the preferences and select the plugins tab. This is shown below:<\/p>\n<figure id=\"attachment_20\" aria-describedby=\"caption-attachment-20\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-12.41.21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-20 size-large\" src=\"https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-12.41.21-1024x786.png\" alt=\"How to Setup Scala in IntelliJ\" width=\"1024\" height=\"786\" srcset=\"https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-12.41.21-1024x786.png 1024w, https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-12.41.21-300x230.png 300w, https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-12.41.21-768x590.png 768w, https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-12.41.21-1536x1179.png 1536w, https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-12.41.21-2048x1573.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-20\" class=\"wp-caption-text\">How to Setup Scala in IntelliJ<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t2\">2. Setup Scala on Eclipse IDE<\/strong><\/h4>\n<p>There are two ways to install Scala inEclipse IDE<\/p>\n<p><strong>Method 1 &#8211; Using Market Place<\/strong><\/p>\n<p><strong>Step 1<\/strong> &#8211; Open Eclipse IDE<\/p>\n<p><strong>Step 2<\/strong> &#8211; Click on the Help menu and choose &#8220;Eclipse Marketplace&#8221;<\/p>\n<figure id=\"attachment_21\" aria-describedby=\"caption-attachment-21\" style=\"width: 290px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-13.33.49.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21 size-medium\" src=\"https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-13.33.49-290x300.png\" alt=\"\" width=\"290\" height=\"300\" srcset=\"https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-13.33.49-290x300.png 290w, https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-13.33.49-768x795.png 768w, https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-13.33.49.png 778w\" sizes=\"auto, (max-width: 290px) 100vw, 290px\" \/><\/a><figcaption id=\"caption-attachment-21\" class=\"wp-caption-text\">Eclipse Marketplace Window<\/figcaption><\/figure>\n<p>(You could also find Scala IDE by entering Scala in the Search box and hitting the &lt;Enter&gt; key)<\/p>\n<p><strong>Step 3<\/strong> &#8211; Now open the <a href=\"https:\/\/marketplace.eclipse.org\/content\/scala-ide\" target=\"_blank\" rel=\"noopener\">Scala IDE link here<\/a><\/p>\n<p><strong>Step 4<\/strong> &#8211; You will see an Install button. Drag this button and drop it in the Eclipse Marketplaces you opened in Eclipse<\/p>\n<p><strong>Step 5<\/strong> &#8211; Follow the instruction to complete the installation<\/p>\n<p>&nbsp;<\/p>\n<h4><strong id=\"t3\">3. Using Scastie Web IDE<\/strong><\/h4>\n<p>This tool allows you to run Scala programs on your browser. You can do this without having to install any program.<\/p>\n<p>You can access Scastie from here <a href=\"https:\/\/scastie.scala-lang.org\/\" target=\"_blank\" rel=\"noopener\">https:\/\/scastie.scala-lang.org\/<\/a><\/p>\n<p>The Scastie Web IDE is shown below:<\/p>\n<figure id=\"attachment_24\" aria-describedby=\"caption-attachment-24\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-14.49.29.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-24 size-large\" src=\"https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-14.49.29-1024x754.png\" alt=\"Scastie Web IDE for Scala\" width=\"1024\" height=\"754\" srcset=\"https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-14.49.29-1024x754.png 1024w, https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-14.49.29-300x221.png 300w, https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-14.49.29-768x566.png 768w, https:\/\/www.kindsonthegenius.com\/scala\/wp-content\/uploads\/sites\/14\/2021\/12\/Screenshot-2021-12-18-at-14.49.29.png 1238w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-24\" class=\"wp-caption-text\">Scastie Web IDE for Scala<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, I will show you 3 ways of installing and setting up Scala in your computer. Setup Scala on IntelliJ Setup Scala on &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-scala-programming"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":5,"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":26,"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/posts\/18\/revisions\/26"}],"wp:attachment":[{"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kindsonthegenius.com\/scala\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}