Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 14, 2022 03:44 am GMT

June 13th, 2022: VS Code Tip of the Week

This week's tip of the week is coming from my old coworker @citizen428. On one my streams on livecoding.ca, I show you how you can add a gitignore file to a project via npx gitignore.

Little did I know this is baked into VS Code!

Press CTRL + Shift + P (CMD + Shift + P on macOS) to open the command palette.

Type in Add gitignore in the command palette.

Add gitignore typed into VS Code's command palette

You'll be presented with a language to generate the gitignore file for.

The Add gitignore command in VS Code's command palette prompting the user to select a language to generate the gitignore for

And there you go! You have a fresh gitgnore file in your repository now!

gitignore file for node.js generated from the Add gitignore command in VS Code

Happy VS Coding!


Original Link: https://dev.to/vscodetips/june-13th-2022-vs-code-tip-of-the-week-3eb0

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To