Master Intellij Idea : Become Pro Java Developer and boost your coding speed | Faisal Memon | Skillshare

Playback Speed


  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x

Master Intellij Idea : Become Pro Java Developer and boost your coding speed

teacher avatar Faisal Memon, Product | Engineer | Entrepreneur

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Lessons in This Class

23 Lessons (2h 8m)
    • 1. Course introduction

      1:46
    • 2. Downloading and Installing JDK 17 on windo

      7:07
    • 3. Downloading and Installing JDK 17 on mac

      6:33
    • 4. Downloading and Setting up Intellij Idea

      14:03
    • 5. Exploring Intellij

      6:02
    • 6. Installing presentation assistant, keymaps and learning keyboard shortcuts

      2:08
    • 7. How to change fonts

      2:11
    • 8. How to change themes

      4:32
    • 9. Altering the appearance of windows

      5:52
    • 10. Using Intellij without mouse

      2:29
    • 11. Some tips with Intellij to maximize produc

      4:54
    • 12. Duplicating and deleting the line

      1:39
    • 13. Moving your code around

      4:52
    • 14. Postfix completion

      5:19
    • 15. Expanding and collapsing code

      3:35
    • 16. Refactoring code

      16:53
    • 17. Changing signatures

      8:42
    • 18. Inline refactoring

      2:43
    • 19. Commenting and uncommenting code

      2:33
    • 20. Navigating in project

      11:38
    • 21. Configuring git

      1:55
    • 22. Cloning the project

      2:21
    • 23. Working and committing to git

      7:54
  • --
  • Beginner level
  • Intermediate level
  • Advanced level
  • All levels

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

151

Students

--

Projects

About This Class

This bootcamp is for complete beginners and teaches you everything you should know about Intellij idea. This is not a theoretical course, but instead I will teach you step by step, practically.
 
Why should you take this course?

The goal of this course is to make sure you learn how to use Intellij Idea the right way so that you can become a better and productive developer.

This course is not a theoretical course, but we will be actually using intellij to learn and explore every feature that it has to offer developers.

I will be teaching you how can you customize the appearance of the IDE to suite your needs

We will be exploring how you can change themes, move windows around to get the right productive setup for you.

We will be learning about how you can use the IDE only with the keyboard without touching the mouse. Do you know you can do things like moving your code around in the editor, moving methods around, collapsing code, etc by just using keyboard shortcuts. We will be learning all those shortcuts.

We will be also learning about how can you refactor your code with Intellij idea, how can you change signatures of methods and classes without impacting its usages.

This course is designed keeping beginners in mind, we have made sure that each and every concept is clearly explained in an easy to understand manner. So if you have never used intellij, don't worry, I am 100% committed to helping you succeed.

After completing this course, you will be very comfortable with Intellij idea and you will be able to at least double your coding speed. You will become productive and be able to save a lot more time by using all the techniques that we have learned throughout the course.

This course is designed keeping beginners in mind, we have made sure that each and every concept is clearly explained in an easy to understand manner. So if you are a beginner, don't worry, I am 100% committed to helping you succeed.

WHAT ARE THE BENEFITS OF THIS COURSE?

  • Learn how to use Intellij Idea the right way so that you can become a better and productive developer
  • Learn everything about Intellij Idea
  • Customize the appearance of the IDE by changing themes, moving windows around, etc
  • Learn how to use the IDE with your keyboard without touching the mouse
  • Learn how to move your code around in the coding editor
  • Learn how can you refactor your code with Intellij idea
  • Learn how can you change signatures of methods and classes without impacting its usages
  • Learn how can you use the version control system

WHO IS THIS COURSE FOR?

  • Any developer who wants to use intellij and be more productive
  • Any developer or engineer who wants to learn about intellij idea

 

SO ARE YOU READY TO GET STARTED?

What are you waiting for? Press the BUY NOW button and start the course. See you inside.

Meet Your Teacher

Teacher Profile Image

Faisal Memon

Product | Engineer | Entrepreneur

Teacher

Hey - this is Faisal and thanks for being here.

I have over 10+ years of experience working as a Product Manager + Founder/CEO + Engineer in Mobile and App development industry. I have been building global products being used by millions of users across the globe since the beginning of my career.

Currently I am heading Product at one of the fast-paced startup in India and enjoying every moment of it. Prior to his, I built out couple of startups which had over half a million users across the globe, raised funding from Google + other investors and was part of Google Launchpad Accelerator. I have experience of building products from scratch and scaling to global users.

I am here on Skillshare to share my knowledge with seeke... See full profile

Class Ratings

Expectations Met?
    Exceeded!
  • 0%
  • Yes
  • 0%
  • Somewhat
  • 0%
  • Not really
  • 0%
Reviews Archive

In October 2018, we updated our review system to improve the way we collect feedback. Below are the reviews written before that update.

Why Join Skillshare?

Take award-winning Skillshare Original Classes

Each class has short lessons, hands-on projects

Your membership supports Skillshare teachers

Learn From Anywhere

Take classes on the go with the Skillshare app. Stream or download to watch on the plane, the subway, or wherever you learn best.

Transcripts

