Issue #71  (Cycle Through Rename File Functionality)08/30/23

Advertisement
Learn AI in 5 Minutes a Day
We'll teach you how to save time and earn more with AI. Join 70,000+ free daily readers for trending tools, productivity-boosting prompts, the latest news, and more.

As you probably know, on Windows machines, the F2 key is the universal 'rename file' shortcut, similar to right-clicking and choosing "rename". In VS Code, this feature is slightly more advanced, making F2 a little more useful.

In your folder explorer view, if you hit F2 on any file, you'll see something like this:
 
Renaming a file with F2 in VS Code

Here the file name without the extension is automatically selected and ready to be edited. This is usually what you want.

But if you intended on renaming the full file, including the file extension, you can quickly select the whole thing by simply pressing F2 again:
 
Renaming a file plus extension with F2 in VS Code

And if by some chance you want to rename only the file extension, you can hit F2 a third time to select just that:
 
Renaming a file extension with F2 in VS Code

This neat little feature allows you to cycle through the different ways to rename a file without having to awkwardly use your keyboard or mouse to make the necessary selections.

Now on to this week's hand-picked links!
 

VS Code Tools

Cloak — VS Code extension that hides/shows your secrets in environment files, to avoid accidentally revealing them in screen shares, screen recordings, presentations, etc.

.NET MAUI — VS Code extension that extends C# Dev Kit with tools for building .NET multi-platform app UI (i.e. "MAUI") apps.

Learn AI in 5 Minutes a Day — We'll teach you how to save time and earn more with AI. Join 70,000+ free daily readers for trending tools, productivity-boosting prompts, the latest news, and more.  Sponsor 

Giflens — Extension that supercharges the GIF capabilities built into VS Code. It helps you to visualize GIFs at a glance, seamlessly navigate and explore Gif repositories, gain valuable insights via powerful GIFs, and more.


VS Code Theme of the Week

joey — A minimal theme that, as the marketplace page says, "helps you code with joy and focus." This theme has some nice colors for the syntax highlighting, very easy on the eyes.

joey Theme for VS Code

No alternate themes included as part of the install. I like the subtle look to the overall UI. The listing also says it's "optimized for focus" and specifically features support for Python syntax.
 

VS Code Articles

Why Does Prettier Not Format Code in VS Code? — A Stack Overflow thread that was originally posted almost 5 years ago. If you ever have a similar problem, the basic answer here is to ensure you have a default formatter set in VS Code's settings.

Create Your Own Custom VS Code Theme Extension — Uses Yeoman and requires Node.js and Git installed, going through the steps to create your own extension for a VS Code theme.

Bytes: Your Favourite JavaScript Newsletter — I subscribe to a lot of newsletters, but this is definitely one I look forward to. Entertaining with lots of cool and useful JavaScript coding tidbits, news, and tools.   Sponsor 

How To Compare 2 Files in VS Code — A fairly extensive look at VS Code's compare features, including comparing two files or two Git commits.

Best of the Rest

flow-view — A visual editor for dataflow programming that's also open source so you can install it in your own app.

▶ I Love Neovim But I Won't Use It — Video from a popular Twitch streamer called ThePrimeagen, who is a Vim user but here he covers why he doesn't like Neovim.

GitHub Copilot X: The AI-powered Developer Experience — Some details from the GitHub blog on GitHub Copilot X, originally posted back in March.


Suggestions?

If you have any link suggestions, including a tool, article, or other resources related to VS Code or another IDE, send it via DM on X: @LouisLazaris or just hit reply on this email.

That's it for this issue.

Happy VS Coding!
Louis
VSCode.Email
@LouisLazaris
Copyright © VSCode.Email. All rights reserved.

Not affiliated with Microsoft, Visual Studio Code, or any of its trademarks.