Install Scala Plugin for Eclipse
3K views
Nov 28, 2024
Install Scala Plugin for Eclipse
View Video Transcript
0:00
In this video we are discussing install Scala plugin for Eclipse
0:05
So let us discuss step by step. So open up the Eclipse and then go to help, then Eclipse marketplace and then search for Scala ID and install it
0:19
You can find this one. We are searching for this Kala ID and then we shall go for the installation
0:25
Follow next steps and accept the license agreement. So sometimes you have supported
0:29
to click on the next and obviously the license agreement has to be accepted after completing
0:35
installation restored the eclipse now go to the file new other and then select Scala project
0:46
so you are supposed to go to this Scala project so how to go file new other and then
0:52
select Scala project here then after creating package create Scala object and then you
0:59
can work on it so let us go for one practical demonstration for the easy
1:04
understanding of this plugin installation process so in this video we are
1:09
going to discuss how to integrate Scala with our eclipse so we have clicked on
1:13
the eclipse icon and we have gone for this we have gone for this eclipse then help
1:19
and then Eclipse marketplace so here we are going to demonstrate how to
1:23
integrate Scala with our Eclipse software so at first we are clicking on the eclipse icon The eclipse has got initiated So we have gone for the help and then Eclipse marketplace
1:35
So this window has been popped up. Here we'll be writing a Scala IDE for the searching
1:43
And then you shall click on go. So one plugin is there. I shall go for install
1:54
I shall select the option that is a Scala test for Scala ID
2:01
So that option has to be selected before clicking on this confirm
2:09
So I shall go for this accept the terms of the license agreement going for the finish
2:18
So here the software is getting installed. The progress is being shown for 10% also the
2:24
the progress bar is there we can double click we can see the progress what are the
2:29
different sizes of the files are getting loaded what are the files are getting loaded so all
2:35
the details we're getting here now one security warning is there install anyway
2:39
clicking on that it comes it comes always if you go for any plug-in installation on
2:47
eclipse then it will ask for the eclipse to restart and that is a common thing so eclipse
2:52
is going to get restarted so already you have shown you that what are the different steps for the Scala integration with the Eclipse So after loading this after doing this integration all is Eclipse goes for one restart
3:07
So Eclipse photon June 2018 version is now getting initiated, now getting loaded onto the memory with this Scala integrated
3:18
Then after that we shall create one Scala project. We shall create one Scala package under that project
3:24
then you shall go for one scholar object creation we shall show that how the windows are coming
3:30
what are the different options where we are supposed to click and we shall complete our demonstration
3:36
so you are waiting to eclipse to get initiated it might be taking some couple of minutes time
3:43
so eclipse is coming up with this welcome screen so i should cross it
3:51
then i shall create one new screen project so file new we shall go to other then scholar wizard will come scholar wizards
4:02
so I shall expand that one I shall go for scholar project and then I shall go for
4:08
next or double clicking on that giving the project name first Scala project so
4:16
that name I have given go for finish So the perspective is asking whether it is open the Scala perspective or not Then I shall go for the expansion of this then I shall go for right button click
4:37
I shall create one Scala package so new going for other or from there also we can go
4:44
for a new package we can go for a Java package and go for finish
4:54
so test package has got created we shall go for new and then we shall go for this other then
5:05
we shall go for the scalar object next instead of color scholar object we also we can select some
5:12
other kinds so that is our java has color trait we can go for scala app and so on so here
5:19
the package name is already there so after dot i'm writing the new scholar object name
5:24
so my Scala obj I can write this one so one eclipse error reporting is coming
5:31
waiting for this report to close so test package dot my Scala object so one
5:40
object we have created now we shall go for the finish and then the editor
5:44
window will come up with this Scala object where you can write the code I'm not
5:49
going to write any code right now I'm just showing you the installation process here you see the instruction has been completed successfully thanks for watching this video
#Development Tools
#Java (Programming Language)
#Programming