1. Course introduction: Hi, Welcome to the best goes online to learn how to boost your gaining speed using intelligent idea. I'm fastened and I have created this goes to share the experience that I have gained in my career with you. The number one goal of this course is to make sure that you learn intelligent idea that right way so that you can become a better and more productive developer. This is not a theological goals. So in this course we will be actually using intelligent idea to explore every feature that it has to offer developers. I've enjoyed teaching you how can you customize the appearance of the IEEE to suit your needs? We will be exploring how many genes that Teams and moving those around to get the right product is setup for you. We will also be learning how you can use the IDE just with the help of your keyboard without even touching the mouse. Do you know that you can do things like moving your code around, moving methods around, collapsing methods, etc. Just with the help of keyboard shortcuts, with intelligence, you can achieve all of this without even touching the mouse. So we'll be learning all those shortcut in this course. We will also be exploring how can you change the signature of the classes and methods without impacting its usages. After completing this course, you will be very comfortable with IntelliJ idea and you will be able to double your coding speed. You will become much more productive and you will be able to perceive a lot more time by using all the techniques that I have dark in this course. So what are you waiting for? I will see you insight. Thank you. 2. Downloading and Installing JDK 17 on windo: Hello guys, welcome back. In this lecture we are going to download and install GDK on our Windows machine. And by the end of this lecture, you will have a complete clarity on how you can install in setup GDK on your Windows machine. So let's get started. So in order to first begin the installation process, we will have to first download the adjudicate onto our system. To do that, we will head over to a browser and go to Google and we'll say Java Download. The moment we say Java download, you will see this the first link that appears over here. This is the link of the official website, not the first one. The first one is of the java.com. So you have to see for the link from Oracle.com, because Java is owned by Oracle. And you will see this Java downloads link over your own oracle.com. This is the official website and I'll click on this. You are being taken to this particular page and you have this oracle logo. So you'll see a message. Gela 17 is available now, as I'm recording this video, Java 17 has been released. So if you're watching this video a little later, there is a high possibility that you might see a different version number like 1819 or 20. If you're seeing some other version, you don't worry, because the installation steps are CME for most of the Java versions. If there are changes in the installation steps, I'll make sure I update this video. You'll just follow the installation steps that are mentioned here. And the institution should be successful on your machine. So we will be downloading the Java version 17. We'll scroll a bit down and you will see this download links over you. So here's a download link for Linux, MacOS, and Windows. Since we are talking about Windows will be tapping on the Windows icon you, and we will be downloading the installer. Now there are three installers with three different extensions. One is to zip extension, dot EXE and dot MSI. We will be downloading this darn dxi version or you X6 C4 installer. So we have to click on this Download button and the software will begin downloading. Now once this software is downloaded, let's see what are the next steps that you need to do in order to install this system on your machine. I'll head over to our presentation. And the moment you double-click on the installer, so you have to double-click on the installer after downloading it, you will see this welcome wizard. This is just a welcome screen of the software and you have to just hit next to where you are. Now the moment you hit Next, you will be shown this particular screen, which is talking about the destination folder on where it's installing the software on my machine it was installing to this particular part. There will be some parts where it's picking up so it can be programmed files for your system. But if you don't want to install at the specified location, you're free to change you so you can click Change and it will open up the folder. You can select where you want to install this particular software. Then you would hit Next. The moment you hit Next, you will see this progress bar, which indicates that your software is installed on your system. You will have to wait for a moment TO like a minute or two, not long. And then you will be seeing this particular step over you. On this page, you are seeing that Java software development kit 17 has been successfully installed. So this is a success message and you can click on Close to close this installer. Now we are done with the installation. Now it's time to verify if the installation was successful. In order to verify that, we have to run a command on our dominant command line. You can see Java hyphen, hyphen emotion. So you can see this command U, Java hyphen have inversion. And the moment you run this particular command on your machine, you will see the Java version being printed over you. If the software is not installed on your system, you will see an error or weird. So this is the command that you need to run. Now, let me talk about some of the common problems that students often face while installing. The first problem is they might get an error that Java is not recognized as an internal or external command this day might see when they're on Java hyphen, hyphen version command. In that case, you need to add the job. You need to add Java into your system bot. In order to do that, you need to right-click on my computer. You need to go to property and you need to go to advanced system settings. This is one way. Another way is if you are on the latest version of Windows, you can just search for environmental variables in the search menu with you. And you will see, I did the system environmental variables. When we do this, you will see this particular window open up with the button environmental variables. So you're getting this error because the bot to recognize java is not specified in the environmental variables. We will click over on the environment variable tabs. And then we need to add this particular location that we saw during the installation or where the Java was installed to environmental variables. We need to add this under the path variables. So variable names should be bought in caps and you need to paste this particular pot. Just make a note of video that our installation was in Java, Oracle JDK 70, and then we appended been to it. So this should be the path that you are adding and not adjudicate 171. You need to add slash bin and then you have to paste that particular path into the path variable. And you need to hit save and apply. Once you've done this, it should work for you. Alright, so that's about this class guys. So in this lecture, be understood, how can you install and setup journey on your Windows machine. I hope you guys were able to do this. And I hope you guys have java up and running on your system. I hope you guys found this class so valuable. I'll see you guys soon. Thank you. 3. Downloading and Installing JDK 17 on mac: Hello guys, welcome back. In this lecture we are going to install and set up JD gate on our Mac machine. And by the end of this lecture, you are going to have a complete gratitude. Eat on what are the different steps that you need to perform in order to have GDK up and running on your Mac machine. Let's get started. In order to force to install JDK, we first need to download the software. We need to go to Google and we need to type in GDK download. And we'll press Enter. The moment we press enter, we will be seeing a link of oracle.com saying Java downloads. Now Java is owned by Oracle, and this is the official link of Java downloads page. You will have to click on this. And you'll be taken to the official oracle.com website where you can download Judy game. Now here you will have this tab gij, our downloads. And under this, you will see this message. Java's 17 is available now, as I'm recording this video, Java's 17 is available for users to download and install. If you're watching this video later, there is a high possibility that a new version number could be released. But don't worry about version changes. The installation steps mostly remains same for all the Java versions. If deny any changes in the installation steps, I'll make sure I update the video. But if you're seeing any other version for now, we'll Don't worry, just download and follow the installation steps as instructed in the videos. You have to scroll down. You will see this is the GDK. And you will see here you have or tabs for different operating system. You will have Linux by default, selected will simply be out on Mac. We will be selecting Mac or you. And you can see two versions of Mac. Will you be needing the DMV five door BMG installer is what we're going to install. You have to dot BMG links over u. One is with the ARM 64 and the other one is with the X6 BMG. Now, ARM 64 is for the Mac machine, having a month chip. X6, C4 is for the Intel. Since I'm on Intel, I'll download this one. But if you are on the M1 chip, you have to download this one because this one would be the most compatible with your process. So this link and you will see the download start. Now once the software is downloaded. So I have already downloaded it. I have this file downloaded. Now, in order to begin the installation process, we will have to double-click on this file. The moment you double-click, you will see some sort of processing happening and this particular window opening up. So you can see this is the judy give 1.7.2 dot package file. In order to begin the installation process, I'll double-click on this particular file and this particular window will open up. This is the welcome screen of the installer wherein you are seeing this message. Welcome to JDK 17.2 installer. Again, like I mentioned last time, you might see a different version if Java has released or if attacker has released a new version, all for GDK. By the time you're seeing this video, you might see a different serial number, but that's completely fine. The installation steps are standard and almost same for all the Java versions. Just hit Continue. And you will see like it's installing in Macintosh HD or were you, and you will see that this is taking is 0.49 MB on my computer. I'm find that this I'll say install. The moment I load this, I M asked for my system password. You have to enter your system password and see installed software. The moment to do this, you will be seeing some progress running, which will tell you the progress of the installation. And after a while, you will see this message that installed has been succeeded. Install is completed. And you have successfully installed GDK 17 on your computer. I'll hit Close. The moment you say hit Close, it is asking for the permission that installer would like to access the files and download folder, I'll say Okay. And it will asking for permission because it wants to move this installer now to trash, because it's done installing better. We move this to trash file, say move to trash, and the file is gone. We are done with the installation. Now, what do we need to do is we need to verify the installation. So in order to verify the installation, I'll open the dominant command prompt. And I'll just increase the font size of this dominant so that you can see clearly. So this is the dominant view. In order to verify the installation, I'll type in Java version and I'll hit Enter. The moment I do that. You will see the latest version of Java has been installed on your system before the institution. Also, if you wanted to check if the java is installed on your machine or not, you can run the same command, Java hyphen motion. And if you see any output or any error, then it means that Java is not installed on your current system, which means that you have to install the JDK. The installation is successful, and I hope we all are clear on how you can install GDK on your system. And I hope you guys have clarity on the institution steps now. I hope you guys enjoyed this class and found this class valuable. I shall see you guys soon. Thank you. 4. Downloading and Setting up Intellij Idea: Hello guys, welcome back. In this lecture we are going to download and setup intelligent idea on our system. By the end of this lecture, you are going to have a complete clarity on the entire process. So let us get started. To begin the process. We will first be talking about intelligent idea system require admins. And we'd be understanding what are the system requirements that we need will be going to the official website and we'll be checking out some new dealings did. So what I'll do is I'll search for intelligent system requirements and I'll hit Endo. And you will see this official link of jetbrains.com. Jetbrains is accompanying who has been this IDE called intelligent idea. And this indict ID is made and maintained by this particular company. So I'll click on this link. Since this is the official link, you'll be taken to this particular page. Now, all we need to understand some point those around intelligent idea. See this pop-up to accept cookies. I'll just close this. It says that intelligent idea is available in these two additions. So the first edition is the Community Edition, and the other addition is the ultimate edition. Community Edition is a free and open source and it provides all the basic features to work with JVM and Android development. And ultimate version is a commercial and distributed with a 30 day trial period. It has additional tools for web and enterprise development. So we wouldn't be using the community version, which is nothing but the free and open source version. This community version is more than sufficient for our requirements right now. And in future, if you won't do upgrade to more features and if you want to use more features of intelligence, you can choose or consider upgrading to the ultimate version as well. For now, community version is the version that we are going ahead with. Now if you're scrolling down a little bit, you will see the system requirements. These are the system requirements that have been officially declared by intelligent. The minimum RAM requirement here is two GB of RAM. Anymore than CPU works for it. You need a space of at least 2.5 GB and one GB for caching. In total, you need a displays of three GB, sorry, 3.5, not three. This is the recommended monitor resolution. And these are the operating systems that it's compatible with. In Windows, it's compatible with Microsoft Windows eight or later versions. Macos standpoint one for you don't. Any Linux distribution. It's suppose release versions are not supported for Linux. So these are the system requirements you can see in the other column. They also have specified the recommended system requirements, like the RAM, the CPU requirements, and the requirements around this space and widths and the operating system requirements. These are the system requirements which JetBrains has specified. You can go through this entire beach and just read about intelligence if you wish to know. Once we have understood the system requirements, we can go ahead and download intelligence on our machine. In order to download intelligent, we will be clicking on get intelligent idea. And if you click on this, you will be taken to this particular beach. You can go to download intelligent page like this, or you can search for intelligent download on Google. And you'd be shown this particular page. And it's the same page that we just saw. You can go via Google or you can just click on Getting diligent and go to the speech. Now this is a page wherein all the download information for intelligent idea is dead. And you can see like this is the latest version of intelligence as I'm recording this video. So if diversion has changed when you are downloading it, so you need not worry because the installation steps are mostly standard for all the versions of intelligence that are no major changes. Irrespective of devotion, the institution should work for you. So this is the download page and you have a tab for Windows from you. You can see that there are two bifurcations, ultimate and community. And we discussed that you'll be using the community version, which is the free version. And if you scroll down a bit, you can compare the features of both devotions as well. On Windows. If you're on Windows, you can click on Download and make sure that EXE selected. You can hit Download and download on your system. If you're on a Mac, just make sure you have selected the appropriate version. Right now, I am on the intelligence of macOS. So Intel is selected. If you aren't on Apple silicon chip, you can make sure that this is selected and just hit download for the community version. If you want to in Linux, you can download the community version for the scene. Once the software has been downloaded on your system, we will head over to our representation, will see the installation steps. I am only presentation and we will be discussing the installation steps for intelligent idea on our system. Venue. Double-click on the installer. You would be welcomed with this particular page on your system. This is nothing but a welcome page and you have to hit Next. Once you hit Next, you will be shown this particular page when you are asked to twos and install location. Now, this is the location which intelligence is asking. On bed it should install the software on your system. So by default, it has picked up Program Files, JetBrains, intelligent idea, where were you? And it's also showing you space required and space available. But if you wish to install this particular software to some other location, you can hit Browse and you can choose the location of your choice. But I would have to come into standard installation and hit Next. Once you hit Next, you will see this particular page when you are being asked to create a desktop shortcut. If you wanted to create or desktop launch, or you can do that. You can update context menu, you can create associations, or you can add launches to the bot. If you wanted to do that. And you can check any of these options and you can hit Next. The moment you hit Next, this green is modal windows green. On Windows operating system, you will be asked if you wanted to create a start menu for loop. You can specify the name, but it's recommended that you don't do any changes in the setting new and you just hit Install over you. The moment you hit Install, you will see a progress bar which looks something like this. This will indicate that the installation process has begun on your system and you have to wait for a while until this progress bar In a 100%. And after which, this Next button will be enabled to you. The moment you hit the next button, you will be shown this particular page. You will be asked to do attorney move. This page is applicable on Windows, very new or asked to reboot your system. On Mac, you won't be asked to reboot. So you can either vehicle removed now or you can select I12 manually remove leader, and you hit Finish. These are the installation steps for intelligent idea. Once you hit Finish, you know that intelligent idea has been installed successfully on your system. Now, whenever you launch intelligent idea for the first time, this is the page that you'll be seeing. You will be asked to set the UI team of the application. Intellij. It comes with two teams by default, dark color and light. Dracula is the ducting and light is a lighter team would widen column. I benefit light thin, but if you prefer the darker one, you can choose it. And you can select skip remaining and set defaults. The moment to do this, your configuration is done. And when you open intelligent, you will see a screen, something like this. So this is a lake home screen, but you can do intelligent idea. You all being asked on what you want to do now, whether you wanted to create a new project, we wanted to open or important existing project. Or you want to get a project from the version control. For now we'll be, we'll be using created a new project option where you will be actually demonstrating how you can create a new project. And for that, I'll head over to our desktop. Your I am on the desktop. And as you can see, I'm seeing this welcome to intelligent idea screen. On the left-hand side, I'm seeing this list of projects. So if you are opening intelligence for the first time, you might not see all these projects on the left-hand side. And that's because you have not used IntelliJ idea in past. I have created a lot of projects in intelligence. And that's why I'm seeing a lot of projects on the left-hand side. The three options, and we will be hitting this particular option, new project. Once you click on New Project button, this bubble opens up. This is the popup that you will be seeing. And you can see there are multiple options. On the left-hand side. We'll explore each option one-by-one. The first option is the Java option, and you have to specify the Java version. Will you then a full versions of Java installed on my system 1.71.8 demo for Dean and Java seven. Dean, I choose the latest one. Alternatively, you have an option to add any other version which intelligence is not picking up by default, you can click on adjudicate and you can choose like where the duty gains solution is dead and irretrievable, You And you also have an option to download you to get from you. You can download Judy gain from the web if you haven't downloaded it already. So make sure we select the Java version 17. You have an option to add more libraries and frameworks. Then there is an option of maybe, and maybe there's nothing going on. And you can create Maven projects from you. And you're going to have an option to select Java version. You have a Gradle option for creating grid-based projects. Now Gradle is also basically like Maven and you have an option to add additional libraries and frameworks to the agreeable project. You can add groovy intelligent platform plugging in Kotlin. You have an option to create a JavaFX applications. You can create the user interfaces using JavaFX and you can get a job I Fix Projects from this particular option. You, you can also create Android-based projects from you. For creating Android project, you need to have Android SDK installed on your system. If it's not installed, you have an option to install us to get from you. Like I'm seeing what we'll. Then you have intelligent platform plug-in. You have Groovy. You can create projects that are based on groovy. It can create projects that are based on Kotlin and you can even create an empty project. The doubt any more rules? To begin with? We will select the Gradle option and start creating the griddle project. So I'll make sure that Java is checked in. I don't need any other libraries you, and I'll make sure I have the right version of Java also selected. The moment I do this, I'll hit Next. Now here, I'd be asked for the location. This is the location it's picking up by default. So I'll just hit the folder icon because I wanted to change the location and intelligent select intelligent goals. And I'll hit Open. When I'm creating my project on my system. You can choose the location of your choice. This is a name of my project intelligent goes. And I'll hit Finish from you. So the moment I hit Finish, you can see you are taken to this particular beach wedding. You can see at the bottom right. So I'll just disabled myself. And you can see at the bottom right over you, you can see some processing happening, which is nothing but the Gradle processing actually just come back. And you can see this is a project created and this is a better DOD Gradle file. If you expand this, you will see different fights that exist in your intelligent project. On project setup is done and we have created our post project using intelligent idea. What I would request you all is to install intelligence on your local machine and create your first project using intelligent idea. I hope you guys enjoyed this class and found this class valuable. I shall see you guys soon. Thank you. 5. Exploring Intellij: Hello guys, welcome back. In this lecture we're going to explore intelligent idea a bit, and we're going to understand the GUI of intelligent. By the end of this lecture, you are going to have a clear understanding of what are the different sections in the interface of intelligence and how can you make use of it? If you create a project for the first time, you are going to see an interface of something like this. Let me hop onto our presentation and let me show you what each section means. You can see what we do. At the top. You have this navigation bar, which shows you the navigation. So if you are on a particular file, you are going to see like where this file is located. Just below it, you are going to see a project tool window. This is the window wherein you will be seeing all the files in your particular project. You're going to see classes, interfaces, and whatever you create in your project. At the bottom, you have this Run Tool window. When you're going to see the output of your program. Then if you right-click on the editor, you are going to see the context menu. And this context menu is nothing but a pop-up window that has some options. You can use those options depending on your need. And then here you have this coding editor. This is what you see. This is the project window that we spoke about. This project tool window has different files that exist in this particular project. So you can see DOD Gradle file, dot ID or file. There is another Gradle file which has some char and dot properties. And these files are system-generated. Dot idea dot Gradle is system generated and you don't need to touch it. Dot cradle stores the settings or some configuration for the Gradle. And dot idea stores some of the projects settings and workspace settings, as you can see, it stores it in the form of XML. And you don't need to bother about these files over you. You have to just leave them as it is. Where you will be working is D SRC folder. Under SRC you will see different packages. So I can see two packages. One is the main package and test package and domain package. I have Java, wherein I'll be writing all my Java files. Under test. I have Java again, and you're in this Java, I'll have all my test files. If you are doing test-driven development, you can write the source code over you and then you can write a test files OU. Also you will notice that the test files are marked in green. You can see this green color over you, which indicates that your test files are to be residing with you. Then you have this build-up Gradle, which is nothing but d Gradle file, wherein you can mention all the dependencies that you want to use with your project. And then you can expand this external libraries. And you can see all the external libraries that are added, you're in the project. If I can see the Java version 14 is added, J unit is added to version 4.12, as mentioned over you in my Gradle file. And then there is the ham crest code library version 1.3. Let's go ahead and let's create our first Java file. I'm going to right-click. I'm going to grid total Java class and I'm going to see Hello World. And I'll press Enter. Before pressing Enter, I'll just tell you that you can see different options over you. You can create a class interface, enum and annotation. But the requirement here is to create a class. So I'll just press Enter. You have a class over you. Right now, I'll just have an output printed you called helloworld. I have to write a main method. You, if you're familiar with Java, you will know that main method is mandatory. If you want a class to execute. Instead of writing public static, void main, I'll just write P S. This is a shortcut for the main method syntax. If I just write p SVM public static, void main, and if I press Enter, you can see The public static void main being printed on the screen. This is how you can write a main method here. And you can also write system.out.println. You're, instead of that, I'll just write in US OUT, press Enter, and I'll see Hello World. Now we need to run this code. How do I run it? You can run it Edo from here. You can press this green icon. You can run the class, or you can run the method. Or you can right-click the context menu will appear and you can just click over. You run hello-world mean. Let's click this. It runs in this output window. You can see the execution year and it was successful. And we are seeing the output here, Hello World. This is what we printed. This is how you can create a project and you can execute it. And also you can create a class and declare a main method. And you can see the output. So this is just an overview of intelligence as an ID and how can you make the best use of the interface? I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 6. Installing presentation assistant, keymaps and learning keyboard shortcuts: Hello guys, welcome back. In this lecture, I'm going to talk about how can you install presentation assistant on your computer machine. And we're going to discuss key maps. And we also going to discuss on how can you start learning keyboard shortcuts. By the end of this lecture, you will have a complete clarity on these three things. And let's get started. So if you are looking to transition into a serious developer, you will be spending the most of your time working on the ID and learning keyboard shortcut may not only make you much more productive, but it will also save a lot of time since you will be much faster than before. Keyboard shortcuts make you very productive. And let's talk about the importance of why should you learn keyboard shortcuts. So the number 1 that I would like to make is you save a lot of time. Keyboard shortcut also make you much more productive than you were before. All right, So these are the two important benefits, or these are the two important points on why you should start learning about keyboard shortcuts. Now how can you learn about keyboard shortcuts? So it's not something that you can learn overnight. You can learn keyboard shortcuts by using intelligent idea or what an over again. And you can see different actions you perform on intelligence. And remember the shortcut over the period of time for those specific actions. So in this particular way, you can learn more and more about keyboard shortcuts. Keyboard shortcuts are not something that you can write on a piece of paper and just learn it. It's a process and you have to observe your actions like what is that you are doing an ID a lot and what are the shortcuts for those actions? And you need to eventually move to using shortcuts in the ID. So that's how you learn shortcuts in intelligence. 7. How to change fonts: Hello guys, welcome back. In this lecture, we're going to talk about how can you change fonts for your editor and also to the output console? Let's get started to change the forums. I'm going to go to Preferences, and I'm going to press the shortcut Command comma for Mac. If you don't remember the shortcut, you can go with you and see the shortcut over you. Now within Preferences, go to Editor. And I'll just expand this and I'll click on font. This option allows us to change the fonts of the editor. You can change the font or you, currently we have CED brings mono. You can change it to Monaco. Monospaced, X-Factor, whatever you like, basically you can choose. But I'll stick to the default value. You can also increase the font size. So I'll change this to 22. You can change the line spacing, etc. I'll click on Apply. You can see the changes applied in my editor. So this is how you can change the font for your editor. Now you can also change the font of the output portfolio. This is the output console that you are seeing. What I can do is I can go to Preferences. Under color scheme. I can select the console font and I can make the changes over you, or you can even increase the size, etc. We're right. And again, make the customizations mature. I'll stick to the default one because that is what I'll prefer. But if you're using a different setup, if you have a dual screen setup or if you have a larger monitor. And if there is a lot of distance between you and the screen, so you can change your fonts and make sure that you are comfortable. This is the benefit of this feature. So I'll just hit okay. And in this lecture we understood how can you change fonts of your editor and output console. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 8. How to change themes: Hello guys, welcome back. In this lecture we are going to talk about how can you change teams of your ID and how can you change its appearance? So let's get started. Intelligent idea has a concept of teams, which allows us to change the appearance of the IDE and to change the team. You can go to View and you can select quick switch T. If I click on this, you'll see the shortcut appearing over you. For Mac and for Windows. You will also see this pop-up coming up over on the editor. And you'll see five options. So you have first option as editor, color scheme, and the fifth option as team. You can select either one or five. They both actually aligned on the same thing. I'll just select editor color scheme. You will see different teams coming up over you. And you can see, I am on intelligence light. Now I can change it to high-contrast dark cooler or classic light. Again switch to dark polo, right? And it says, it looks like you have set dark editor color scheme. Would you like to set it? Yes, I'll say yes. You can see D appearance of the ID changes instantly. This is a dark Team. Dock team is easy on your eyes if you are coding for long hours. I'll just go again. Are you I went here by shortcut. I pressed Control and this button over you. But if you're on Windows, you can use the corresponding shortcut. You can go to team. Now I can also change it to macOS light. You can see this Mac was light over you. I'm going to go where you go to theme. You can see the preview also. If I change color, you can see the preview. High contrast, you can see the preview. You can see the preview of Mac with light and intelligent light. Macros light and intelligible light are both almost the same day. Might be few differences here and there. But yeah, I'll stick to intelligent light, which is by default. I'll press Enter you and I'm on intelligence light. You can change this team or the appearance of your ID depending on your choice. You can also install a custom theme. So we saw that we have 140 right here. But do you have an option to install a theme of your choice? You can go to Plugins.jetbrains.com. I have it already open in my browser. I'm on plugins.jetbrains.com. And this is the website that you'll see. So what are you going do is you can hit on search or were you just don't search? And you'll see some things appearing over you. And I can click on Show More. Keep on seeing teams staffing the team is already there, installed. You can select the theme of your choice. You can also select a material Team. I'll just open this load over u. And this is a team. This is how you already will look after you install this. This is the light theme that you have. You can see the readings, the number of downloads, some reviews out here. To install it, you can just click on Install to ID, and it will by default pick the intelligent version that you have installed on your system. If you click on this and if you go with you at all directly show you a pop-up to install. I'm not installing. If you can install it and you can try it out. Yeah, There are different lots of themes available. You just click on Show More, show more and you can just browse through it. Look at this coldly TV team. This is a different team with a different look. You can just install it. This is about teams and how can you change the appearance of your IDE to maximize your productivity? I hope you guys enjoyed this class and found it valuable. I'll see you very soon. Thank you. 9. Altering the appearance of windows: Hello guys, welcome to this class. So in this lecture, we are going to talk about how you can follow, alter the appearance of your IDE for maximum productivity. Here on intelligent idea, you are seeing this different panes are different windows, I should say. This is the project tool window, right? And every window has something called as view mode. So this is a window project tool window. You can click on this option for you and you can see this option you view mode. Now under View mode, you'll see this option by default selected, which is dock pinned. There are more options over u. I'll explain what each option means. Doc pinned means this is the default view or the default option where the window is always visible along with the other window. This project tool window is always visible along with the other window. Even this one. If you go to View mode, you'll see dark print. Now, let's say for an example, I just want this particular window to be visible only when it's active. So whenever I am changing the files, I want this window to be visible and not the otherwise. The reason is simple because it's taking up a little bit space on my screen and I want editor to teacup the maximum space. How do I achieve that? I can go with you into view mode and I can change it to talk unbind. Now, dot-com paint is a view where window is only visible when it's active and it won't obstruct the other window. I'll just change this to unpin. Alright. Now once I've changed it to unpin, I'll move to the editor. And the moment I moved to the editor, you'll see this project tool window is hidden now. And that's because it's not active. Now if I want to change the file. So let's say if I'm on HelloWorld.java and I won't do open some other file. I can go with you and I can change the file from you. And it will stay you till I'm working on this. And the moment as switch, it will disappear. Again. This is the benefit of Doc and pinned, right? I can also change it to undock. And undock is basically visible only when active, but it will cover the part of the editor. You're, you're seeing that whenever you open this, the editor also shrinks and it makes way for this window. But wit undock, you'll see Editor going behind this opening up over the editor. This is the difference between undock. There is another option called float. And float will detach itself from the window. And it'll float around. You can use this option basically, if you want. And you also have an option to convert those into a window, becomes a separate window. Window option is helpful if you have a dual screen setup. If you have a dual screen setup, you can just move this onto the different window, all the different screen. I mean to say, I'll just change this to dock pin. You can use this same options across all these windows to maximize basically the productivity or it will help you. So I'll just disable this. I'll just say right. Now this particular thing is active only when it's needed. And you have the maximum space for your editor. You can edit your code over you and you can work on it. And basically, these unnecessary things which were there are now removed and only active when you need them. Once you are done with the customizing the layout, you can go to windows, where you can go to Windows. And I can say store current layout as default. This will make sure that the current layout, which the IDE is set to will become the default whenever you open the window or whenever you open the ID. Now, you can also arrange the windows for a maximum productivity. How would you do that? You have this editor where you, what are you going to do is you're going to open this run pain. Let's say if you are writing some code wherein you have to run the file again and again, what you can do is we can just open this run pain. You can go with you. You can see move too. Right? Yeah. Right bottom. You can see the screen is now divided into two sections. You can see the output as well. You can maximize this. You can keep on writing the code and you can keep on seeing the output, right? It can also change this to dock pinned. This will never go away. And you're going to have this to screen split setup. And you can work on this. I'll just make any changes. I'll just run the code. You can see the output right then and there. This type of setup is also helpful if you are doing some test-driven development. And you can have test files open on this right screen, all right, split. On the left split, you can have your actual coding files. This is pretty helpful and it makes your life much more easy. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 10. Using Intellij without mouse: Hello guys, welcome back. In this lecture we're going to talk about how can you use intelligent idea without the mouse. By the end of this lecture, you are going to have some handful tricks on using intelligent. Let's get started. So there is a shortcut to perform an action in intelligent. But how do you move around an intelligent? Let's say if you want to go to this project tool window, if you want to switch to another file, you want to navigate through the project structure. How would you do that? There is a way or there is a keyboard shortcut to open and close every window that you have an intelligent. You will notice that every window you have has a number associated with it. You can see this one project, then seven structure. Then you have this run terminal also, which has a number associated here for R1. You can use this number to operate it without the mouse. On Mac, you can use Command one. And you have the corresponding shortcut also appearing for the Windows and Linux. So I can press command one to open, command one again to hide it. By one it opens and buy one, it height. After press, the corresponding number would come on to open the corresponding window. This shortcut is very helpful. So the moment type, press Command one. I go on to this project window. I can navigate using the arrows and I can press Enter to expand or collapse the packages, directories or whatever. Now, how do I come to editor again? Now I'm on to move to editor. To come to editor, I'll just press Escape. Now the moment I press Escape, I just move to the editor. Now there might be scenarios wherein you have opened up a lot of windows. Right now you open this. I have run windows open. I can switch to a default view by pressing Shift F2. I'll press Shift F 12. You can see that I have moved onto our default view. That's how you can use intelligent the doubt mouse. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 11. Some tips with Intellij to maximize produc: Hello guys, welcome back. In this lecture I'm going to talk about some tips that you can use with intelligence to maximize your productivity. So first I'm going to talk about or technique wherein you can rearrange your windows and get the most out of intelligence. So we're going to split our screens and I'll show you how you can do it to maximize your productivity. So I'll just close this. And what are you going to do is you can right-click here. You can say split vertically. The splits the window into two parts. Right? Now, what I can do is I have an oppurtunity or away way. You very Nikon keep two sets of files open in two different views. Let's say if I'm working on multiple files at once, I can have one file open OVO and one file open over you. And I have the liberty of doing that would intelligent and I can walk side-by-side. Now the question will arise. You have split the window or you have split the intelligent editor into two parts. But how do you move files around? You can move files around by right-clicking and selecting. Move to the positive group. I can see move to opposite group. So it's already there in the opposite group. That's why I didn't. Nothing happened. By clicking on this will make sure that the file you have opener, we'll we'll move it to the opposing group. If you want to open any file, you can anytime you you can select whatever you want. You can open it. I'll open settings dot griddle. It opened over u. I'll press escape from you if I wanted to move it to the opposite group, I'll move this to the opposite group. There is no problem whatsoever. This is how you can use IntelliJ. You can use split view with intelligent and make sure you get the most out of it. And this is very helpful even if you are doing test-driven development. So you can have your test cases open on the right side and your actual source code or the class files on the left-hand side. And you have a complete reference. So you can work side-by-side, working on a test case and also on the code. So it's pretty helpful that way and it saves you a lot from switching between files. You must have also observed that the split option does not have a shortcut. So if there are any actions that does not have a shortcut, you can assign a shortcut to them. Let me show you how. I'll go to preferences. I'll go to K-map. And you're in K-map. Search for split. Split vertically and split horizontally coming up over you without any shortcuts. What I can do is I can select over here, right-click. And I can say add a keyboard shortcut. I can add the shortcut I want. You can use this option to add the shortcut. Let's say if I want to assign command K, you can see I have to just press Command K and it'll pick up the shortcut. If that particular shortcut is being used for any other action, it'll show you right underneath OU, and it'll see it's already assigned for commit. The shortcut is already being used somewhere. I can see, come on and bracket. This is already assigned for forward, say Command Slash. Command Slash is not being used anywhere. I can say, okay to this shortcut and it will be assigned to this particular action. I'm not assigning it over you because I don't need to add a shortcut right now. But if you need to add, you can definitely do it this way. Instead of right-clicking and spreading the screen vertically, you have this option, right, with the help of the shortcut. Now, instead of vertical splitting, you can also go for a horizontal spreading rate. It's up to you. Just close all in this group and you have an option to split vertically as well. So it's absolutely dependent on your taste and all your comfortability. If you are comfortable with the horizontal one, you can go for horizontal splitting. That's about this class guys. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 12. Duplicating and deleting the line: Hello guys, welcome back. In this lecture we're going to talk about a couple of productivity shortcuts about deleting and duplicating a line. So let's get started. When you're coding. It's a common scenario that you might want to duplicate set of line or a single line. How do you do that? So to traditional way of doing is you copy that particular line and you go on pasting it. That's how you will do it. But there is a better way to replicate your line. How would you duplicate your line using intelligent? You can use Command D on Mac and Control D on Windows and Linux to duplicate the line. Before doing or pressing this shortcut, make sure that your carrot is on the corresponding line which you want to duplicate. If I want to duplicate this mean, I can just press Command D and it will duplicate. I can do Control set by undoing an action. This is how you can duplicate a line in a better way. Okay? Now, let's talk about deleting. If you want to delete this particular line, you will ideally select this line and you will say delete. But there is a better way of deleting. You can press Command Backspace on Mac and Control Y for Windows and Linux to delete a line. These are a couple of productivity shortcuts that you can use in order to duplicate. Or D the line. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 13. Moving your code around: Hello guys, welcome back. In this lecture we're going to talk about how can you move goods around in intelligent idea and what are some of the productive ways of doing that? We'll be talking about moving lines of code, moving methods, and also moving loops or a block of code. So let's get started. First, we'll be talking about moving lines of code. Let's say I have this line of code here, and I want to move it just one step below. Or let's say I want to move it at the end of the file. Now what is the ideal way of doing that? One way or the traditional way of doing that is to select, cut it, to move it, and paste it over here. Now, let me show you what's the better way with intelligence. So I can move my character onto the line of code that I want to move around. I can go to code. And I have this option here. Move line down and move line up. If I select Move line up, you can see the shortcut over you. It's Option Shift and up arrow for my editor or for my operating system. I'll select Move line up. You can see the shortcut for Windows or Linux. So I'll just use the shortcut and I'll keep on moving this particular line. You can see how it's moving across the file. This is one way of moving your code or line of code around. And this way is very helpful. Rather than copy pasting, Right? You can do it without the help of mouse. So you just need to learn the shortcut. And it will be very easy for you. Now there might be scenarios where you might want to move methods around. Let's say I have this method, method two. Let's say I wanted to move this declaration here at this particular position. One way of doing that is just cutting and pasting it over you. But there is a better way of doing it. So I can take my cat it to the method signature. I'll go to code. And you have this option, move statement up and move statement down. So you can see the shortcut as well. For Mac, it's Command, Shift and apparel. I'll say move statement out. You can see it shifted to the top. I can again press Command Shift and down. You see, I'm moving up and down. This is one way of moving your code or your method around. I should see, you can see the corresponding shortcut for Windows or Linux machine or you, another very helpful, you can move it across the file, right? It isn't down method and it's very handy that we, how you move methods around. Let's talk about how can you move statements around. Let's say I have a statement. I would say integer I is equal to 0. You solve this shortcut. I declared a variable, I is equal to 0. What I did is I dot. Let's say I wanted to use a for-loop using this variable i. What I can do is I just wrote I dot. And you can see I got this suggestion for AI and it will generate this entire for loop for me, I'll just press Enter. You can see there is a for loop which has been created automatically. You see, I will just change this to ten. I'll just print here for just a dummy for-loop that I've created to show you how you can move the blocks of code. Traditional ways, of course, copy pasting. I can just copy this and paste it wherever I want. But a better way is to take your character onto the beginning of for you. I'll go to code and I can see moves, statements down. You can see shifting down. I can use the shortcut. Alternatively, it'll move around. This is one of the productive ways of moving statements up and down. I hope you guys enjoyed this class and found this lecture valuable. I'll see you guys soon. Thank you. 14. Postfix completion: Hello guys, welcome back. In this lecture we're going to talk about post-fix completion. By the end of this lecture, you are going to have a clear understanding of this concept called postfix, completion and intelligent and how you can use it. So let's get started. Let's see what is post fixed completion. For that, I'll go to Preferences. And you can search post-fix over you. So much postfix. Under general, you will see this option coming up, postfix completion. And you can go to, you can tap on this right side and you can see a lot of options appearing over you. You have multiple languages, you, so I have Java, Kotlin. We'll be discussing java only over you as of now. Postfix completion allows you to generate some code with the help of some template. Let me show you how. Let's say I wanted to write an if statement. A traditional way of writing if statement is, let us say I have a variable Boolean be, right if B and you will write a pair of open and close curly braces. But there is a better way of doing this. You can see B dot if the moment you say b dot f intelligent will auto-generate this code for you. So let me show this to you in action. I'll cancel this. And I'll go with you. I'll say boolean b is equal to true. And I can say B dot the moment I press. If you can see, they've got converted into an if statement. Nothing but the benefit of using postfix. Let's go to our preferences again. This is how you can use postfix for generating an if statement. There is also a way to generate false statement. So there are different types. So first we'll be talking about normal for, and then we'll be discussing the reverse for. Let's say if you want to iterate through a collection, let's say I have an array like this, and you want to iterate through every value. What do you can do is you can use values. For the moment you do that. Here you will see, you'll see how the school got converted into a for loop. This preview that you are seeing on the right-hand side is very helpful. Basically, for every postfix that you select, you will see a template before and after. And it makes learning a lot easier. This is one way of generating a four to iterate through a collection. Another way is to generate a four for iterating through a value. You can see integer f2 is equal to a 100. And you can see foo dot for AI. This means it will generate a for-loop with f2 and it'll keep ISD variable. Let me show this in action. So I'll just delete this. And I'll say integer a is equal to, let's say, I'll say 102030. All right. We have an error here. Now. I can say a dot for you can see the suggestion or were you the first suggestion is to iterate through the collection for it read through every item, then you have a four for like with ISE variable or the counter iterating through the individual elements. And then there is a reverse for loop. You have an option for that as well. You can select the for-loop you want. I'll go ahead with the first one. You can see It's so easy. Like a lot of code was written by itself. I'll just press Control said, and I'll show you another type of four as well, which is just one for I'll press Enter. You see, we have all the variables set. I can simply go and print in a of I. It saves a lot of time. This particular thing. There is also a way to generate a reverse for-loop. I can say for R. And I'll press this. We can also have a reverse for-loop. This is how you can use post-fix completion for your benefit and to reduce the typing effort. There are lots of postfix completion already available. You like to generate a switch. So you can say foo dot switch, right? And it'll just try it in the switch statement for you. This is how you can use post-fix and you can check out different postfix that you have and you can use. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 15. Expanding and collapsing code: Hello guys, welcome back. In this lecture we're going to talk about how can you expand and collapse the code. By the end of this lecture, you are going to have a clear understanding of what are the different shortcuts you can use for achieving this purpose. So let's get started. So every method in class that you write in your intelligent coding editor, you're going to see plus and minus symbol here beside the editor on the bottom. If you click on the minus like you have an option to collapse it. And then this minus gets converted into plus and you have an option to expand it. So expanding and collapsing the code makes it very easy for you to work with large files and it makes the code look manageable. There is a shortcut also to expand and collapse the code. So you can go to Code. You can see folding. So you'll have this option called folding. And you can see expand. This is the shortcut for expand on my machine, so it's Command Plus. If I click this, you'll see the option for Windows as well. Control plus, I can say command minus and Command Plus to expand and collapse. This is a keyboard shortcut that you can use. There is an option also to expand all and collapse all. I can see expand all in my file, right? I can also see Command Shift Minus to collapse all. You can use Control Shift Minus for Windows and Linux. So it collapsed all the methods and classes in the given file. You can see it's being collapsed like this. And I can see Command Shift Plus to expand it again. Yeah, so collapsing works for methods. If you collapse some method, all the corresponding code will get collapsed. Or you can also collapse a class. I have this class here, nested class. This is one of the classes. I can collapse it. You can see the moment you collapse the class, everything inside it gets collapsed. Or you have an option to collapse method itself. You have an option to expand and collapse recursively as well. You can go to folding and you can see expand recursively and collapse recursively. And the shortcut is Command Option plus. I can press Command Option plus. Or the shortcut on Windows and Linux is a wheel. I can say command, option and minus. So I'll choose to collapse recursively, right? You can see first, if I press recursively, once, it will collapse this method, if I press it again, it will collapse this class. If I press it one more time, nothing happens because it has done it till class level. Same goes for this method also, this method three belongs to nested demo. If I say collapse recursively. So it will just collapse this method first. If I say collapse recursively, again, nothing happens. This is how collapse recursively works, right? It is a basically a recursive method of collapsing everything. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 16. Refactoring code: Hello guys, welcome back. In this lecture we're going to talk about code refactoring. We're going to discuss some of the easiest way using which you can refactor your class name, variable names, methods that are being used within the class and across different glass and packages. Let's start and let's see how we can make the most of intelligence. Let's get started. We have this class called nested demo. And let's say if I want to change the class name, if I wanted to change the class name, the traditional way of doing it is nested demo. Let's say if I wanted to change it to Nestor demo test, I'll just make this change. But now you will see that the class name is changed. But I'm getting a lot of errors, like I'm getting the error. Let's say if I'm using this particular class name in another method, in another class, I'll get all red marks there. Imagine walking with hundreds and hundreds of files. Like if your project is too large, it has multiple files. How would you change a class name? So it becomes very tedious and very cumbersome for you to make changes in that particular case. So I'll just press Control said you undo the change. There is a better way to change the class name. And that's by using the refactoring feature of intelligence. To re-factor, what I need to do is I need to select this class name, right? I need to go to Refactor. And you can see Rename optional. You rename option will make sure that it's renamed across the project and not just in the single instance. And the shortcut for the same is Shift F6. I'll use the shortcut. I'll go with you and I'll say shift and F6. You can see, I am not seeing a character with you along with the suggestion. So you can see, I see the suggestion. I'll press escape. I'll just invoke it again. The suggestion went away. You can see few suggestions that intelligence is showing me. If I wanted to choose anything from the suggestion, I'm open to do so. Or I can add my own name. So I can say nested demo test. And you see the woman time changing. It's changing the name across the file and across the project. And I hit Enter. It's changed all across. The moment I hit N TO. It's also suggesting, or it's also telling me that this particular VDI or this particular class name is being used in other files as well. And the other file is nested Demo main. Now what they're suggesting me this, that what do you want to rename local variable nested demo to Nestor demo test. I can do that. So I'll say, Okay, I'll go there. And you can see it's changed everywhere. It's changed everywhere. But doubt a hazard. This was changed across files. I'll just go again and I'll try refactoring again over u. So I'll press Shift F6. Again, press Shift F6. So if you press Shift F6 again, you'll see this pop up, you pressing Shift F6 twice. We'll open this pop-up and you'll see more options over you. So you have an option to rename the class nested demo test to. I can change it to necessary demo again. And you can make sure that all the occurrences in test.js variables are changed. Like everything has changed. The scope is in project files, so you can change the scope as well. You can select to current file also, but I'll keep it to project. And then you have an option of preview. You can preview the changes. You can see where all the changes will occur. Once you end your locker, you and the change here, the new venue. This is the same file. You can see glasses to be renamed to test demo and constructed to be renamed to test demo. Then you have dereferences to this particular class. And you have one reference in nested demo mean. You have one more reference here. There are a few references that you have already and you would want to change this. What I'll do is I'll say to refactor, and it'll refactor everything. And now you can see that everything is re-factored back. This is a way of for refactoring class names. You can do the same for the variable names. So let's say within this class I have this variable x. Now if I change this x to x2, you might get an error like I'm getting another now will you? Because I'm using this variable u, or you might get an error. You're in some other file where you are using the same variable. To save yourself from that. Hassle can say Shift F6. And I can say an int. And the moment at rest you can see it got changed here. It got changed. You press Control Set. This is how you can also change the variables within the class. Refactoring is pretty easy with the help of intelligence, you can make use of this refactor feature to change the method names, variable names, etc. By the way, this also works for methods. I didn't talk about methods. I can say Shift F6 and I can change the method name as well. It'll refactor it to whatever you say. It's pretty easy that way. Let me now show you how can renaming work with interfaces and also how it can work across different files. For this purpose, I'll create a new interface. It's an interface, I'll say View, View. And I'll create list. I'll get to you. This is an interface that we have created with one method, list, view and create a class. Now, I'll say View implementation. Press Enter. Now I'll implement this particular thing that we just created. Implement test to you. The moment you implement test tube, you will see a red line along with a contextual icon, like a bulb icon for contextual menu. And you can press Option or Alt and Enter on Windows. And I get an option to implement methods. I'm getting this red line because I haven't implemented the methods defined in test view interface. I'll just say Implement Methods. It opens the popup that which method you want to implement. I'll just select this and I'll press enter. This method is implemented now and the error goes away. And let's say I want to refactor or change the name of GetView, not changing the name of GetView to get to you one, we'll have an issue because we are implementing get two u over u. How do you refactor? You can refactor in the same way. You can press Shift F6. You can say GetView test and press Enter. You can see GetView test. This is how you do refactoring. And this is how it works across glass needs. Refactoring or changing the names. Would intelligence is very, very easy. And intelligent, really takes care of us and made sure that it does not create unnecessary errors because of renaming variables, classes or methods. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. Hello guys. Welcome back. In this lecture we're going to talk about code refactoring. We're going to discuss some of the easiest way using which you can refactor your class name, variable names, methods that are being used within the class and across different class and packages. So let's start and let's see how we can make the most of intelligence. Let's get started. We have this class called nested demo. And let's say if I want to change the class name, if I wanted to change the class name, that traditional way of doing it is nested demo. Let's say if I wanted to change it to Nestor demoed test, I'll just make this change. But now you will see that the class name is changed. But I'm getting a lot of errors, like I'm getting the error. Let's say if I'm using this particular class name in another method, in another class, I'll get all red marks there. Imagine walking with hundreds and hundreds of files. Like if your project is too large, it has multiple files. How would you change a class name? So it becomes very tedious and very cumbersome for you to make changes in that particular case. So I'll just press control side. You do the change. There is a better way to change your class name. And that's by using the refactoring feature of intelligence. To re-factor, what I need to do is I need to select this class name. I need to go to Refactor. And you can see Rename optional. You rename option will make sure that it's renamed across the project and not just in the single instance. And the shortcut for the same is Shift F6. So I'll use the shortcut. I'll go with you. I'll say shift and F6. You can see I am now seeing a character with you along with the suggestion. So you can see, I see the suggestion. I'll press escape. I'll just invoke it again. The suggestion went away. You can see a few suggestions that intelligence is showing me. If I want to choose anything from the suggestion, I'm open to do so, or I can add my own name so I can say nested demo test. And you see the woman I'm changing, It's changing the name across the file and across the project. And I hit Enter. It's changed all across. The moment I hit Enter. It's also suggesting, or it's also telling me that this particular VDI or this particular class name is being used in other file as well. And the other file is nested demo, mean. It's suggesting me this, that would you want to rename local variable nested demo two, nested demoed test. I can do that. So I'll say, Okay, I'll go there. And you can see it's changed everywhere. It's changed everywhere. But doubt a hazard. This was changed across files. I just go again and I'll try refactoring again over you. Press Shift F6. Again, press Shift F6. So if you press Shift F6 again, you'll see this BubbleView pressing Shift F6 twice. We'll open this pop-up and you'll see more options over you. So you'll have an option to rename the class nested demo test to. I can change it to nested demo again. You can make sure that all the occurrences in test.js variables are changed. Everything has changed. The scope is in project files, so you can change the scope as well. You can select to current file, also, keep it to project. And then you have an option of a preview. You can preview the changes. You can see where all the changes will occur. Once you end your locker, you another change you didn't you than you. So this is the same file. You can see glasses to be renamed to test demo and constructed to be renamed to test demo. And then you have the references to this particular class. And you have one reference in nested demo mean. You have one mode reference here. There are few references that you have already and you will want to change this. What I'll do is I'll say to refactor, and it'll refactor everything. And now you can see that everything is refactored back. This is a way of for refactoring class names. You can do the same for the variable names. Let's say within this class I have this variable x. Now if I change this x to x2, right, you might get an error. So I'm getting an error now we'll you, because I'm using this variable u, or you might get an error. You're in some other file where you are using the same variable. To save yourself from that. Hassle can say Shift F6. And I can say an int. The moment I press, you can see it got changed here, it got changed here. Press Control Set. This is how you can also change the variables within the class. Refactoring is pretty easy with the help of intelligence, you can make use of this refactor feature to change the method names, variable names, etc. By the way, this also works for methods. I didn't talk about methods. I can say Shift F6 and I can change the method name as well. Refactor it to whatever you see. It's pretty easy that way. Let me now show you how can renaming work with interfaces and also how it can work across different files. For this purpose, I'll create a new interface. It's an interface, I'll say test view. View, right here. I'll create list. I'll say get to you. This is an interface that we have created with one method. Let's get you create a class. Now. I'll say View implementation. I'll press Enter. Now I'll implement this particular thing that we just created. Implement test to you. The moment to implement test tube, you will see a red line along with a contextual icon, like a bulb icon for contextual menu. And you can press Option and enter or Alt and Enter on Windows. And I get an option to implement methods. I'm getting this red line because I haven't implemented the methods defined in test view interface. I'll just say Implement Methods. It opens the popup that which method you want to implement. I'll just select this and I'll press enter. This method is implemented now, the error goes away. Now let's say I wanted to refactor or change the name of GetView. Now changing the name of GetView to get to you one, we'll have an issue because we are implementing get two u over u. How do you refactor? You can refactor in the same way. You can press Shift F6. You can see GetView test and press Enter. You can see GetView test. This is how you do refactoring. This is how it works across glass, needs. Refactoring or changing the names with intelligence is very, very easy. And intelligent really takes care of us and make sure that it does not create unnecessary errors because of renaming variables, classes or methods. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 17. Changing signatures: Hello guys, welcome back. In this lecture we're going to talk about how can you change signatures for methods and classes. This lecture will help us understand on how intelligence makes it really easy for us to update signatures. So let's get started. I have this method, method two, which is within this class nested demo. This method is being called from nested demo mean OU, close everything else. This method is being called from you twice. Let's say I want to update the signature of this particular method. Now how would I do it? The traditional way of doing it is going over u. Let's say I wanted to add one parameter over you. I wanted to say integer. A moment, I do this. I'll see an error message you seeing two related problems. The moment I click on this, it is going to open this particular pane over here. And I'm going to see the error. The errors are coming in. Another file called nested demo mean, which is you, right? And I'm seeing the error marks you. Now the traditional way would be to go and update and add a parameter you, right? But this is not possible or this is very tedious when you have a large project with lots of method called at different files in different places. So how would you handle that? There are two ways to handle it. So the first way is you can see this edit icon here. So when I added this particular parameter, you integer a, or edit icon just came up over here with the alphabet. So I'll click on this edit. It says update usages to reflect the method signature. So it's suggesting that you need to update the usages of this particular method to reflect the signature changes. I'll say next. Right? Now it's asking me for a default parameter, for the parameter a. Now it's asking me for a default value for the parameter a. Since I've added the parameter a, I need to pass in the default value, I'll say ten. I'll click on update. The moment I update, you see the code is updated to ten. Can even go into the file and see it's updated to ten. There is no error whatsoever. What does option does is it updates the method signature and it takes the default value by asking you the default value. And it adds the default value wherever this particular method call is being done. There is one more way of changing the method signature. So let's say if I wanted to change the method signature of this particular method again, I can right-click. I can go to Refactor and there is an option to change the signature along with the shortcut Command F6. Or I can also go to Refactor. And there is an option to change the signature again. Refactoring goals Shift F6, this is Command F6. For Mac. If I press Command F6, you can see control F6, it's for Windows or Linux. Now the moment I press this shortcut or I select it from the options menu, whatever. You'll see this pop-up of gene signature, it says divisibility of the method is public, return type is void. The name is method two. These are the parameters. And let's say I wanted to add one more parameter. Let's say I wanted to add parameter b. I wanted to add parameter with integer. I'll say be just observe as I'm typing, seeing the preview of the mentor W. And it's asking me for a default value also. I don't want to add a default value. Let's say it will ask whether I want to modify the existing method or I want to delegate this while Willard method. If I select this, it will one more method. And it will add this as the new method. And it will be called as an overloaded method. Now for B, I can add a default value of 20. Let's say it says default value of 20. No default value, I guess for a that's fine. Yeah. This is our method. I can do a preview or I can directly refactor. The moment that do preview. I'll see where all these changes are being applied. The one change is being applied over you. One change will be applied. You go ahead and I'll say to refactor. You can see refactoring is done. So this method has one more parameter now. And you can see two parameters are being passed. But the default value for the second parameter as specified by AS is 20. I'll again go to that pop-up, which we just saw. So Command F6 or control F6 on Windows or Linux. Now here you can also change the order of the parameter. So let's say I want, let's say I won't be to come first and E to come second. So I can just select a, press this down arrow. You can see the order got change and select this, an order got changed again. This is how you can do a lot with method signatures, and this is how intelligent makes it really easy for you to update the changes. Now let's talk about how can you change the signatures of the classes. To change the signature of classes, you can use the same shortcut. I'll just minimize this. Let's say I wanted to change the signature of this particular class. Let's say I'll create a class. The class test. It should test. I'll press Command F6, control F6, whatever. Now, you'll see this pop-up. This is a different pop-up that we saw. For method. I can add a parameter, you can say integer, refactor it to specify the default value for integer l, say 20. Wrong default value. It says, sorry, their default values integer and bound values, nothing. I'll just remove this bond value. Okay? I'll refactor the moment I do this, you see signature is changed for this particular class. This is how you can update the signatures. The moment I do this, if this class is being used somewhere, updates will be done to that particular usages as well. So for example, just to give you a demo, if I add a main method, will you let us say, if I create an object of this class, let us say for example, if I remove this signature change, there are no arrows. Now, let's say if I go on to change the signature, Let's say I add the default value of integer. I do refactor. You'll see it's being changed. So all the objects that are being created in the project for that particular class will be updated to the new signature. That's the benefit. And really help of this, you can even preview the changes. So before making the changes, you can actually preview it one by one. So I directly press Refactor. But if you want to preview, you can happily do it from you. This is how you can do refactoring of methods and classes within the intelligent project. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 18. Inline refactoring: Hello guys, welcome back. In this lecture we are going to talk about inline refactoring. By the end of this lecture, you will have a clear understanding of how can you do inline refactoring for the code that you have extracted? So let's get started. So inline refactoring is exactly opposite of code extraction. Here, you can remove the method and put the code back where the method call is done. You can access this from the menu re-factor and you can select a line property here. Let me show an example of this. Let's say I have this method and it's being used at one place only, and it's not being used at multiple places. I don't want to keep this piece of code separately into a method, but instead, I want to move this piece of code here and delete this method. How do I do that? What I can do is I can take my carrot to the signature. I'll go to Refactor in line. The moment you take the carrot on the signature and go to Refactor, you'll see in line method you I'll click on inline method. You can also make a note of the shortcut Option Command N for Mac and Control all end for Windows and Linux. Once you have the shortcut, you will see a few options here. You can see it's inline all. What do you want to do you, whether you want to move everything in line and remove the method, or you can inline all and keep the method as well. So it's up to you. So I'll just go ahead and select this first option in line all and remove the method. And I'll just click on refactor. You can also click on preview and see the changes. But I'll go ahead and do the refactor. And you can see the changes. The method is disappeared and the code has moved to this particular place where we were making the method call. So this is how you can do inline refactoring four methods. Inline method refactoring is very helpful in a scenario wherein you have created a lots of methods which just consists of a couple of lines of code. And you're not using those methods at a lot of places. You might want to remove those. And you can do some refactoring. And you can make your code much more cleaner. So intelligent, it makes it very easy for you to refactor code. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 19. Commenting and uncommenting code: Hello guys, welcome back. In this lecture we're going to talk about some shortcuts that you can use for commenting and uncommenting your source code. By the end of this lecture, you are going to have a clear understanding of what are those shortcuts and how can you use them? Let's get started. There are two types of comments that you can write in Java. The first type is you want to comment a line. And the other type would be to comment a block of code. We'll first talk about how can you comment a single line. In order to comment a single line, you just press this forward slash two times. But there is a shortcut that intelligence provides us. You can go to code and you can see comment with line comment. And you can make a note of the shortcut, which is command forward slash. For Mac. I'll just press Command forward slash. And you will also see control forward slash for Windows and Linux. So this is a shortcut. If you're using Windows or Linux, and you can see a single line comment was inserted automatically. You can see I inserted it again. You can go on inserting this type of comments if you wish to. And it's pretty easy and it saves you from a lot of typing effort. Now, once you add a comment, you can go to the same line and you can press the same shortcut to uncommented. I just commented this. I went to the same line. I just pressed command and forward slash and it got uncommented. This is how you can comment and uncomment a line using intelligent. Now how can you comment a block of code? Let's say I wanted to comment this constructor you, what I can do is I can go to code and you can make a note of the shortcut. Comment, a bit block comment. It's Option Command forward slash. For Mac. What I'll do is I'll press Option Command forward slash, and it's Control Shift forward slash for Windows and Linux. You can see this entire block of code was commented. If I have two uncommented, I'll just press the same keys again and it gets uncommented. This is how you can comment and uncomment a lot of code using the shortcuts that intelligent provides to you. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 20. Navigating in project: Guys, welcome back. So in this lecture, we are going to talk about some of the tips and tricks that will help you as a software developer to navigate through your project in a very productive way. So let's get started. So navigating in a project is very important. Like, if the project is very, very large, you might be wanting some easy ways using which you can navigate to the file or method that you want to. So let's talk about some of the shortcuts. So the very first shortcut that I'm going to discuss is to double shift. So if you press double shift right, you will see this pop up opening up and you can access this double shift from navigate and search everywhere. You can see this search everywhere. So if you press double shift, it opens up this pop up using which you can search for anything in your project. So you can see main right and it'll show you everything so that it show you the main methods under the symbol. And then you have identified as you will see these two files. You will also see this glasses and you'll also see some actions, right? So you can select whatever you want. So I'll go to this mean in Helloworld. And if I press enter, I just go there, right? So this is how you can search for everywhere within the project. You can also search for any actions that you want to basically. And the shortcut for that on Mac is command shift E. And on Windows and Linux. It's Control Shift E. So if you press this shortcut, you will see this bump up and you can search for anything you want. So I can search for font, let's say if I want to update the font. So I'll see this does this coming font in preferences and I can hit enter right? And straightaway, I'm here and I can update the font and I can press escape. So it was pretty easy. So command shift e and control shift e for windows. You can also search for any classes that you want to within your project, and a shortcut for that is command. So it's command all on Mac and Control, plus RN on Windows or Linux. Right. And you can also access this from navigate and go to class. So here I am on the glasses stamp and I can type in the glass I want so I can see nested. You can see that it's also showing me in a glass. So nested is the inner glass in nested demo, right? And I want to go to nested demo. Let's see. So I'll go to nested demo, right? And I'm you. And you can see it will showing us this class in the search so you can go to the class of your choice that you want to buy directly typing in the class name with the help of this shortcut. You can also use a camel hump technique, so I can only type in the capital letters of the class. So in the. So you can see this is a gamble technique using which you can navigate to the glass of your choice and you don't need to type in the entire class name and they're in this class, right? You can also go to a particular line. Right. So let's say within nested demo. Right. I want to go to line number. Let's see. 11. So I can just press colon and I can put in the line number and I can press enter, then go to line number 11 straightaway. So these kind of shortcuts help you a lot, right to navigate through the project. If you have a project that has hundreds of files and there are lots of packages also, so it might be very tedious for you to use this project tool navigation you, which you have on the left side. And if you want to go without a mouse, if you are using just your keyboard, then these shortcuts will be very, very helpful. All right. Also, one more thing I would like to tell you is, let's say I'm in this nested demo class, right? And I press command. And I went to Helloworld. Right. So from Mr Demo, I came to Helloworld. Now let's see, I want to go back to the place where I came from. So how do I do that so I can use command and opening bracket? OK, I'll just practice and I can come back and on Windows or Linux, you can use control oil and back out. So command and opening bracket was for Mac, right? So you can use that and you can also use command and like closing bracket on Mac to go forward, write and control also forward on Windows or Linux. So you can come back, come forward, come back, come forward. So this is very helpful. Basically, if you are working with multiple price, OK, let's say if I navigate it to a file that's there and I would get it to use the file right. And I wouldn't want to come with you. OK, I realized later on, and I want to go back. So just press command and opening bracket on Mac or control or backward button on Windows or Linux. So this is pretty helpful to navigate right going forward from the old file. OK. After jumping to the new one, you can also press command shift all right to search for a fight. So instead of classes, you can search for files, right? And you can type in any file name you want. So I can see Build or Gradle, I can look for it or Gradle and go in build or Gradle, right? I can also look out for folders, you write, so I can see Java. And I can see, like a forward slash, right? So with the help of forward slash against search for folders. Right. So Option Command also allows you to search for symbols on the Mac right and all shift control plus and allows you to search for symbols on Windows or Linux so you can use the right shortcut according to your operating system, and you can search for symbols. Now what are symbols? So let's say I want to go to this method. OK, get the view. So I can see that if you get to use an ID card, use a name, get you the city. I can also use camel hump technique. You could use a city, see. And I'll go with you, right? So this is how you can search for any symbols, right, any methods that you want to look for. You can use a search symbol option. You can also go to the project tool window. You. Right. So I've pressed Command one. OK, now my groceries. All you, I can straightaway start typing in a wheel so I can see hello. World. Right. And it will straightaway perform the search for me within that particular window and I can present. Right. So you can also search for anything and jump on to a file that you want with the help of Project Blueprint. So these are some of the shortcuts that help you navigate and search through the project. Now, let me talk about some more shortcuts that will enhance your productivity even more. While doing development, you might want to go to a recent file location that you just accessed. So intelligence allows you to access the recent file location using Command E on Mac and Control E on Windows and Linux. So if you press Command E on Mac or Control E on Windows or Linux, you will see this pop up. And this shows you the list of recent places that you have been to. So I can just select any of the file that have been recently and I can go to that file, right? I can also see the list of recent locations that I have been to my pressing shift command and E on Mac and Control Shift E on Windows or Linux. Once you press this shortcut, you will see this pop up, which will show you the list of recent locations that you have been on. Right? So for example, like recently, I've been in Hello World or Java and I have been in Mean Método with you. I've been in $USER job before that, and I have access to get used to it. And before that, I was in build.gradle, so you can see these are the recent locations that I have been to. And I can select any of the location. OK, let's see. I want to go to this location. I can click on that. I can just press enter. Right. It's sort of clicking and I can go to that location. Let's say then I realized like, I don't want to be you and I want to go back so I can press command. And the opening bracket like opening back at key on Mac or control all. Back on Windows to come back to the original location. So this is how you can access precincts, OK? You can access ricin files and recent locations and navigate through them using intelligence, so you can also navigate between files and look for usages. So let's see. I have this method, too. Or you? And it was declared you ingested them. Now let's say I want to see where all this Method two is being used. So I want to see the usages of Method two so I can just press, come on, be on Mac and control me on Windows and Linux. Right? And I can just see where all this is being used, so I can see. So like you can see, it's being used in nested demo mean on line number 13. OK. And this is the method call that we are doing to this, and we are passing 10 20 again on line number 14. We're calling this again and we're passing the same parameters. And then in Usad or Java, I'm passing this same parameter again with the same method called. Right. I can go with you. OK, let's say I never get to use it or Java. OK, so method call. I just commented, Right? I just coming to school and I pressed command and opening bracket key. OK. Or art control and back at work on Windows. On Linux, and it came back. Right. So you can navigate went through with the help of keyboard only right and intelligent and make your life and development much more productive. So these were some of the tips and tricks that help you navigate through your project. You can also search access resumes and navigate between files with the help of these shortcuts. So in this lecture, we understood and took a look at some of the productive ways in which you can navigate through your project. You can search through your project, you can access resumes and you can navigate between FYI while looking for usages. So I hope you guys enjoyed this class and found it valuable as you guys soon. Thank you. 21. Configuring git: Hello guys, welcome back. In this lecture, we are going to enable version control for our intelligent project. By the end of this lecture, you will have version control enabled for your respective project that you're working on. Intelligent idea provides us lots of options basically to work with version control. So you can go to this VCS menu, which has all the options that mental Egypt provides to work with Git. And version control software is basically, for now, we're just going to enable Version Control Integration. So enabling this will create a Git repo for our intelligent project and will give us the liberty of for making comments, creating pull requests, etc, for our project. I'm just going to hit on this button here. I'm just going to select this. You can see that it's asking me, select the version control system. You want to associate your project root width. We have multiple options here. You can work with Git, Mercurial Subversion. I'll select Git and get us by default even selected. I'll just press Okay. The moment you press okay, you'll see this BubbleView of being Gullah bubble. It says created git repository in this location. You see this option of getc coming up over you. So you can tap on this and you'll see this message. You initialized empty git repository. At this location. We have successfully initialized the Git repository are intelligent project. I hope you guys enjoyed this class. I'll see you guys soon. 22. Cloning the project: Hello guys, welcome back. In this lecture we are going to discuss how can you clone the project using intelligent. By the end of this lecture, you will have a clear understanding of the different ways in which intelligence allows you to clone a project from the version control. So let's get started. I am on this intelligent idea screen. To close the project, I have to go to VCS. I have to select get from version control. The moment I select this option, I'll see this pop-up coming up. And you can have a repository URL off the project that you want to clone with intelligent. And you can paste it over you. So once you paste the repository URL and you click on Clone, Intelligence will clone that particular project, and it will clone it to this particular directory. You also have an option of changing the type of version control, who we are discussing get. But you can also work with Mercurial and Subversion. These are allowed or alternatively, you can configure GitHub accounts with intelligence. So you can login to intelligence via GitHub and you can get your repository onto intelligence. So this is one way of cloning the project. There is one more way, so I'll just close this project here. I'll just open intelligence. Once you close the project on the welcome screen, you will have this option again of get from version control. This is another way of cloning a project from the GitHub. So you can click on this Get from version control. And it will again show you that same pop-up which we were seeing inside when we went from the menu. You can use this pop-up as well to clone the project when you don't have the project locally and you have it saved on the motion control instead. This is how you can work with GitHub or any other version control and get your projects onto intelligent. I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you. 23. Working and committing to git: Hello guys, welcome back. In this lecture we're going to talk about how can you work and commit your changes to get. By the end of this lecture, you are going to have a complete overview of this entire process and how intelligent helps you in making this process easy for you. Let's get started. Here on the left-hand side in the project tool window, I'm seeing my project files. All my project files are seen over you. And you can see that all the project files are colored in red. Now, red color means that these files are not yet added. To get. In order to add these files into good, I need to go to the file. I need to right-click. I need to go to get good option you and I need to say Add. I can also use this shortcut of option Command a on Mac and Control Alt on Windows. The moment I use this option, you'll see that the color of the file has changed from red to green. This is indicates that this particular file has been added into the version control. Now we'll go ahead and we will commit the changes. So how do you commit? In order to commit, you can click on this button over you comment. Or you can press Command K for Mac, or you can go into VCS and click on this option here. I'll just press Command K. Since I'm on Mac, you can press Control K If you are on Windows or Linux machine. Now the moment you press commit, you will see this particular pop-up OU. And it'll show you the changes that you are committing. Also, it will show you the files. These are the files that have not yet been added into kit. Remember, we have only added one file, HelloWorld.java, which is being committed. You can optionally add all the other files that exist in your project. I'll go, I'll just expand this and I'll see this java folder with you. And you can see all the other files, so you can select. You can also add these files into good. You also have some options. On the right-hand side. You can mention the author, who is the author of the code. There are some more options here. But out of all these options, I use optimize imports frequently. So I just select optimize imports. And this option makes sure that it removes the unnecessary input statement which are not being used. And before committing, it just makes sure it optimizes all the unused inputs treatments, and it commits to changes. At the bottom, you have an option to commit. You can click on this down arrow and you can even comment and Bush, you can select whichever option you want. I'll just go ahead with commit for now. It's telling me that commit message is empty. So you need to also enter a commit message and you need to specify the changes that you are doing. I'll just see first comment. I'll just press Comment. And you see OU, the message two fives committed. First comment. This is a commit name. Now we have two files, HelloWorld and nested demo committed into good. Now I'll just open HelloWorld. I'll just try to add a couple of lines. So I'll just add System.out.println. I'll add hello volt. Now the moment I make any changes to the file that has already been committed, you will see this green highlight coming up on the side of the editor. This green highlight tells us that all the other changes except this green highlight has been committed and send to version control. But this green highlight is the new change that we are yet to comment. If you click on this green bar, you will have some options for you. You can go to the next change or previous change, right? So if I have one more change and I can find tr over you, I can go to the next change and go to the previous change and so on. I have an option to roll back and remove this change. I have an option to show the diff. So I can just click on that and I can just see the difference on this is what it was previously and this is what the changes. I can do that. I also have an option of copying the genius. You can do all of this over you. You can also right-click. I'll right-click and you can select anode it. The moment you do that, you will see log appear over you. And you can see who made which changes. You can click on any of the logs and you can see the changes at that point in time. Today. Like Melbourne, who is me, did this change? And I can click on this and again see the file. At that point in time. I can navigate to the code which was there when this change was made. You can do all of this and you can hold on this and also see basically when this comment was made. So these are some of the things that intelligent offer those. You can also go to the panel at the bottom. I'll just expand this a bit. You can see all the changes you are as well. So it'll show you the fall change list and like if you expand this, it'll show you which all files have the changes. So there are two changes in this file and you have an option to remove it from your as well. So the moment I hit cross, that changes removed and you can also see the list of files over you. You can click on Lock to see which branch you are on. And you can also see the list of your comments. We have our first comment right now over you, and we committed these two changes in the false comment. You have an option to go to console. And in console, you will see the log messages will go to this local changes over here. And we'll right-click on the changes and we'll say commit file. So I'll just click Go here. This is just another way of committing. I can do my second comment here. So second commit. And you can see like it's highlighting the change OU in this editor here. And we are able to see what is the change that we have done and what is that we are committing. So earlier, we had only one System.out.print LN. And on the right-hand side it's showing us the changed file with the changes highlighted in green. Just select commit. So comment has been done and I'll go to lock. You can see second comment. This is how you can work with version control in intelligent and you can perform comments. So in this lecture we understood how can you add your source code into Git and how can you do comments? So I hope you guys enjoyed this class and found it valuable. I'll see you guys soon. Thank you.