VS Code: Quickly Move Focus between Code File and Terminal

June 11, 2022 A Goodman

In VS Code (Visual Studio Code), you can quickly and conveniently jump between the code editor and the integrated terminal by using the following shortcuts: Mac: To focus the terminal: Ctrl + ` (the key near…

VS Code: Shortcuts for Jumping to the last Edit Location

June 11, 2022 A Goodman

In VS Code (Visual Studio Code), you can quickly and conveniently move your mouse cursor to the last edit location by using the following shortcuts: Mac: Jump back: Ctrl + – (the minus key on your…

VS Code: How to Collapse/Expand Blocks of Code

June 11, 2022 A Goodman

If you’re using VS Code (Visual Studio Code) and your document is very long and has a lot of code blocks, you may want to fold some of them to make your viewport neater. A folded…

How to Format Code in VS Code (Visual Studio Code)

June 11, 2022 A Goodman

Formatting code will increase readability and help you and your team members work more efficiently. This succinct and straight-to-the-point article shows you a couple of different ways to do so in VS Code (Visual Studio Code)….

VS Code: Hide/Show the Debug button in package.json

June 10, 2022 A Goodman

In the vast majority of modern Javascript/TypeScript projects (React, NodeJS, Vue, etc), there is a file called package.json. In this file, there is a scripts section. If you’re using VS Code (Visual Studio Code), you will…

VS Code & Javascript/TypeScript: Place Curly Braces on New Line

June 10, 2022 A Goodman

By default, VS Code (Visual Studio Code) formats your Javascript and TypeScript code in such a way that the curly braces will be on the same line as the keywords class, function, interface, type, etc. What…

VS Code: How to Open File in New Tab (Keep the Current File)

May 24, 2022 A Goodman

In VS Code (Visual Studio Code), if you’re viewing a file in a tab and making no changes to it then this file will be closed if you open another file through the left sidebar. The…

2 ways to check your VS Code version

January 27, 2022 A Goodman

This short article shows you 2 different ways to see your VS Code (Visual Studio Code) version. The first approach is to use your mouse via the VS Code graphics user interface (GUI) and the second…

VS Code: How to Pin/Unpin a File (2 Approaches)

January 11, 2022 A Goodman

This article shows you a couple of different ways to pin and unpin a file (tab) in VS Code (Visual Studio Code). The first approach is to use your mouse and the second one is to…

VS Code: How to Render Whitespace Characters

December 8, 2021 A Goodman

This article walks you through a couple of different ways to display whitespace characters (space characters) in VS Code (Visual Studio Code). Using Your Mouse 1. Go to the Settings page of VS Code: Mac: Code…

How to Change File Encoding in VS Code

December 1, 2021 A Goodman

This article shows you two ways to change file encoding (UTF-8, UTF-8 with BOM, UTF-16 LE, ISO, DOS, Arabic, Japanese, etc) in VS Code (Visual Studio Code). The first approach works for a single file and…

VS Code: Opening Multiple Windows/Projects Simultaneously

December 1, 2021 A Goodman

This short and straight-to-the-point article shows you a couple of different ways to simultaneously open multiple windows of VS Code (Visual Studio Code). When you work with multiple code bases at the same time, viewing each…

1 2 3