Exclude files that you don't want to show in directory window in VS CODE (The tip for I don't want to see ._* files in vs code)

You can set exclude file pattern in exclude tab in settings.

go to preferences -> settings

find exclude menu and add pattern that you don't want to see.
press 'ok' button and it will work immediately.

Thank you.