An Interest In:
Web News this Week
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
August 11, 2022 08:06 pm GMT
Original Link: https://dev.to/wahidd/c-file-nesting-in-vscode-1em4
C file nesting in VSCODE
Partial classes | Interface/Implementation |
---|---|
I know, I know it's been a while since I wrote. This one is worth reading!
Press
CMD+,
(orCTRL+,
for the poor ) to open VSCODE settings window.Type nesting in the search bar at the top, then find
Explorer > File Nesting: Patterns
tab as shown in the picture.
- Add those two items at the end that is highlighted in the picture.
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
Original Link: https://dev.to/wahidd/c-file-nesting-in-vscode-1em4
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To