When we use an external USB flash drive, some ._.DS_Store and ._ files are often generated. The reason for this type of file is that you open it on the mac and display it in the finder. When you view the folder, these hidden files will be generated by default.
You can't see it when you use mac, but when you send the entire folder to a window user, win will see it.
When using VScode, it will be displayed in the file menu, which feels very cumbersome. It is not convenient to find files and look at the project structure.
So how do we want to hide this kind of ._ files?
Need to hide this ._ file in vscode
step
1. Open the settings in the lower left corner of vscode
2 Search hidden in settings
3. Find Files: Exclude
Configure glob patterns to exclude files and folders. For example, File Explorer decides which files and folders to show or hide based on this setting. See the "#search.exclude#" setting to define search-specific exclusions.
Click Add mode.
Add **/._*
and click OK, and the useless ._ files will be hidden