1 00:00:00,410 --> 00:00:03,911 I could probably make an entire course on all the different 2 00:00:03,911 --> 00:00:05,782 terminal settings and features. 3 00:00:05,782 --> 00:00:08,517 It's not practical to try to cover them all here, 4 00:00:08,517 --> 00:00:12,346 but I hope I can give you a sense of what's possible and show you 5 00:00:12,346 --> 00:00:16,56 how to find and experiment with settings you might find useful. 6 00:00:16,56 --> 00:00:19,708 I've already got a terminal open here at the bottom of my window. 7 00:00:19,708 --> 00:00:24,36 I'll click on the dropdown arrow in the upper right corner of the 8 00:00:24,36 --> 00:00:26,200 panel to open the terminal menu. 9 00:00:26,200 --> 00:00:31,102 From here, I'll select "Configure Terminal Settings." 10 00:00:31,102 --> 00:00:35,152 That opens up the visual settings editor we explored earlier 11 00:00:35,152 --> 00:00:36,113 in the course. 12 00:00:36,113 --> 00:00:41,111 Notice that the search box at the top is pre-populated with the text 13 00:00:41,111 --> 00:00:43,50 @feature:terminal. 14 00:00:43,50 --> 00:00:46,345 That's the syntax to filter settings by a particular 15 00:00:46,345 --> 00:00:47,637 application feature, 16 00:00:47,637 --> 00:00:49,580 the terminal in this case. 17 00:00:49,580 --> 00:00:54,631 Also notice in the hierarchical view on the left that there are 98 18 00:00:54,631 --> 00:00:58,671 terminal-related settings in this version of VS Code. 19 00:00:58,671 --> 00:01:01,990 If you're the kind of developer that really likes to tweak your 20 00:01:01,990 --> 00:01:04,881 environment and get everything exactly how you want it, 21 00:01:04,881 --> 00:01:08,347 then I'll encourage you to browse the whole list when you have 22 00:01:08,347 --> 00:01:09,767 time. For the rest of you, 23 00:01:09,767 --> 00:01:13,933 you can further filter these results by adding additional 24 00:01:13,933 --> 00:01:16,90 search text in the box above. 25 00:01:16,90 --> 00:01:21,813 For instance, I'll add a space in the word "linux" to the end 26 00:01:21,813 --> 00:01:23,984 of the current search. 27 00:01:23,984 --> 00:01:28,140 I'm now seeing just the eight terminal settings that are 28 00:01:28,140 --> 00:01:30,860 specific to running VS Code on Linux. 29 00:01:30,860 --> 00:01:34,933 If you're on a Mac, you can change that to osx. 30 00:01:34,933 --> 00:01:39,619 That filtered the list of five settings. 31 00:01:39,619 --> 00:01:43,371 As you might expect, you can see Window specific 32 00:01:43,371 --> 00:01:46,85 settings by searching for Windows. 33 00:01:46,85 --> 00:01:53,402 Instead of Windows, I'll search for cursor. 34 00:01:53,402 --> 00:01:56,972 Now, you can see some of the settings that affect the 35 00:01:56,972 --> 00:01:58,92 terminal cursor. 36 00:01:58,92 --> 00:02:03,726 I'll change the cursor style from block to underline. 37 00:02:03,726 --> 00:02:10,304 Another popular thing to tweak in the terminal is the font. 38 00:02:10,304 --> 00:02:17,868 I'll change the font size from 14 to 16. 39 00:02:17,868 --> 00:02:22,442 As we saw earlier in the course, some settings you're required to 40 00:02:22,442 --> 00:02:25,373 change directly in the settings.json file. 41 00:02:25,373 --> 00:02:29,930 I'll click the icon in the upper right corner that switches me 42 00:02:29,930 --> 00:02:32,22 to the settings.json editor. 43 00:02:32,22 --> 00:02:36,352 You can see the last two settings in the file are the changes I just 44 00:02:36,352 --> 00:02:39,390 made to the terminal cursor style and font size. 45 00:02:39,390 --> 00:02:44,317 The filter on the UI editor showed 98 terminal related settings, 46 00:02:44,317 --> 00:02:46,207 but there are actually more than that. 47 00:02:46,207 --> 00:02:50,300 That was just those under the top level terminal settings key 48 00:02:50,300 --> 00:02:51,664 like those two here. 49 00:02:51,664 --> 00:02:55,640 If you want to customize colors within your chosen color theme, 50 00:02:55,640 --> 00:03:03,55 you have to add the workbench.colorCustomization setting 51 00:03:03,55 --> 00:03:04,776 to this file. 52 00:03:04,776 --> 00:03:11,610 Its value is a JSON object with additional terminal options. 53 00:03:11,610 --> 00:03:16,976 I'll first add terminal.background. 54 00:03:16,976 --> 00:03:22,860 When I pressed the tab key, VS Code defaulted the value to red. 55 00:03:22,860 --> 00:03:25,356 If you know the code for the color you want, 56 00:03:25,356 --> 00:03:26,905 you can just type it here. 57 00:03:26,905 --> 00:03:30,896 However, you can also click on the color sample and choose your 58 00:03:30,896 --> 00:03:32,184 color from a picker. 59 00:03:32,184 --> 00:03:37,18 I'll click it and choose black. 60 00:03:37,18 --> 00:03:41,714 I'll add one more setting to this object to change the 61 00:03:41,714 --> 00:03:43,220 foreground color. 62 00:03:43,220 --> 00:03:50,427 The property for it is terminal.foreground. 63 00:03:50,427 --> 00:03:54,279 I'll again use the color picker and this time 64 00:03:54,279 --> 00:04:00,150 choose a shade of green. 65 00:04:00,150 --> 00:04:04,918 Now that I've made several small changes to the appearance 66 00:04:04,918 --> 00:04:08,181 of my terminals, I'll open a new one and 67 00:04:08,181 --> 00:04:09,687 see how they look. 68 00:04:09,687 --> 00:04:12,600 It looks good, at least to me. 69 00:04:12,600 --> 00:04:15,453 I like the colors, the larger font, and the 70 00:04:15,453 --> 00:04:16,914 new underline cursor. 71 00:04:16,914 --> 00:04:20,646 Take some time to experiment and find the terminal settings 72 00:04:20,646 --> 00:04:21,225 you like. 73 00:04:21,225 --> 00:04:25,46 However, this isn't quite the end of the ways you can customize 74 00:04:25,46 --> 00:04:25,970 your terminals. 75 00:04:25,970 --> 00:04:29,617 Up next, I'll show you how to create terminal profiles for the 76 00:04:29,617 --> 00:04:32,00 different types of terminals you use.