Make SSMS 22 Work For You: How to Customize Your Environment | Data Exposed
Microsoft Developer
0:10 Hi, I'm Anna Hoffman and welcome back to Data Exposed.
0:12 Today, I am joined by McKenna, the lead PM for SSMS.
0:16 McKenna, thanks so much for coming back on Data Exposed.
0:19 Yay!
0:19 Thanks for having me again, Anna.
0:21 I had a ton of fun when I was here last time,
0:23 so excited to talk about SSMS again.
0:26 We are excited to have you here and have a ton of fun again.
0:30 Um so, I know we were talking about like what we're going to cover today,
0:33 but I'd love to hear like what do you want to cover today and why?
0:37 Yeah, yeah.
0:38 So, I wanted to just highlight some settings
0:42 and workflow improvements that we have built into SSMS.
0:46 So, SSMS, of course, works out of the box,
0:49 but we have this huge amount of options and default settings
0:54 that you can adjust to really make it customized to you.
0:57 Um and you know, a lot of the default options that we've
1:00 chosen are with the masses in mind or with security top of mind.
1:06 So, again, like a lot of the things that we
1:08 have in there might not be perfect for you.
1:10 So, I just wanted to highlight some both visual and workflow
1:15 settings that you can change to remove some friction, hopefully.
1:18 Amazing.
1:19 Awesome.
1:19 I think then we should just go straight into it and take a look.
1:23 Sounds good.
1:24 Okay.
1:25 So, I have SSMS 22 open and almost everything that I talk
1:29 about today lives in one place and that place is tools, options.
1:35 Um and I want to start off by just calling out
1:39 that we are in the process of moving to this new settings experience.
1:43 So, if you are a long-time SSMS user,
1:47 you might remember this kind of being a dialogue, a pop-up floating dialogue.
1:52 Now, we have this nice embedded tab view.
1:55 Um we'll see later on, we're still
1:57 in the process of moving some of these settings over,
2:00 but right off the bat, uh, you know, I can see this whole list of settings.
2:05 Um, something that I really love about this and I will
2:08 use a lot during this demo is this new search bar.
2:14 It's a great It's a pretty comprehensive search.
2:17 We also have these nice filters.
2:19 If I want to see just the settings that I've changed,
2:22 I can go and look for my modified settings.
2:25 So, I think that's also pretty cool.
2:27 Um, and kind of helps me navigate around here faster.
2:33 Nice.
2:33 What does that sync button do?
2:36 Uh, the sync button, really good question.
2:39 So, again, this is all stuff that's sort of in progress.
2:42 And And this is a benefit that we get uh
2:45 that SSMS gets by being a Visual Studio based solution.
2:49 So, this experience will have better um sinking of your settings,
2:56 whether across your project or across you, if you are signed in to SSMS.
3:02 Some of that is still in the works.
3:04 We haven't fully hooked it up yet, but the idea is, you know,
3:08 right now I have it applying to my current user,
3:11 which is my installation and who I'm signed in as.
3:14 And when I change those, I'll hit sync.
3:17 It'll apply to my SSMS environment and then also, if I had SSMS,
3:22 if I was signed in on another um,
3:25 instance, then my settings would show up there.
3:27 But, not quite working like that today.
3:29 We're still working out some of the kinks,
3:31 but yeah, very nice very nice feature.
3:34 Okay, that's great.
3:35 I love it and I love to see a road map sneak peek.
3:38 So, what what else what else can we do?
3:41 Yeah.
3:41 Well, I just wanted to jump right into some
3:44 of the look and feel things that you can adjust.
3:47 So, first up is theme.
3:50 Um, I has had a long history and one
3:52 of the top requests that we had heard for a long, long time was dark theme.
3:56 Um, so if I go over to uh actually, I'm just going to search for theme.
4:03 Um, and right away it's just going
4:05 to pull up my my different color theme options.
4:07 So, by default, SSMS loads at this nice
4:11 new kind of calming blue theme called cool breeze.
4:15 Um, but as we know, lots of people love to see SSMS in dark mode.
4:21 Um, I personally like some of our new themes like bubblegum, for example.
4:26 It's very fun and whimsical.
4:29 Um, but I think when I'm presenting or I need to be professional,
4:34 um I'll stick with cool breeze.
4:35 I typically think that the lighter colors show better on a big
4:39 screen or even on uh you know, a YouTube video.
4:42 Mhm.
4:43 Um, so typically when I'm presenting, I will stick to cool breeze.
4:47 Um, but in my day-to-day work, I I am personally a bubblegum fan.
4:51 Love it.
4:52 Um, here you can also play around with if you want your editor,
4:56 for example, to be dark theme.
4:59 Uh I can I can have my environment light and my editor dark or vice versa.
5:04 You can really You can really again make this work however you want it to.
5:09 Um, but I usually I like everything cohesive,
5:12 so I stick to just matching the theme.
5:16 Um, next up, I wanted to just highlight uh fonts
5:21 and playing around with font size and and some customizations there.
5:26 Um, so this is one of our first examples
5:28 of a setting that we have not yet converted over.
5:31 So, this will go ahead and pop up the sort of old experience that dialog box.
5:37 Um, so if I am presenting, like I am right now,
5:42 I'm actually using presenter mode, uh which I I can toggle over and view.
5:47 Um but again, by default, uh our environment size is usually set at nine,
5:53 which is pretty tiny uh even even when you're
5:56 not presenting and sharing your screen like you know,
5:59 depending on how big your monitor is or how small your monitor is,
6:02 nine isn't very large.
6:04 So, I typically will bump mine up to 12 or 13.
6:07 Mine was already set at 13 because I had presenter mode on.
6:11 But I think that's nice to call out just because again,
6:14 there's a lot going on in this application.
6:16 You know, some people have huge monitors,
6:19 some people are just working on a laptop.
6:20 Uh your screen real estate becomes super important.
6:23 So, environment um adjusting your font size, that's a big one.
6:30 Uh my other one of my favorite settings that's in here um is
6:34 actually for our grid results and it's
6:38 specifically talking about the null value cell.
6:41 Um so, by default, it will show up this kind of buttery yellow.
6:45 So, this is when I'm I'm running my results and I there's there's a null value.
6:51 Um it'll kind of it'll highlight it in this kind of buttery yellow,
6:55 but if you really wanted it to pop, and say you really you really want to make
6:58 sure you catch those, um you can actually
7:01 change it to this lime green and your null
7:05 values will very immediately pop out at you.
7:08 Definitely pop in you.
7:09 Definitely pop in.
7:10 It's great for uh I mean, anybody,
7:13 but especially beginners if you're really wanting to make
7:16 sure that you find sort of you know,
7:18 data inconsistencies, uh something that you'd notice immediately.
7:22 That's that's one way to do it for sure.
7:26 Awesome.
7:28 Um now that we're in the editor,
7:30 I wanted to call out my scrolling experience here might
7:33 look a little bit different than what you're used to.
7:36 So, I have something called map mode turned on and it's
7:39 giving me this little bird's-eye view of my script.
7:42 I've got a decently long script here.
7:45 Um and something cool about this is there's an additional
7:48 setting where you can actually turn on this little preview.
7:51 So, as I'm hovering over my map, my mini map,
7:55 um I can see exactly where in my script I want to jump to.
7:59 So, let's say I just want to go
8:01 to this sort of main query that I've put together here.
8:04 Um if you're not a big fan of the map mode,
8:07 uh you can go and um I just search for map mode because again,
8:13 I'm very reliant on the on the option searching here.
8:17 Um but I can change that back to bar mode
8:19 and it will go and just be my typical scroll bar experience.
8:23 But, I personally think that map mode is fun
8:27 um and I like the preview tilt up as well.
8:29 I like the preview cuz then you don't have
8:30 to scroll a bunch to find what you're looking for.
8:34 Or maybe you're just checking something and you don't actually want to.
8:37 Yeah, that's awesome.
8:38 I didn't know that.
8:38 Yeah, absolutely.
8:40 Okay.
8:41 So, those are just some of my favorite uh visual,
8:45 you know, look and feel changes.
8:47 But, now I wanted to talk a little bit about some workflow changes.
8:50 So, thinking about how SSMS behaves, not just how it looks.
8:55 These are things that might remove little bits of friction
8:57 in my day-to-day work that ends up saving me a ton of time.
9:01 Um so, one piece of feedback that pops up a lot in in the community.
9:07 Um and this is because we have recently
9:09 added some exciting functionality to our results grid.
9:12 We can now save our results as JSON,
9:16 as Excel files, um but while that is exciting,
9:21 uh there's a little bit of a uh I mean,
9:25 we can call it hidden because we just have so many settings here.
9:28 But, there's a little bit of a hidden setting in here um that controls
9:31 whether or not headings are your column
9:34 headers are included when you're saving your results.
9:38 So, I'll go through I'll I'll find the proper path here.
9:42 Um so, if I am in this tools options dialogue,
9:46 I want to go down to my query results, SQL Server, and results to grid.
9:52 And what we are looking for is this checkbox here,
9:55 include column headers when saving or dragging from the results grid.
9:59 This is turned off by default,
10:01 um which is another change that we made a few releases ago.
10:05 Uh we had some confusion between copying
10:08 and pasting results from your uh results grid, dragging results, saving results.
10:13 So, um we opted for the setting in here
10:18 to apply to saving and dragging your results.
10:23 Um so, check that on if you want to include your column headers.
10:27 But if I wanted to just copy my data, uh you can right-click and copy.
10:34 This will just copy the values.
10:36 And if I want the headers included, uh I will click copy with headers.
10:39 And then we also have the keyboard shortcuts there highlighted as well.
10:44 Um but that's something that I've seen come in especially with all
10:46 of the excitement around especially saving your results as an Excel file.
10:50 People have been waiting for that one for years.
10:53 Um so, if you want the headers,
10:54 you just have to make sure that you go and turn that setting on.
10:57 Okay, one question for you, McKenna.
10:59 Mhm.
10:59 Right, what is dragging?
11:01 I've never heard of that.
11:02 Yeah, yeah.
11:03 So, dragging, uh let me open I don't have a notepad open up,
11:08 but basically you can Oh, maybe I can open.
11:11 I'll try it in a new query tab.
11:13 Um and I'll also show off the ability to have side-by-side query windows.
11:19 Um so, if I highlight these and I I'm single-clicking,
11:25 it doesn't like it it's not going to let me try to drop them in there.
11:27 But if I drag them over to here, um I did not know that.
11:32 Yeah, so if I had notepad open, I could drop it there or if I had Excel open.
11:37 And because I had that um include
11:39 column headers option turned on, those came over.
11:43 Nice.
11:44 had it turned off, it would have just been it
11:45 would have just been those values that I had highlighted.
11:47 Yeah, yeah.
11:48 So that's draggy.
11:49 The more you know.
11:50 Every day, yeah.
11:51 Awesome.
11:51 Amazing.
11:52 Any final tips and tricks?
11:55 I've learned so much.
11:56 Yeah, um I gosh, I think another one that um is really exciting that I
12:03 find really exciting is uh a few releases ago we added group by schema.
12:09 So you can of course control that with this toggle on your object
12:12 explorer um and it will go and have all of my schema groupings there.
12:17 If you wanted to have that turned on by default,
12:21 you can search for group by schema.
12:23 Um and we actually have a setting to control the default behavior there.
12:27 So right now I have it turned off,
12:29 but if I wanted that to always be uh enabled when I start SSMS,
12:34 you can go ahead and check that on.
12:36 And your schemas will be there and nicely grouped for you.
12:39 So there's a ton of options in here.
12:41 I didn't cover even a fraction of them.
12:44 Um but we're really excited about it.
12:46 We're excited about our new options experience.
12:49 Uh as always, if people have feedback,
12:51 you can leave a feedback ticket at aka.ms/ssms-feedback.
12:57 Um we're always excited to hear from the community.
12:59 And I hope that some of these tips were helpful
13:01 for people and that you can really make SSMS work for you.
13:05 Awesome.
13:05 I love it.
13:06 Makena, thanks so much for coming on the show.
13:08 I learned a lot.
13:09 Uh I'm sure our viewers picked up on things here and there.
13:12 Uh hopefully some that will make SSMS work for them.
13:15 I love it.
13:16 Um if you're watching this episode, go ahead give it a like,
13:18 give us a comment, let us know your favorite tip that you use for your settings.
13:23 Uh we'll put some links in the description for you to leave us
13:26 some feedback and we hope to see you next time on Data Exposed.