Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 11, 2022 08:06 pm GMT

C file nesting in VSCODE

Partial classesInterface/Implementation
Image descriptionImage description

I know, I know it's been a while since I wrote. This one is worth reading!

  1. Press CMD+, (or CTRL+, for the poor ) to open VSCODE settings window.

  2. Type nesting in the search bar at the top, then find Explorer > File Nesting: Patterns tab as shown in the picture.

Image description

  1. Add those two items at the end that is highlighted in the picture.

Image description

Now 2 things happen:
1) you partial classes nest under main class.
2) you implementations nest under interfaces if they are in the same folder.

Partial classes

Interfaces

Ilmhub


Original Link: https://dev.to/wahidd/c-file-nesting-in-vscode-1em4

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