Mastering PyCharm Transcripts
Chapter: Why PyCharm and IDEs?
Lecture: How do you learn all the features of an IDE?

Login or purchase this course to watch this video and the rest of the course contents.
0:03 If you're new to PyCharm, this picture is probably super overwhelming,
0:07 there's so many windows and so many things happening in those windows,
0:12 kind of obscured in the middle, there some kind of editor
0:15 that probably we know what it is, and there are all these project stuff,
0:17 and if you were to right click on something in the project,
0:20 it would fill the screen with options;
0:22 down at the bottom we have 5 or 6 tool windows
0:25 on the right we have database stuff, we have these configurations,
0:28 and that doesn't even touch on things like using Vagrant
0:31 to manage virtual machines, oh my goodness.
0:34 So, there's just so many things to learn in order to be effective with PyCharm
0:39 and IDEs in general, this is not specific to PyCharm,
0:42 these tools that do tons of stuff, they're really hard to remember
0:46 all the things that you can do with them
0:48 and if you don't use them to full advantage,
0:51 then they're not nearly as valuable to you as maybe just a simple editor,
0:55 so you have to really commit to learning all of these little features
1:00 at least let's say 80%. How do you do it?
1:02 How do you go through and you learn all of these things?
1:05 I'm going to give you a concrete set of techniques
1:08 that more or less I use for myself and you can use as well.
1:12 It comes down to— you need to discover what the features are
1:16 and well done, you're taking this course,
1:19 so you're going to discover a whole bunch of them.
1:21 Even outside of this course, you need to discover what the features are
1:25 and does that feature have a hotkey
1:28 and under what context can use it, things like this.
1:31 And then, more importantly, more challengingly,
1:34 you need to recall actually, "Oh yeah, there was this feature,
1:37 and it was awesome and here's the hotkey,"
1:40 like how do I remember to do that? You need to practice it.
1:43 I'm going to propose a couple of things you can do, take it or leave it,
1:46 but I think this will help you a lot.
1:48 So, three things— there is going to be a cheat sheet that you can use,
1:52 that has most of the common features as hotkeys,
1:57 so you can figure out what those features are,
2:00 how you want to use them and so on.
2:02 Throughout this course, to help you understand
2:05 the hotkeys I'm using while I'm using the tool
2:07 I am going to use something called presentation assistant
2:10 but presentation assistant is not just good for me, it's good for you,
2:13 you'll see as you interact with PyCharm, it will tell you what that command was
2:16 and what the hotkeys that would trigger it would be, which is really awesome,
2:21 so you'll be able to use that to learn it throughout this course
2:24 but it will always remind you as you interact with PyCharm,
2:27 "Oh yeah, there is actually a keystroke I could do
2:30 to do the thing, just click on it in the menu."
2:32 And finally, it comes down to sticky notes.
2:35 So discover really comes down to cheat sheet
2:38 and a little bit of presentation assistant,
2:40 I'd say presentation assistant more is in the recall, right
2:42 you know there's a thing, you click on it,
2:44 "Oh yeah, there's the command, there's a hotkey,"
2:46 and then sticky note, so here's what I propose you do:
2:49 I'll show you the cheap sheet in just a second,
2:52 you go to the cheat sheet or you write down things from this course
2:55 that you really want to try and you really want to make sure you learn
2:57 and you get a stack of sticky notes, and you write down one action,
3:01 one hotkey, one thing that you want to learn on a single sheet
3:07 and you write down as many as you want, 20, 50, 100 whatever it is.
3:10 And every week, you put one of those on your monitor,
3:14 in the corner of your monitor.
3:17 Today, I'm going to make sure I use this hot key,
3:19 I use this technique when I am say running unit tests,
3:23 or whatever it is that you're trying to practice.
3:25 Maybe put a couple and pick one off every day, I don't know.
3:28 But write them now and put them up
3:30 and make a concerted effort to practice and practice and practice.
3:35 If you just do it for a few days it will totally stick,
3:37 especially with things like presentation assistant to bring it back.
3:40 So let's go see this cheat sheet.
3:42 First of all, we have a github repository for the course,
3:44 here it is github.com/mikeckennedy/mastering-pycharm-course
3:49 and it will probably look different, because throughout this course
3:52 I'm going to put everything I write and all the things I dig up for you,
3:55 I'm going to put them in here, for you.
3:58 So there will be more stuff by the time I get through recording this course,
4:02 but right now, we go to the beginning you can see on the readme
4:05 there's a JetBrains PyCharm cheat sheet and they call it a reference card.
4:09 If we click this, you can see there is tons of stuff here
4:16 so notice that there's a Windows and Linux version
4:21 and there is a Mac version, pick your version,
4:24 but they're just basically the corresponding hotkeys for that OS.
4:28 There's a bunch of stuff to do with editing,
4:31 like show completion, show the auto complete window when it's not there
4:33 so control space, we'll use that a ton.
4:36 Command p, show the parameters,
4:39 I'm in a method and I forgot what the arguments are,
4:42 hit command p and it will tell you exactly what goes where
4:44 and what type they are and so on.
4:46 All of these are amazing features, we'll talk about them
4:49 but you've got to somehow remember these,
4:51 there are tons, I don't know how many are here
4:54 but there is probably at least 50 maybe 80 of them, I'm not sure
4:58 but there's a lot of things here.
5:00 So what I'm proposing is you write one of these down,
5:02 you pick these off and you basically put them on a sticky note
5:05 and put them up on your monitor
5:07 and you make a concerted effort to use that for a couple of days,
5:11 throw that sticky sheet away, get the next one and just keep going with it.
5:15 Eventually, they will all totally stick.
5:17 This is really good for the discovery on what you can do,
5:20 "Oh look, there's a hotkey to show the parameter info,
5:23 cool, maybe I'll start trying to play with that."
5:25 The other thing is— this presentation assistant,
5:29 so let's come back here to snake_bnb, it doesn't really matter
5:32 and we'll just go down here, let's go here.
5:35 Up here into the code window, there's a reformat code
5:38 and it does technically have the command here,
5:41 alright, but if I click reformat code, notice down here
5:44 reformat code here's the hotkey on Mac and here it is on Windows.
5:47 Also, you'll see me just hit the hotkey and it will show reformat code
5:52 or maybe I want to go to the definition of let's say a booking,
5:56 I could hit command b, how do I know—
5:59 well, in the beginning, I would use something right click and
6:03 let's see, there's go to over here go to declaration, I click this
6:08 and oh, right here, presentation assistant is showing me.
6:11 So this is the plugin you can get for PyCharm,
6:13 I'll show you real quick where you can get it,
6:16 we'll talk more about these at the end, but if you go over here to the settings,
6:19 you just type plugins and you click this browse repositories,
6:24 and you type presentation assistant, you'll find it right there,
6:29 you can install it, it's free, easy to use.
6:32 Basically it shows these pop-ups every time you do an action,
6:35 whether you do it from here, which would show what the menu option is
6:40 as well as what the hotkey is,
6:44 so no matter whether you use the menu, a hotkey, a toolbar button
6:47 it's always showing you what the name of that feature is
6:50 and basically how to discover it, and what the hotkey,
6:52 which is really important to be effective, what that is.
6:56 So, definitely install the presentation assistant,
6:58 I use it all the time, it's good for me,
7:01 but it's also good for any time I am doing a presentation course,
7:04 but I think it's actually good for learning.
7:07 So back here, use the cheat sheet to discover what is available,
7:10 use presentation assistant to help you recall
7:13 that those features are there and what the hotkeys are
7:15 and make some sticky notes for the things that really seem valuable to you
7:18 and put it up and make a concerted effort to practice
7:21 that thing that's on your monitor for that day or that week.